StartUp Menu

G

Guest

Greetings !

I have a batch file "StartUp.BAT" that I have put into
C:\Documents and Settings\Administrator\Start Menu\Programs\Startup
but it doesn't run when the computer boots.

I have tried it in the equivalent "All Users" folder, in the "Default User"
folder, and in my own folder, but to no avail.

When I left-click on the name in Windows Explorer, it works fine.

What must I do ?

This always used to work, but on several computers recently it has not worked.

I suspect it's the newer XP version ?

This computer runs Media Centre
 
S

Shenan Stanley

Robin said:
I have a batch file "StartUp.BAT" that I have put into
C:\Documents and Settings\Administrator\Start
Menu\Programs\Startup
but it doesn't run when the computer boots.

Why would it? It would run when the user 'Administrator' logs in...
I have tried it in the equivalent "All Users" folder, in the
"Default User" folder, and in my own folder, but to no avail.

Yes - but if you are trying to do the same thing as you stated before - "run
when the computer boots" - why would putting it in a user startup folder do
that. It would run when the user logs in (in the All Users case - when any
user logs in...)
When I left-click on the name in Windows Explorer, it works fine.

You mean double click (or have you set things up to run when you single
click with the underlining and all that?)
What must I do ?

To make it "run when the computer boots"? I'd suggest a scheduled task "ON
STARTUP"...
This always used to work, but on several computers recently it has
not worked.

No - no it didn't - at least not the way you have stated. Putting things in
a users startup folder does nothing but start said application/script when
the user logs in, it does not "run when the computer boots"...
I suspect it's the newer XP version ?

What 'newer' XP version?
This computer runs Media Centre

Media Center is not 'new' --> It is Windows XP Professional with the domain
stuff 'removed' and the media center stuff 'added'...

Again - a scheduled task, set to run as a user with the needed permissions,
schedule to do so 'ON STARTUP' should work fine... Maybe run it as "NT
AUTHORITY\SYSTEM"?
 
W

Wesley Vogel

Add a String Value (REG_SZ) to...
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name it whatever.
For the Data, type the path to the *.bat file.

For example...
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Name: My Indexdat Killer
Type: REG_SZ
Data: C:\run.bat

Name: Mygetridofstuff
Type: REG_SZ
Data: "C:\Documents and Settings\Wesley Vogel\My Documents\COMPUTER
DOCUMENTS\Batch Files\Experimental Batch Files\Mygetridofstuff.bat"

Anything in HKEY_LOCAL_MACHINE is machine wide. It doesn't matter who logs
on.

Anything in HKEY_CURRENT_USER relates to the current user that is logged on.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top