Creating Startup.bat

F

FARAZ QURESHI

Dear Fellows (Specially Pegasus),

Your advice had worked out good first I thought, but now when I used my
prfoile after sometime I find none of the disabled service being loaded. I
had created the startup.bat file as:

@echo off
Net start "Adobe LM Service"
Net start "Apple Mobile Device"
Net start "Bonjour Service"
Net start "iPod Service"
Net start "McAfee SiteAdvisor Service"
Net start "McAfee Services"
Net start "McAfee Network Agent"
Net start "McAfee Scanner"
Net start "McAfee Proxy Service"
Net start "McAfee Real-time Scanner"
Net start "McAfee SystemGuards"
Net start "Machine Debug Manager"
Net start "Microsoft Office Groove Audit Service"
Net start "McAfee Personal Firewall Service"
Net start "Microsoft Office Diagnostics Service"
Net start "Office Source Engine"
C:\WINDOWS\system32\usrmlnka.exe RunServices \Device\3cpipe-USRpdA
C:\WINDOWS\system32\igfxtray.exe
C:\WINDOWS\system32\hkcmd.exe
"C:\Program Files\Microsoft Office\Office12\GrooveMonitor.exe"
"C:\Program Files\QuickTime\QTTask.exe" -atboottime
"C:\Program Files\iTunes\iTunesHelper.exe"
"C:\Program Files\McAfee.com\Agent\mcagent.exe" /runkey
"C:\Program Files\CyberLink\PowerDVD\PDVDServ.exe"
C:\WINDOWS\system32\NeroCheck.exe
C:\WINDOWS\system32\ctfmon.exe
C:\PROGRA~1\Adobe\ACROBA~1.0\Distillr\acrotray.exe
C:\PROGRA~1\COMMON~1\Adobe\CALIBR~1\ADOBEG~1.EXE

my wife's account works good without any of the service but upon logging
onto my account I find the ms-dos cmd window opening and then listing 9
times:
"System error 1058 has occurred. The service cannot be started, either
because it is disabled or because it has no enabled devices associated with
it."
Then once:
"The requested service has already been started. More help is available by
typing NET HELPMSG 2182.
Then 6 times:
"System error 1058 has occurred. The service cannot be started, either
because it is disabled or because it has no enabled devices associated with
it."
And finally the cmd.exe is left opened, looks like the services too are not
being not loaded.

Once again looking forward for your help!

--

Best Regards,
FARAZ A. QURESHI


:

Click to show or hide original message or reply text.

OK, here is what you can do:
1. Log on under your own account.
2. Click Start/Run/notepad{OK}
3. Launch msconfig.exe via the Start/Run menu.
4. Click the Services tab.
5. Hide all Microsoft services.
6. Identify the services that are irrelevant for your wife.
Example: "Remote Packet Capture".
7. Remove the tick mark for the "Remote Packet Capture" service.
8. Switch to your notepad session and type this command:
Net start "Remote Packet Capture"
9. Repeat Steps 7 and 8 for the remaining irrelevant services.
10. Click the Startup tab in MSConfig.
11. Identify the tasks that are irrelevant for your wife.
Example: realsched
12. Remove the tick mark in front of "realsched".
13. Manually copy the whole line for "realsched" into your notepad,
e.g. like so:
"c:\Program Files\Common Files\Real\Update_OB\realsched.exe" -osboot
It's best to arrange the msconfig frame just above the notepad frame
in order to avoid typing errors.
14. Repeat Steps 12 to 13 for the remaining irrelevant tasks.
15. Switch to your notepad session.
16. Make the first line like so:
@echo off
17. Click File/Save As.
18. Type this name (with the double quotes!) but do NOT press Enter:
"%userprofile\Start menu\Programs\Startup\Startup.bat"
19. Select "All Files" in the "Save as type" box, then press Enter.
20. Create a backup copy of this file.
21. Close msconfig.exe, reboot and log on under your wife's name.
22. Click the msconfig box that will prevent the notification from
coming up next time.

You now have a selective boot environment. You get all services
and tasks at start time but your wife gets only the selected minimum set.
 
P

Pegasus \(MVP\)

