run commands

damage

Inactive User
Joined
Aug 9, 2001
Messages
9,419
Reaction score
2
Location
uk
please add any useful run command's in this thread with a discription of what they are used for

dxdiag = direct x diagnostic tool
 
Another one to go with the ipconfig commands...

ipconfig /registerdns

resets the dns info which can occasionally get screwed up. If you are having problems getting to webpages that normally work fine it can sometimes be because your cached dns info is wrong, and this will clear it.
 
ping -n 999 -w 1 (cmd -ping 999 times with a 1second time out)
net send ip/hostname (cmd -fun/annoying messages)
services.msc (run -stop/start services)
 
Netsh winsock reset

flushes the I.P address and repairs all net connections. 100% fix for limited or no connectivity error in Windows xp with Service pack 2.
 
this is XP PRO only.

Group Policy Editor
type "gpedit.msc" at the run prompt.
allows you to set all sorts of options from the desktop setting to security.
 
With thanks to mkmagik786 :-




IF your PC gets a little confused and windows stop responding - or if you want quicker access to control panel apps - try the following commands to access control panel settings.

Open a Run window and type -

Control panel tool Command
-----------------------------------------------------------------
Accessibility Options control access.cpl
Add New Hardware control sysdm.cpl add new hardware
Add/Remove Programs control appwiz.cpl
Date/Time Properties control timedate.cpl
Display Properties control desk.cpl
FindFast control findfast.cpl
Fonts Folder control fonts
Internet Properties control inetcpl.cpl
Joystick Properties control joy.cpl
Keyboard Properties control main.cpl keyboard
Microsoft Exchange control mlcfg32.cpl
Microsoft Mail Post Office control wgpocpl.cpl
Modem Properties control modem.cpl
Mouse Properties control main.cpl
Multimedia Properties control mmsys.cpl
Network Properties control netcpl.cpl
NOTE: In Windows NT 4.0, Network
properties is Ncpa.cpl, not Netcpl.cpl
Password Properties control password.cpl
PC Card control main.cpl pc card (PCMCIA)
Power Management (Windows 95) control main.cpl power
Power Management (Windows 98) control powercfg.cpl
Printers Folder control printers
Regional Settings control intl.cpl
Scanners and Cameras control sticpl.cpl
Sound Properties control mmsys.cpl sounds
System Properties control sysdm.cpl

Users control Ncpa.cpl users

for win 95/98 and ME control inetcpl.cpl users

Got these from the Microsoft site whilst fixing a PC - excellent if you need them, but lets hope you don't.
 
If you want to access the DirectX diagnostic tool through the run command. Then type dxdiag I think this use to work for Win98se as well :)
 
windows messenger

Try this if you want to diable windows messenger
RunDll32 advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove
this will diable messenger.: maggie :
 
here is a fun one

go to run and type in cmd and hit enter

and then hopefully if ur network supports it then type

net send * [message]

it will send the message to all the computers on ur network! lolz

but problem is, you can get into truouble. so u can replace the * with the computer u wanna send it to. to findout the computer name u wanna send it to u wither type net view on ur computer, or go to ur mates computer and type hostname to see their computer name

and then type

net send [computer] [message]

quite funny
 
diamond1 said:
Try this if you want to diable windows messenger
RunDll32 advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove
this will diable messenger.: maggie :


Its already been posted & it doesn't disable messenger it uninstalls it
 
damage said:
RunDll32 advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove
thx to Defiant for this one :)

is there one to remove msn messenger?
 
that one uninstalls Windows Messenger, i was asking if there is one to uninstall MSN Messenger.
 
Just end processes and delete the folder in C:\Program Files\

If you get any boot up errors saying they cant find the file, check for registry/ startup references and remove them too.

As for handy commands, heres a little trick I figured out back in my school days a few years back.

We used to run win2k which was restricted to hell and back. So if you are in this situation like me, and cant get "cmd".

-Go to C:\Windows\System32\ and run FTP.exe
-Then in FTP type "!command"

hey presto (and its even the old win32 version!!!)

lol hope this saves a few of you from cracking up on restricted PCs.
 
Netstat command expanded

I use this method to manualy look for programs connected or trying to connect to the internet.

type;

-------------------------------------------------------------------------
'Netstat' for a basic look at internet connections in URL format.

'Netstat -a' for detailed view of internet connections in URL format.

'Netstat -n' for a more compacted view of net conns in IP address format.

'Netstat -o' to view in URL format with PID number.
-------------------------------------------------------------------------

and you can use combinations, like my favourite 'Netstat -n -o' to list net connections in IP address format with PID number displayed aswell.


PID Number
PID stands for Program ID. This is an ID number windows issues a program when it is executed (running).

Using the above netstat command combo, we can see what program is tring to connect to the net.

1. Open CMD and type 'netstat -n -o' and you wil notice at the end of every ip address is a PID number.

2. Now bring up Task Manager (Ctrl + Alt + Del) & press the Processes Tab.

3. You need to view the PID column, so if you cant see it goto View > Select Columns & tick PID. Press ok.

4. Now you can go back to the DOS window, look at a connection and mentaly note down the PID number and then look for it in the PID column in Task Manager to see what program is making that connection.

TIP - If you are not sure what the program is, google it.

I use this to manualy look for suspect internet connections (spyware, adware, trojans etc...)
 
Wiz said:
Here's one for ya...find all those spyware traces...

netstat -a

Run that and see what ya find...if nothing yer clean sir...:)

Regards

But how do you keep the dos box from running and then closing itself? It all happens that fast you don't get chance to read it.
 
fred_notdead said:
But how do you keep the dos box from running and then closing itself? It all happens that fast you don't get chance to read it.
Open the run line, type cmd & press enter then enter the command. If there is no user input required then the information shall be displayed then the dos box shall close

You can have some cmds output to a text file for later use. Try tracert www.google.com>c:\log.txt

This will run a trace route to goole and the results can be found in log.txt on the c drive.

Slightly off topic, here is a list of keyboard shortcuts, Win + R shall open your run line, great stuff
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q126449
 
Back
Top