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.Shel l")
objshell.run "\\computer1\trackit65\Ins tallers\Wo rkstationM anager\TIW SMGR.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/log off) double clicked logon then add then Browse to C:\Winnt\Sysvol\sysvol\dom ainname\Sc ripts 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\tra ckit.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
Set objShell = CreateObject("WScript.Shel
objshell.run "\\computer1\trackit65\Ins
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/log
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
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
do you use track-it in your network, if so that might be easy to understand my question.
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.Shel l")
objshell.run "\\computer1\trackit65\Ins tallers\Wo rkstationM anager\TIW SMGR.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.
Set objShell = CreateObject("WScript.Shel
objshell.run "\\computer1\trackit65\Ins
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.
ASKER
please delete this question, since the answers above haven't solved the issue.
What do you mean by "text file"? Which text file are you talking about?
Cheers