See my reply in your original thread.

FARAZ QURESHI said:
Dear Fellows (Specially Pegasus),

Your advice had worked out good first I thought, but now when I used my
prfoile after sometime I find none of the disabled service being loaded. I
had created the startup.bat file as:

@echo off
Net start "Adobe LM Service"
Net start "Apple Mobile Device"
Net start "Bonjour Service"
Net start "iPod Service"
Net start "McAfee SiteAdvisor Service"
Net start "McAfee Services"
Net start "McAfee Network Agent"
Net start "McAfee Scanner"
Net start "McAfee Proxy Service"
Net start "McAfee Real-time Scanner"
Net start "McAfee SystemGuards"
Net start "Machine Debug Manager"
Net start "Microsoft Office Groove Audit Service"
Net start "McAfee Personal Firewall Service"
Net start "Microsoft Office Diagnostics Service"
Net start "Office Source Engine"
C:\WINDOWS\system32\usrmlnka.exe RunServices \Device\3cpipe-USRpdA
C:\WINDOWS\system32\igfxtray.exe
C:\WINDOWS\system32\hkcmd.exe
"C:\Program Files\Microsoft Office\Office12\GrooveMonitor.exe"
"C:\Program Files\QuickTime\QTTask.exe" -atboottime
"C:\Program Files\iTunes\iTunesHelper.exe"
"C:\Program Files\McAfee.com\Agent\mcagent.exe" /runkey
"C:\Program Files\CyberLink\PowerDVD\PDVDServ.exe"
C:\WINDOWS\system32\NeroCheck.exe
C:\WINDOWS\system32\ctfmon.exe
C:\PROGRA~1\Adobe\ACROBA~1.0\Distillr\acrotray.exe
C:\PROGRA~1\COMMON~1\Adobe\CALIBR~1\ADOBEG~1.EXE

my wife's account works good without any of the service but upon logging
onto my account I find the ms-dos cmd window opening and then listing 9
times:
"System error 1058 has occurred. The service cannot be started, either
because it is disabled or because it has no enabled devices associated
with
it."
Then once:
"The requested service has already been started. More help is available by
typing NET HELPMSG 2182.
Then 6 times:
"System error 1058 has occurred. The service cannot be started, either
because it is disabled or because it has no enabled devices associated
with
it."
And finally the cmd.exe is left opened, looks like the services too are
not
being not loaded.

Once again looking forward for your help!

--

Best Regards,
FARAZ A. QURESHI


:

Click to show or hide original message or reply text.

OK, here is what you can do:
1. Log on under your own account.
2. Click Start/Run/notepad{OK}
3. Launch msconfig.exe via the Start/Run menu.
4. Click the Services tab.
5. Hide all Microsoft services.
6. Identify the services that are irrelevant for your wife.
Example: "Remote Packet Capture".
7. Remove the tick mark for the "Remote Packet Capture" service.
8. Switch to your notepad session and type this command:
Net start "Remote Packet Capture"
9. Repeat Steps 7 and 8 for the remaining irrelevant services.
10. Click the Startup tab in MSConfig.
11. Identify the tasks that are irrelevant for your wife.
Example: realsched
12. Remove the tick mark in front of "realsched".
13. Manually copy the whole line for "realsched" into your notepad,
e.g. like so:
"c:\Program Files\Common Files\Real\Update_OB\realsched.exe" -osboot
It's best to arrange the msconfig frame just above the notepad frame
in order to avoid typing errors.
14. Repeat Steps 12 to 13 for the remaining irrelevant tasks.
15. Switch to your notepad session.
16. Make the first line like so:
@echo off
17. Click File/Save As.
18. Type this name (with the double quotes!) but do NOT press Enter:
"%userprofile\Start menu\Programs\Startup\Startup.bat"
19. Select "All Files" in the "Save as type" box, then press Enter.
20. Create a backup copy of this file.
21. Close msconfig.exe, reboot and log on under your wife's name.
22. Click the msconfig box that will prevent the notification from
coming up next time.

You now have a selective boot environment. You get all services
and tasks at start time but your wife gets only the selected minimum set.
 

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