Solved

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

Posted on 2004-05-02
3
179 Views
Last Modified: 2010-04-13
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
Comment
Question by:BigBoss
3 Comments
 
LVL 16

Assisted Solution

by:JammyPak
JammyPak earned 25 total points
Comment Utility

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
 
LVL 7

Accepted Solution

by:
wtrmk74 earned 25 total points
Comment Utility
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
 

Author Comment

by:BigBoss
Comment Utility
Thank you both for your help...
Both comments were helpful.

Best regards.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now