Tuesday, December 17, 2013

Useful Run Commands - This is really help full..


In the spirit of trying to be helpful, first of all, if something is in a box you don't know how to open, and it takes some research to find out how to get in, it's as such to protect you, there might be something in there that can hurt you, research the contents BEFORE you go inside i.e.. msconfig, msconfig, regedit, etc. My opinion is that many will crash their systems(seen it happen too often, and don't expect sympathy from your pc tech), clicking on things is just too easy. These utilities are for advanced users, so become advanced before you burn your fingers, just read a little more. Another thing is that when u take advice from someone who posts that you don't know, don't try it until u get a second opinion, the primary cause of security/integrety breakdown on a system is the user. As for defragging everyday? Needless, unless you r a gamer and u r in second place, once a week I think will suffice. Good luck all,

To Access…. Run Commands You Know one and Only Place is Run Window.

Go there by Start –> Run  or  Win + R


 
Device Manager / Add Hardware Wizard
hdwwiz.cpl
 
Add/Remove Programs
appwiz.cpl
 
Administrative Tools
control admintools
 
Adobe Acrobat (if installed) 
acrobat 
 
Adobe Photoshop (if installed) 
photoshop 
 
Bluetooth Transfer Wizard
fsquirt
 
Calculator
calc
 
Certificate Manager
certmgr.msc
 
Character Map
charmap
 
Check Disk Utility
chkdsk
 
Command Prompt
cmd
 
Component Services
dcomcnfg
 
Computer Management
compmgmt.msc
 
Control Panel 
control 
 
Date and Time Properties
timedate.cpl
 
Device Manager
devmgmt.msc
 
Direct X Control Panel (If Installed)*
directx.cpl
 
Direct X Troubleshooter
dxdiag
 
Disk Cleanup Utility
cleanmgr
 
Disk Defragment
dfrg.msc
 
Disk Management
diskmgmt.msc
 
Disk Partition Manager
diskpart
 
Display Properties
desk.cpl
 
Display Properties (w/Appearance Tab Preselected)
control color
 
Driver Verifier Utility
verifier
 
Event Viewer
eventvwr.msc
 
Files and Settings Transfer Tool 
migwiz 
 
File Signature Verification Tool
sigverif
 
Firefox (if installed) 
firefox 
 
Folders Properties
control folders
 
Fonts
control fonts
 
Fonts Folder
fonts

Game Controllers
joy.cpl

Iexpress Wizard (this Wizard help Create a Self-extracting / self installing package)
iexpress

Internet Explorer 
iexplore 
 
Internet Properties
inetcpl.cpl
 
IP Configuration (Display Connection Configuration) ipconfig /all 

IP Configuration (Display DNS Cache Contents) ipconfig /displaydns

IP Configuration (Delete DNS Cache Contents) ipconfig /flushdns

IP Configuration (Release All Connections) ipconfig /release

IP Configuration (Renew All Connections) ipconfig /renew

IP Configuration (Refreshes DHCP & Re-Registers DNS) ipconfig /registerdns

IP Configuration (Display DHCP Class ID) ipconfig /showclassid

IP Configuration (Modifies DHCP Class ID) ipconfig /setclassid

Java Control Panel (If Installed)
jpicpl32/64.cpl
 
Java Control Panel (If Installed)
javaws
 
Keyboard Properties
control keyboard

Local Users and Groups
lusrmgr.msc
 
Logs You Out Of Windows
logoff
 
Malicious Software Removal Tool 
mrt 
 
Microsoft Access (if installed) 
access.cpl 
 
Microsoft Chat (Work in Xp)
winchat
 
Microsoft Excel (if installed) 
excel 
 
Microsoft Frontpage (if installed) 
frontpg 
 
Microsoft Movie Maker 
moviemk 
 
Microsoft Paint 
mspaint 
 
Microsoft Powerpoint (if installed) 
powerpnt 
 
Microsoft Word (if installed) 
winword 
 
Microsoft Syncronization Tool 
mobsync 
 
Mouse Properties
control mouse
 
Mouse Properties
main.cpl
 
Nero (if installed) 
nero 
 
Netmeeting  (in XP)
conf 
 
Network Connections
control netconnections
 
Network Connections
ncpa.cpl
 
Notepad
notepad

Nview Desktop Manager (If Installed)
nvtuicpl.cpl
 
On Screen Keyboard
osk
 
Opens AC3 Filter (If Installed)
ac3filter.cpl
 
Outlook Express 
msimn 
 
Paint 
pbrush 
 
Performance Monitor
perfmon.msc
 
Performance Monitor
perfmon
 
Phone and Modem Options
telephon.cpl
 
Phone Dialer 
dialer 

Power Configuration
powercfg.cpl
 
Printers and Faxes
control printers
 
Printers Folder
printers
 
Private Character Editor
eudcedit
 
Quicktime (If Installed)
QuickTime.cpl
 
Quicktime Player (if installed) 
quicktimeplayer 
 
Real Player (if installed) 
realplay 
 
Regional Settings
intl.cpl
 
Registry Editor
regedit

Remote Access Phonebook 
rasphone 
 
Remote Desktop
mstsc
 
Removable Storage
ntmsmgr.msc
 
Scheduled Tasks
control schedtasks
 
Security Center
wscui.cpl
 
Services
services.msc
 
Shared Folders
fsmgmt.msc
 
Shuts Down Windows
shutdown
 
Sounds and Audio
mmsys.cpl

SQL Client Configuration
cliconfg
 
System Configuration Utility
msconfig
 
System File Checker Utility (Scan Immediately)
sfc /scannow

System File Checker Utility (Scan Once At Next Boot)
sfc /scanonce

System File Checker Utility (Scan On Every Boot)
sfc /scanboot

System File Checker Utility (Return to Default Setting)
sfc /revert

System File Checker Utility (Purge File Cache)
sfc /purgecache

System File Checker Utility (Set Cache Size to size x)
sfc /cachesize=x
 
System Information 
msinfo32 
 
System Properties
sysdm.cpl
 
Task Manager
taskmgr
 
TCP Tester 
tcptest 
 
Telnet Client
telnet
 
Tweak UI (if installed) 
tweakui 
 
User Account / Control Password
control userpasswords2

Utility Manager
utilman
 
Windows Address Book 
wab 
 
Windows Address Book Import Utility  
wabmig 
 
Windows Backup Utility (if installed) 
ntbackup 
 
Windows Explorer 
explorer 
 
Windows Firewall
firewall.cpl
 
Windows Magnifier
magnify
 
Windows Management Infrastructure
wmimgmt.msc
 
Windows Media Player 
wmplayer 
 
Windows Messenger 
msmsgs 
 
Windows Picture Import Wizard (need camera or Scanner connected) 
wiaacmgr 
 
Windows System Security Tool
syskey
 
Windows Update Launches
wupdmgr
 
Windows Version (to show which version of windows) 
winver 
 
Wordpad
write

 

Something Interesting that very Help full.

  • When you want to run a command such as ipconfig /all

you can run it as one statement from the run window. You don't need to open a command prompt and the typ it. Add a /k to cmd (cmd /k )swtich.
It tells cmd to add the command to the DOS window. Very much like a pipe |.

Command from Winkey R -- cmd /k then command.

Example: (winkey R)-->Run window-->

cmd /k ipconfig /all
----------
Or try
------
cmd /k ipconfig /displaydns
MSConfig

  • To get System Properties dialog box, hold WINKEY PAUSE/BREAK Key

  • taskkill and tasklist are cool, as administrator they can be used to kill applications running on other machines, or to monitor if people are using software not allowed by company policy.
  • Schtasks can be used to start processes, but it's not quite as easy to use from a command line.

 

  • Registry Shortcuts and Class IDs, CLSID, in Run DI

you can basically run any shortcut and Class ID, CLSID, found in the Windows Registry in the Run dialog box. For example, I needed to open My Network Places of which the Class ID, CLSID is

{208D2C60-3AEA-1069-A2D7-08002B30309D}

in the Windows registry so at the Run dialog you should type

::{208D2C60-3AEA-1069-A2D7-08002B30309D}

Notice the two colons before the Class ID. Make sure you use them.

To find relevant CLSIDs open Run, Windows Key -> r, and type regedit. Navigate to -> HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersio nexplorer and browse for your relevant CLSIDs. My Network Places can be found at HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersio nexplorerDesktop.

Run shortcut to the Recycle Bin. The CLSID for the Recycle Bin is ->

{645FF040-5081-101B-9F08-00AA002F954E} so open Run, Windows Key -> r, and enter

::{645FF040-5081-101B-9F08-00AA002F954E} to get the Recycle Bin. Don't forget those colons at the start.

Some useful CLSIDs are ->
Briefcase {85BBD920-42A0-1069-A2E4-08002B30309D}
Desktop {00021400-0000-0000-C000-000000000046}
Control Panel {21EC2020-3AEA-1069-A2DD-08002B30309D}
Dial-Up Networking {992CFFA0-F557-101A-88EC-00DD010CCC48}
Fonts {BD84B380-8CA2-1069-AB1D-08000948F534}
Inbox {00020D76-0000-0000-C000-000000000046}
The Internet {FBF23B42-E3F0-101B-8488-00AA003E56F8}
My Computer {20D04FE0-3AEA-1069-A2D8-08002B30309D}
Network Neighborhood {208D2C60-3AEA-1069-A2D7-08002B30309D}
Printers {2227A280-3AEA-1069-A2DE-08002B30309D}
Recycle Bin {645FF040-5081-101B-9F08-00AA002F954E}
The Microsoft Network {00028B00-0000-0000-C000-000000000046}
Url History Folder {FF393560-C2A7-11CF-BFF4-444553540000}

Enjoy.

  • How can send message to another computer on local network by using run command


net send computer message

Where "computer" is either the name of your computer, or the internal IP Address of the computer on your LAN (such as 192.168.x.x), and "message" is the message you wish to send.

 
Example: net send 192.168.1.1 THIS IS MY MESSAGE!
This command requires the Message service to be enabled and started on the computer from which you are sending the message and the computer receiving the message. To do this, just open the run command type in "services.msc",scroll down to the "Messenger" service and enable it and set it to automatic.

You can also do this by creating a batch file, either one where you can type in the name of the computer, or one which you have a predefined computer.
If you want to be able to type in which computer you will send the message to, make the

batch file:
@echo off:
:A
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A

If you want to have a predefined computer, make the batch file:
@echo off:
:A
echo MESSENGER
set /p m=Message:
net send xxx.xxx.xxx.xxx %m%
Goto A

Where xxx.xxx.xxx.xxx is either the IP Address or the computer name! Using the information above, you should be able to also make a batch file with a predefined message!

Good luck, 

 

What is it in "msconfig"

msconfig checks the programs in your computer when it boots up. If you stop a program in msconfig your computer won't check to see if it's working properly. You need to stop programs from running in Services. To get to Services, right click on the My Computer icon on your desktop -> Manage –> Services and Applications (in the right hand side) -> Services (in the left hand side). You can turn them off or you can change them from Automatic to Manual. If you disable some of the services, you will prevent other programs from running that depend upon that service, so be careful. After you push and type in msconfig and press OK, be sure to click the Selective Start-up.

radio button before you click on the startup tab.

Selective Startup radio button is the third one down on the GENERAL tab when System

Configuration Utility first opens.

The first radio button says "Normal Startup - load all device drivers and services"
The second radio button says "Diagnostic Startup - load basic devices and services only"
The third radio button (the one you want) says "Selective Startup" be sure to put the dot in the third one (selective startup) and then click on the Startup tab at the top.

There are six tabs at the top: 1.General, 2.SYSTEM,INI, 3.WIN.INI, 4.BOOT.INI, 5.Services, 6.Startup.
The one you want is 6. Startup
When the startup window opens you can see and select or deselect the programs that start with windows.




 

No comments:

Post a Comment