When I add an entry into the RunOnce registry key, the command runs when the first user logs in after a reboot. This is working fine. However, I have two questions: 1. Is it possible to have the command run prior to a user logging in after the reboot? 2. When the user logs in, a command prompt dialog is visible while my command is executing. Can I hide that from the user? Thanks. Ryan
1.) Use the Group policy editor %systemroot%\system32\gpedit.msc Computer Config\Windows Settings\Scripts\Startup/Shutdown 2.) Use VBScript -- Regards, Dave Patrick ....Please no email replies - reply in newsgroup. Microsoft Certified Professional Microsoft MVP [Windows] http://www.microsoft.com/protect wrote: | When I add an entry into the RunOnce registry key, the command runs | when the first user logs in after a reboot. This is working fine. | However, I have two questions: | | 1. Is it possible to have the command run prior to a user logging in | after the reboot? | | 2. When the user logs in, a command prompt dialog is visible while my | command is executing. Can I hide that from the user? | | | Thanks. | Ryan |