Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

Right this has driven me mad this morning - I'm trying to run a vbs file on a remote computer using psexec, done it before but will it work this time?

 

vbs file in is documents and settings administrator.domain folder

 

so I used

psexec \\suite01 -c filename.vbs

 

I've tried the full path to the file, but keep getting the same error - cannot find the file specified. I've put the vbs file in the system folder, copied it accross manually to the remote computer - still not working.

Posted

I think that you have to specify an executable with PSEXEC so you should probably be using

psexec \\suite01 -c {full path}\cscript.exe filename.vbs

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...