I do
something similar, but I have a shutdown script make the registry change, the
system has permission to change the registry. In my case it is triggered
by a change to a central database (a grand name for a shared ini file),
however you could use any trigger you like.
as an
alternative, if you are at the machine, have you tried running the script using
RUNAS and your admin credentials?
Regards
Kevin
Lawry
-----Original Message-----
From: Steven D. Pretlove [mailto:[EMAIL PROTECTED]
Sent: 11 November 2003 14:17
To: [EMAIL PROTECTED]
Subject: [Unattended] Todo.pl -- RestartHi all,when todo.pl processes .reboot (or one of its variations) it places the run command in the HKCU Run reg keyI have need to set the computer to logon as a administrator (using autolog.pl), reboot the machine, log on as admin, install program, clear autologon and then finally reboot.all the above I can do quite successfully, once I manually kick of the todo.pl --go after the initial reboot and logon as admindoes anyone else do something like this if so how did you get round the problem ???my initial thoughts is to write a bat file to the allusers/start-up directory to run the "mapznrun.bat z:\bin\todo.pl --go" command and then clear it out at the end. much the same as the current method, just allowing for anyuser to logon afterwards and the command to still run.other thoughts included changing the reg key from HKCU to HKLM but users by default do not have write permissionAll advice greatly appreciated
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
Dominos Pizza Group Ltd - 01908 580000 - www.dominos.co.uk
**********************************************************************
