So...
I have my "unattend.xml" file setup for sysprep. This file makes a new
account called "dummy".
I want to be able to automatically log into my adminstrative "setup"
account and have "dummy" automatically deleted.
In XP, I make a batch file ("setup.bat") that calls itself and contains
net user dummy /delete
del setup.bat
and then the batch file is deleted after the account is deleted.
So, in Vista, I can make a .cmd file that has the same command in it.
But I have to right-click on it to "run as administrator" and click the
UAC authorization to do this.
Which I'd like to automate so there's no need for user intervention
here.
Is there a way to do this?
(Alternately, if I was to turn UAC *off*, so I could have this file run
automatically, can UAC be turned on with a command-line command?)
- Steve