VMware Cloud Community
Robin_Schifferd
Contributor
Contributor

How to start/stop Services in Guest-OS? (Windows)

Hello,

I need to start/stop some Services in the Guest-OS (Windows) with the orchestrator.

I tried to use this script with the command "net stop xxx":

Guest script manager package

But everytime it says "access denied", because UAC is enabled. I'm not able to disable the UAC, but the specified account has admin privileges.

Do you guys have any Idea how I can stop/start Guest-Services from the Orchestrator?

Thanks

0 Kudos
1 Reply
Burke-
VMware Employee
VMware Employee

If you are forced to keep UAC enabled, then this becomes a Windows discussion, not an Orchestrator discussion.. that being said, a quick Google search revealed this older thread on another site which may be appropriate:

Connecting Remotely with Administrative Privileges Under UAC | TeamSHATTER

Once you've identified an approach that will work for you, you can then attempt to implement this with Orchestrator.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
0 Kudos