Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

2 questions - 1. BAT files (DOS), 2. game runs when windows starts!!

Hello,
I have 2 questions:

1. I have a PC with DOS only. When the PC starts, I want to run an EXE. If the user exits the EXE, I want to re-run it again. I have seen something like a loop in the AUTOEXEC.BAT file that re-runs the EXE once it ends but I can't remember the syntax.

2. I have installed a game on my PC (Win2K). Whenever Windows starts, the game runs a utility that tries to connect to the internet. I want to stop this thing from running when Windows starts. I have searched the StartUp group but could find nothing there. I also searched the registry HKEY_Local_Machine/.../Run, RunOnce, RunOnceEx but also nothing there!! Where the hell this thing is hiding and runs every time with Windows???

Thank you.
0
BigBoss
Asked:
BigBoss
2 Solutions
 
JammyPakCommented:

2. Look in the StartUp folder for your user profile, plus the All Users profile. Also, look in the registry key 'HKeyCurrentUser\Software\Microsoft\Windows\CurrentVersion\Run\
0
 
wtrmk74Commented:
First part...
http://www.computerhope.com/msdos.htm

Second part...
download MSCONFIG
http://www2.whidbey.com/djdenham/Msconfig.htm
or
Mike Lin's Start Up Control Panel
http://www.mlin.net/StartupCPL.shtml

msconfig is downloaded to the WINNT\System32 Directory, access by RUN>msconfig
goto start up tab, uncheck items as necessary

startup control panel is installed into your Control Panel, double click icon and uncheck items as necessary

also try to locate with...
Process Explorer
http://www.sysinternals.com/ntw2k/freeware/procexp.shtml
Regmon
http://www.sysinternals.com/ntw2k/source/regmon.shtml

if all else fails and you are still unable to determine the cause
Download
HijackThis and post the log contents here for review !
http://www.spychecker.com/program/hijackthis.html

Take Care,
wtrmk74
0
 
BigBossAuthor Commented:
Thank you both for your help...
Both comments were helpful.

Best regards.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now