Ask a Question

aqEnvironment.RebootAndContinue insufficient permissions

Super Contributor

aqEnvironment.RebootAndContinue insufficient permissions

I am trying to execute a RebootAndContinue as follows:


function Reboot()
  	var password = ProjectSuite.Variables.WindowsLoginPassword;
	aqEnvironment.RebootAndContinue("Administration.AfterReboot", password);

function AfterReboot()
	Log.Message("Reboot occured.");

Upon running the Reboot function, I receive "Insufficient permissions". My user is in the local administrator group. My shortcut, which is the ONLY way I load TC has run as administrator selected.


I talked to my network guy, and he cannot think of anything that would cause this. Help? Tahnks.

Esteemed Contributor

Have you tried explicitly declaring the username and domain for the login?

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Showing results for 
Search instead for 
Did you mean: