Discussions specific to the VMware vSphere hypervisor
Post Reply
tsightler
VP, Product Management
Posts: 5664
Liked: 2465 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: VMware Tools quiescence pre & post script user

Post by tsightler »

You should be able to use "runas" command which will let you run another process as a different user. Should be included by default in Windows 2008 and newer. Usage is pretty simple:

Code: Select all

runas /profile /env /user:mydomain\auser "notepad.exe"
This will execute notepad as the user "auser" from the domain "mydomain". You can also run as machine local accounts.

kefoster
Novice
Posts: 8
Liked: 2 times
Joined: Jun 21, 2012 7:34 pm
Full Name: Kevin Foster
Contact:

Re: VMware Tools quiescence pre & post script user

Post by kefoster »

I will give this a try. Thank you.

tsightler
VP, Product Management
Posts: 5664
Liked: 2465 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: VMware Tools quiescence pre & post script user

Post by tsightler »

If you have any problems let us know, as there are several other options, that was just the simplest that came to mind.

Post Reply

Who is online

Users browsing this forum: Tecnici FC Sistemi, Tray.Brock and 26 guests