• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 800
  • Last Modified:

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

0
Chuckbuchan
Asked:
Chuckbuchan
  • 3
  • 2
1 Solution
 
rafael_accCommented:
"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

0
 
ChuckbuchanAuthor Commented:
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
0
 
rafael_accCommented:
I understood that ... but if you are refering to the tiwsmgr.exe file then, it is not a "text file" but a "binary file" or "executable file"



Cheers.
0
 
ChuckbuchanAuthor Commented:
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.
0
 
ChuckbuchanAuthor Commented:
please delete this question, since the answers above haven't solved the issue.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now