Link to home
Start Free TrialLog in
Avatar of Chuckbuchan
Chuckbuchan

asked on

Using Script in GPO

I have the following script that is supposed to install Track-it Workstation Manager in the client machines(WXP)


Set objShell = CreateObject("WScript.Shell")
objshell.run "\\computer1\trackit65\Installers\WorkstationManager\TIWSMGR.exe"
wscript.echo "Hello"

when I run the script ,by itself, it installs the workstation manager on the local machine and puts the icon on the tray. But when I try to run it through gpo it doesn't install it.

here is what I did :
I created a gpo at domain level,then edited it, then went to User Configuration/windows settings/Scripts(logon/logoff) double clicked logon then add then Browse to C:\Winnt\Sysvol\sysvol\domainname\Scripts    then select the script file(trackit.vbs) then clicked open it copied the path to the script name field, I changed that to %logonserver%\netlogon\trackit.vbs then clicked OK then clicked apply/ok.
When I logon from WXP machine the scripts run, but it only shows the message "Hello" , I searched for the tiwsmgr file, I found only the text file.
Any idea?


PS : If you are using Track-it help desk software and you know how audit all the machines in the network and populate the inventory, please help

thanks

Avatar of rafael_acc
rafael_acc
Flag of United States of America image

"When I logon from WXP machine the scripts run, but it only shows the message "Hello" , I searched for the tiwsmgr file, I found only the text file."

What do you mean by "text file"? Which text file are you talking about?


Cheers

Avatar of Chuckbuchan
Chuckbuchan

ASKER

Track-it workstation manager has an executable file tiwsmgr.exe that is located on the track-it server and needs to be run on the other machines through gpo so that it installs the track-it workstation manager, and when this latter is installed on every workstation then we can use track-it server to audit all the workstations.

do you use track-it in your network, if so that might be easy to understand my question.

thanks
ASKER CERTIFIED SOLUTION
Avatar of rafael_acc
rafael_acc
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I opened it with notepad though, If I haven't deleted it I would have posted what is inside of it. In the script I refered to the exe file:
Set objShell = CreateObject("WScript.Shell")
objshell.run "\\computer1\trackit65\Installers\WorkstationManager\TIWSMGR.exe"
wscript.echo "Hello"
As you know, if you use track-it, this file when you run it , it installs the Track-it workstation manager in the target machine.
please delete this question, since the answers above haven't solved the issue.