Using Script in GPO

Posted on 2005-03-27
Medium Priority
Last Modified: 2008-01-16
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


Question by:Chuckbuchan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 11

Expert Comment

ID: 13643240
"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?



Author Comment

ID: 13644279
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.

LVL 11

Accepted Solution

rafael_acc earned 1500 total points
ID: 13644772
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"


Author Comment

ID: 13652693
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.

Author Comment

ID: 14297230
please delete this question, since the answers above haven't solved the issue.

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question