Jump to content

Gaaaah, sysprep just locked me out of the computer


Recommended Posts

Ok, this was a good one.

I was half way through sysprepping a new image today, a long install since we're having to use "BuildMassStorageSection=yes", and many of the device drivers for this computer are unsigned meaning there's an irritating "are you sure you want to install this driver" to click through for every single one it builds.

Since I've not worked out how to disable that warning (it's turned off in the .inf file and in system properties), I've resigned myself to half an hour of clicking through dialog boxes every time we need to refresh the image of this machine.

Well today, I'm about half way through when lunch time came around. Thinking nothing of it I left the computer where it was, expecting to carry on with the work when I returned.

Well I returned to the machine to find this:

http://www.averysilly.com/Sysprep-locked-computer.jpg

Yes, our domain policy has kicked in and locked the computer after 10 mins of inactivity. But before it did that Sysprep had kindly removed the computer from the domain. End result; I'm left running a domain account on a computer with no connection to the domain, so there's no way whatsoever to authenticate as that user and unlock the machine. My only option is to log on as the local admin, forcibly closing sysprep et all, and leaving the machine in god only knows what state.

I couldn't think of any way out of this. In the end I had to wipe the machine and start over.

Ross

Link to comment
Share on other sites


can't help you with getting back into the computer. I think you may be hosed there.

But for the next time I can save you some clicking. Launch the attach compiled autoit script and it will watch for those pop up messages and click ok, continue, etc for you while the mass storage section is being created.

continue.exe

Link to comment
Share on other sites

I have found no ther way around it. Its an AutoUt scipt I wrote to do just what you are doing.

If you wan to see the source I did not password protect it, you can use the AutoIt utilities to convert it back to an Au3 script from the EXE.

Link to comment
Share on other sites

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...