Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

install on client

Status
Not open for further replies.

sirron

Programmer
Mar 11, 2004
139
US
Is there a way to intsall software on a client that resides on the server.

Do I use the (wshell.run) if so there a sample to use?

Will there be any permissions issues?
 
Hello sirron,

For managed software deployment, you would most likely get good advice from winxp or win2000 desktop or server forums. There are people very good at this. Try on of those.

regards - tsuji
 
Try an alteration of the login script.

Here's an except from ours which was made from loads of sample scripts in this forum.


'Code**************
Set WSHShell = CreateObject("WScript.Shell")
Set WSHNetwork = CreateObject("WScript.Network")
Set WSHDomain = GetObject("WinNT://[DOMAIN]")
DomainString = "YourDomainName"
UserString = WSHNetwork.UserName

Dim LogonApp
Set LogonApp=CreateObject("WScript.Shell")

Set UserObj = GetObject("WinNT://" & DomainString & "/" & UserString)



For Each GroupObj In UserObj.Groups

Select Case GroupObj.Name

Case "ADGroupName"

LogonApp.Run "\\servername\sharename\application.bat"

End Select
Next

'end code******************

You would normally need to be a domain admin to install software, and this is the case for us, so I am now looking how to invoke the runas command with the usernames and passwords in another encrypted file.

See

Chris Styles

NT4/2000 MCSE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top