Batch File configure on Server startup without Login
I've a requirement for run a batch file in Server Startup with login to any user account. I'm using Windows 2008 R2 Ent. I tried with configure on Local GP , startup in Computer settings , scheduled as a Task & adding to Startup in Windows. But any mentioned solution wasn't work. Please advise me on this. Regards, COMDINI
May 24th, 2012 12:56pm

What are you trying to accomplish? What is in this batch file? Are you familiar with StartUp and Shutdown script? Have you tried this? http://technet.microsoft.com/en-us/library/cc775970(v=ws.10).aspxSanthosh Sivarajan | Houston, TX http://www.sivarajan.com/ This posting is provided AS IS with no warranties,and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2012 9:59pm

Hi COMDINI, Thanks for posting in Microsoft TechNet forums. Since the system is Windows Server 2008 R2, please check whether the article below can be helpful: Assign Computer Startup Scripts http://technet.microsoft.com/en-us/library/cc770556.aspx Please feel free to ask if anything is unclear. Regards Kevin TechNet Community Support
May 24th, 2012 11:00pm

Hi COMDINI, Thanks for posting in Microsoft TechNet forums. Since the system is Windows Server 2008 R2, please check whether the article below can be helpful: Assign Computer Startup Scripts http://technet.microsoft.com/en-us/library/cc770556.aspx Please feel free to ask if anything is unclear. Regards Kevin TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2012 11:08pm

Just to be sure, because with your question Iam not sure if it need to be run in the user or computer context. If the script need to be run in the user context just make a local GPO in the user context -> logon script. Keep in mind as a computer script will be run with nt autorithy\system accountMCP | MCTS 70-236: Exchange Server 2007, Configuring
May 24th, 2012 11:48pm

Hello Comdini, Apart from Group Policy computer configuration settings, we can run batch files by defining schedule tasks. Create a schedule task and define a time when it suppose to run. I suggest you go through below article and define your own task and schedule it. http://technet.microsoft.com/en-us/library/cc725745.aspx Regards, Ravikumar P
Free Windows Admin Tool Kit Click here and download it now
May 25th, 2012 12:22am

Hi Santhosh , K_evin & Yag_moth, thanks for your post. i tried it . but it wasn't success. actually with that batch file it is starting a apache tomcat service. when i start it manually , it is working. I want to do it on Computer Startup without login to user account. Hi EXRAPUL . I followed your link. but can't find after 2nd step. " In the console tree under Computer Configuration or User Configuration, expand the Preferences folder, and then expand the Control Panel Settings folder. Right-click the Scheduled Tasks node, point to New, and select Scheduled Task " Guys , please advise me on this. Regards, COMDINI
May 26th, 2012 2:45am

Hi COMDINI, You mentioned "when I start it manually, it is working". Do you mean that the apache tomcat service can be started manually or this service can be started while manually running the batch file? Please kindly clarify the issue for us. In the meantime, please check whether the information in the thread below can be helpful: Startup scripts are not working http://social.technet.microsoft.com/Forums/en-SG/winserverGP/thread/392dd878-63e3-4a42-a9fb-e55a9f9e5340 Regards KevinTechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
May 27th, 2012 10:55pm

Hi COMDINI, You mentioned "when I start it manually, it is working". Do you mean that the apache tomcat service can be started manually or this service can be started while manually running the batch file? Please kindly clarify the issue for us. In the meantime, please check whether the information in the thread below can be helpful: Startup scripts are not working http://social.technet.microsoft.com/Forums/en-SG/winserverGP/thread/392dd878-63e3-4a42-a9fb-e55a9f9e5340 Regards KevinTechNet Community Support
May 27th, 2012 10:57pm

Which article are you following? http://technet.microsoft.com/en-us/library/cc779329(v=ws.10).aspxSanthosh Sivarajan | Houston, TX http://www.sivarajan.com/ This posting is provided AS IS with no warranties,and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
May 29th, 2012 10:53am

Hi Kevin , yes. it is running when I do manually. I tried it to moved to STARTUP in Program files. it also working. but only matter is , User have to Login to his Desktop. Further I followed which you provided methods. but it also not worked. Regards, COMDINI
June 2nd, 2012 4:59am

Did you try startup script? Not the startup in program files. http://technet.microsoft.com/en-us/library/cc779329(v=ws.10).aspxSanthosh Sivarajan | Houston, TX http://www.sivarajan.com/ This posting is provided AS IS with no warranties,and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2012 4:26pm

Did you try startup script? Not the startup in program files. http://technet.microsoft.com/en-us/library/cc779329(v=ws.10).aspxSanthosh Sivarajan | Houston, TX http://www.sivarajan.com/ This posting is provided AS IS with no warranties,and confers no rights.
June 2nd, 2012 4:28pm

Hi COMDINI, I agree with Santhosh. Please check and make sure that it is Computer Startup Script but not User Logon Script. Computer Startup Script should run on system start-up and before user logging on. Regards Kevin TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
June 3rd, 2012 11:43pm

Hi COMDINI, I agree with Santhosh. Please check and make sure that it is Computer Startup Script but not User Logon Script. Computer Startup Script should run on system start-up and before user logging on. Regards Kevin TechNet Community Support
June 3rd, 2012 11:45pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics