malabelle
asked on
Psexec execute a vbs remotely without username or password
Hi,
I need to be able to run a script with PsExec without specifiyng username or password
here it is.
the process is to extend a virtual drive ona remote server.
First I run the batch file:
doexpand.cmd server e:\
But when I use the psexec, it says:
I check the share and it works and the permissions are good.
any ideas?
I need to be able to run a script with PsExec without specifiyng username or password
here it is.
the process is to extend a virtual drive ona remote server.
First I run the batch file:
doexpand.cmd server e:\
@echo offthe extendvb runs fine locally.
---
set SERVER=%1
set PARTITION=%2
C:\bootini\PsTools\PsExec.exe \\%SERVER% cscript "\\10.66.66.49\bootini\ext end\"exten dvb.vbs %PARTITION%""
---
But when I use the psexec, it says:
C:\Users\malabelle\Desktop\tests\ext end>doexpa nd.cmd SEQDEV3 e:\
PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
CScript Error: Loading script "\\10.66.66.49\bootini\extend\extend vb.vbs" failed
(Access is denied. ).
cscript exited on SEQDEV3 with error code 1.
I check the share and it works and the permissions are good.
any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.