techjoee
asked on
Run a .bat file after the system reboots and start by itself
I'm running win7 64bit and like the system to automatically run a c:\start.bat file when the system startups.
How I can do this?
How I can do this?
Does this file need to run when the PC starts, or when someone logs in?
If it needs to run on logon, you can put it (or a shortcut to it, if you prefer) in C:\ProgramData\Microsoft\W indows\Sta rt Menu\Programs\Startup and it should start whenever anyone logs in.
EDIT: Too slow posting, it seems.
If it needs to run on logon, you can put it (or a shortcut to it, if you prefer) in C:\ProgramData\Microsoft\W
EDIT: Too slow posting, it seems.
ASKER
it needs to run when the pc starts not only when someone logs on
ASKER
i tried putting the .bat in the C:\ProgramData\Microsoft\W indows\Sta rt Menu\Programs\Startup it doesnt start up.. it runs but the black cmd window disappears
if i manually run the .bat .. its fine!
if i manually run the .bat .. its fine!
Place the file somewhere on your local hard drive. Open GPEdit.msc and drill down to Computer Config -> Windows Settings -> Scripts and configure the startup to include the batch file.
Hello techjoee..
Try Copying the "start.bat" into
C:\Users\default\AppData\R oaming\Mic rosoft\Win dows\Start Menu\Programs\Startup
this is off an 8.1 machine but should work the same for you
then reboot
pls note it only needs to be a shortcut if desired
a ".cmd" should do the same thing
Try Copying the "start.bat" into
C:\Users\default\AppData\R
this is off an 8.1 machine but should work the same for you
then reboot
pls note it only needs to be a shortcut if desired
a ".cmd" should do the same thing
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
nt system will do?
Yes, why not? If the process works with the system account. Just enter system, no password needed.
I've requested that this question be deleted for the following reason:
Not enough information to confirm an answer.
Not enough information to confirm an answer.
Both Mcknife and my comments will get the desires results so this should be considered solved.
...if the OS features gpedit.msc, then yes :)
Yes Mcknife you are absolutely correct. The author did not specify the version of OS. My bad! :|
C:\programdata\Microsoft\W
And it should work for you... Let us know.