Can CMD.EXE be edited?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The machine is a Windows 2000 box. Every time the user logs on, the CMD.EXE
runs and is running a command to delete one of their essential drive
mappings. They have to remap the drive every time they log on. I need to
know whether or not I can edit the CMD.EXE file, and if so, how? If I cannot
edit this file, how did this command to disconnect the drive mapping get
there, and how could I change it?

Thank you,
Brian
 
The .bat file or .cmd file that is running is run in the CMD.EXE look
for *.bat and *.cmd files containing "NET USE" commands.
 
Bob I said:
The .bat file or .cmd file that is running is run in the
CMD.EXE look
for *.bat and *.cmd files containing "NET USE" commands.

Hi,

It is a logon script that is running. Don’t Delete the cmd.exe. This
will cause a lot of problems and won’t solve your problem at all..

It depends on how your user logs on. If your user logs into a domain,
you Must go to the DC and make sure the user doesn’t have a login
script or is in a OU that calls a Group Policy login script.

If your user logs in locally type Regedit at the Run Command and go to
HKCurrentUser-Software-Microsoft-Windows-CurrentVersion-Run and see if
there is anything in there but the (Default). Make sure you look at
the file before deleting it as it may have something to do with Norton
or something else.
Also check
HKLocalMachine-Software-Microsoft-Windows-CurrentVersion-Run Be
careful about deleting anything here, but look at what is running on
startup.

Also look in the STARTUP folder inside the Program Files on the start
menu and see if there is anything there.

Cheers,

Lara
 
Back
Top