Thanks. Tried. Doesn't work either. The output:
C:\SysinternalsSuite>psexe
PsExec v1.85 - Execute processes remotely
Copyright (C) 2001-2007 Mark Russinovich
Sysinternals - www.sysinternals.com
Microsoft (R) Windows Scripting Host Version 5.0 for Windows
Copyright (C) Microsoft Corporation 1996-1997. All rights reserved.
CScript Error: Loading script "\\erminml\instalacija\DHC
cscript exited on remote_computer with error code 3.
C:\SysinternalsSuite>psexe
PsExec v1.85 - Execute processes remotely
Copyright (C) 2001-2007 Mark Russinovich
Sysinternals - www.sysinternals.com
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
cscript.exe exited on remote_computer with error code 0.
I also noticed that Scripting Host Version is different with these two commands. First one is the version on the remote computer, and the second is version on my local computer.
Any suggestions? Anyone?
This would help me a lot cause I have about 500 NT workstations to change from static IP to dynamic IP (DHCP).
Main Topics
Browse All Topics





by: RobSampsonPosted on 2007-08-29 at 14:52:54ID: 19795797
Hi, please try downloading the latest version of PSExec and use that. I know that some earlier versions did not support UNC paths as a parameter. Then, with the newer version, add a -accepteula switch.
p\DHCP.vbs
psexec -accepteula -e -c \\remote_computer cscript DHCP.vbs
or, you can try
psexec -accepteula \\remote_computer cscript \\original_computer\c$\tem
Regards,
Rob.