installing apps remotly via dos

Associate
Joined
8 Mar 2007
Posts
2,176
Location
between here and there
Hi all,

I've got several machines on my work network that need to have a update .exe run on them once a week.

As the users have limited accounts, I have to walk round to all 10 of them and log them off and log on as administrator to install this update. (a bit of a ball ache!!)

Now, I've written a little batch file and with the help of pstools, it copies the update .exe over and then runs it.

This seems to work on all but 2 machines.

I've found that on these two machines, the file gets copied over ok, and starts via psexec ok, but then seems to hang.

If I list the running processes on these machines with pslist, it shows that the process has started but hung after .15 of a second of the cpu's time

I'm using the domain admin user account so permissions shouldn't be an issue.

Any ideas????
 
You could use the "at" command, and schedule a task to run the .exe file on the remote PC. However the remote PC would need file & print sharing enabled.
 
Cheers for the reply,

That would certainly help with the scheduling of running these updates. However I start them I still have this issue of them hanging just after they start.

I think it has to be permissions....

I'm mapping a drive to the network location of the updates.

I'm mapping a drive to the PC I want to run the updates on (with domain admin account)

I'm starting the update .exe with psexec and with the domain user...

Is there anything I've missed??

Like a sharing/executable permission or something,


cheers for the help in advance. :d
 
Can you log into these machines directly and test it. That way you would find out if it's permissions or not.

Check that these machines have the relevant accounts as admins (domain admins group is generated when they are added to the domain but can be removed).



M.
 
Back
Top Bottom