Re: Problem running a script on startup

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Dave Patrick (mail_at_NoSpam.DSPatrick.com)
Date: 05/23/04


Date: Sun, 23 May 2004 07:43:35 -0600

Use the Group policy editor
%windir%\system32\gpedit.msc Computer Configuration\Windows
Settings\Scripts\Startup

-- 
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"Allan Cady" wrote:
|I have a script (vbs) that needs to run on system startup, regardless
| of whether any user logs on.  I thought I knew how to do this, but I'm
| not seeing the result I expected.
|
| I added a registry value in
| HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run, with
| the correct command to run the script.  But when I restart the
| machine, as far as I can tell, the script isn't getting run until I
| log on as an interactive user.  (I can tell whether it has run without
| logging on.)
|
| Does anyone have any idea why it's doing this, and more importantly,
| what can I do that will make the script run without logging on?
|
| I'm doing this on Windows 2000 Server.
|
| Thanks,
|
| Allan 


Relevant Pages

  • Re: Problem running a script on startup
    ... Microsoft MVP [Windows] ... "Allan Cady" wrote: ... | the correct command to run the script. ... | what can I do that will make the script run without logging on? ...
    (microsoft.public.win2000.registry)
  • Re: VBScripting on Windows 2003
    ... this is supposed to run as a logon script. ... logging on is logging on locally, or using remotely anywhere(like VNC, ... The script has worked on all my Windows 2000 servers for some time, ... I there perhaps a way that WMI might be misconfiugured on the server, ...
    (microsoft.public.scripting.vbscript)
  • Re: Logon script execution problem
    ... > I have a few cases when Windows 2000 server failed to run logon script ... > Windows XP computer was logging in. ... In most cases login scripts fails because of some problem ... logging helps in most cases to resolve the problem. ...
    (microsoft.public.win2000.networking)
  • Re: Microsoft Warns of New Windows Flaw (March 19, 2003 )
    ... In WINDOWS SETUP in ADD/REMOVE PROGRAMS of Control Panel ... Uninstall Outlook Express, ... Java, Javascript, ActiveX and all the other script runner toys Billy ... Install WebWasher the spammers are terrified of free from ...
    (comp.security.misc)
  • Re: Microsoft Warns of New Windows Flaw (March 19, 2003 )
    ... In WINDOWS SETUP in ADD/REMOVE PROGRAMS of Control Panel ... Uninstall Outlook Express, ... Java, Javascript, ActiveX and all the other script runner toys Billy ... Install WebWasher the spammers are terrified of free from ...
    (comp.security.firewalls)