Windows Run Commands

Administrative Tools

Administrative Tools = control admintools
Authorization Manager = azman.msc
Component Services = dcomcnfg
Certificate Manager = certmgr.msc

ODBC Data Source Administrator = odbcad32
File Signature Verification Tool = sigverif
Group Policy Editor on local computer = gpedit.msc
Group Policy Editor on domain controller = gpmc.msc
Active Director user and computers = dsa.msc
Add Hardware Wizard = hdwwiz.cpl
iSCSI Initiator = iscsicpl
Iexpress Wizard = iexpress

Local Security Settings = secpol.msc
Microsoft Support Diagnostic Tool = msdt
Microsoft Management Console = mmc
Print management = printmanagement.msc
Printer User Interface = printui
Problems Steps Recorder = psr
People Near Me = p2phost

Registry Editor = regedit or regedt32
Resoure Monitor = resmon
System Configuration Utility = msconfig

Resultant Set of Policy = rsop.msc
SQL Server Client Configuration = cliconfg

Task Manager = taskmgr
Trusted Platform Module = tpm.msc
TPM Security Hardware = TpmInit

Windows Remote Assistance = msra
Windows Share Folder Creation Wizard = shrpubw
Windows Standalong Update Manager = wusa
Windows System Security Tool = syskey
Windows Script Host Settings = wscript
Windows Version = winver
Windows Firewall with Advanced Security = wf.msc
Windows Memory Diagnostic = MdSched
Windows Malicious Removal Tool = mrt

Computer Management

Computer Management = compmgmt.msc or CompMgmtLauncher
Task Scheduler = control schedtasks
Event Viewer = eventvwr.msc

Shared Folders/MMC = fsmgmt.msc
Local Users and Groups = lusrmgr.msc

Performance Monitor = perfmon.msc
Device Manager = devmgmt.msc
Disk Management = diskmgmt.msc
Services = services.msc

Windows Management Infrastructure = wmimgmt.msc
Conrtol Panel

Control Panel = control
Action Center= wscui.cpl
Autoplay = control.exe /name Microsoft.autoplay

Backup and Restore = sdclt
Create a System Repair disc = recdisc
BDE Administrator = bdeadmin.cpl
Color Management = colorcpl
Credential Manager = control.exe /name Microsoft.CredentialManager
Credential Manager Stored User Names and Passwords = credwiz
Date and Time Properties = timedate.cpl

Default Programs = control.exe /name Microsoft.DefaultPrograms

Set Program Access and Computer Defaults = control appwiz.cpl,,3 or ComputerDefaults

Devices and Printers = control printers
Devices and Printers Add a Device = DevicePairingWizard
Display = dpiscaling
Screen Resolution = desk.cpl
Display Color Calibration = dccw

Cleartype Text Tuner = cttune
Folders Options = control folders
Fonts = control fonts
Getting Started = GettingStarted
HomeGroup = control.exe /name Microsoft.HomeGroup
Indexing Options = control.exe /name Microsoft.IndexingOptions
Internet Properties = inetcpl.cpl

Keyboard = control keyboard
Location and Other Sensors = control.exe /name Microsoft.LocationandOtherSensors
Location Notifications = LocationNotifications
Mouse = control mouse or main.cpl

Network and Sharing Center = control.exe /name Microsoft.NetworkandSharingCenter
Network Connections = control netconnections or ncpa.cpl

Notification Area Icons = control.exe /name Microsoft.NotificationAreaIcons
Parental Controls = control.exe /name Microsoft.ParentalControls

Performance Information = control.exe /name Microsoft.PerformanceInformationandTools

Personalization = control desktop
Windows Color and Appearance = control color

Phone and Modem Options = telephon.cpl
Power Configuration = powercfg.cpl
Programs and Features = appwiz.cpl or control appwiz.cpl

Optional Features Manager = optionalfeatures or control appwiz.cpl,,2
Recovery = control.exe /name Microsoft.Recovery
Regional and Language = intl.cpl
RemoteApp = control.exe /name Microsoft.RemoteAppandDesktopConnections

Sound = mmsys.cpl
Volume Mixer = sndvol
System Properties = sysdm.cpl or Windows logo key + Pause/Break

SP ComputerName Tab = SystemPropertiesComputerName
SP Hardware Tab = SystemPropertiesHardware
SP Advanced Tab = SystemPropertiesAdvanced
SP Performance = SystemPropertiesPerformance
SP Data Execution Prevention = SystemPropertiesDataExecutionPrevention
SP Protection Tab = SystemPropertiesProtection
SP Remote Tab = SystemPropertiesRemote

Windows Activation = slui
Windows Activation Phone Numbers = slui 4
Taskbar and Start Menu = control.exe /name Microsoft.TaskbarandStartMenu
Troubleshooting = control.exe /name Microsoft.Troubleshooting

User Accounts = control.exe /name Microsoft.UserAccounts
User Account Control Settings = UserAccountControlSettings
User Accounts Windows 2000/domain version = netplwiz or control userpasswords2

Encryption File System = rekeywiz
Windows Anytime Upgrade = WindowsAnytimeUpgradeui
Windows Anytime Upgrade Results = WindowsAnytimeUpgradeResults
Windows CardSpace = control.exe /name Microsoft.cardspace
Windows Firewall = firewall.cpl
WindowsSideshow = control.exe /name Microsoft.WindowsSideshow
Windows Update App Manager = wuapp
Accessories

Calculator = calc
Command Prompt = cmd
Connect to a Network Projector = NetProj
Presentation Settings = PresentationSettings
Connect to a Projector = displayswitch or Windows logo key + P
Microsoft Paint = mspaint.exe
Remote Desktop Connection = mstsc
Snipping Tool = snippingtool
Sound Recorder = soundrecorder
Sticky Note = StikyNot
Sync Center = mobsync

Windows Mobility Center (Only on Laptops) = mblctr or Windows logo key + X
Windows Explorer = explorer or Windows logo key + E
Wordpad = write
Ease of Access Center = utilman or Windows logo key + U
Magnifier = magnify
Narrator = Narrator
On Screen Keyboard = osk
Private Character Editor = eudcedit
Character Map = charmap

Ditilizer Calibration Tool = tabcal
Disk Cleanup Utility = cleanmgr
Defragment User Interface = dfrgui
Internet Explorer = iexplore
Rating System = ticrf
Internet Explorer (No Add-ons) = iexplore -extoff
Internet Explorer (No Home) = iexplore about:blank
Phone Dialer = dialer
Printer Migration = PrintBrmUi

System Information = msinfo32
System Restore = rstrui

Windows Easy Transfer = migwiz
Windows Media Player = wmplayer
Windows Media Player DVD Player = dvdplay
Windows Fax and Scan Cover Page Editor = fxscover
Windows Fax and Scan = wfs
Windows Image Acquisition = wiaacmgr
Windows PowerShell ISE = powershell_ise
Windows PowerShell = powershell
XPS Viewer = xpsrchvw

Open Documents folder = documents
Open Pictures folder = pictures
Open Music folder = music
Open Videos folder = videos
Open Downloads folder = downloads
Open Favorites folder = favorites
Open Recent folder = recent
Logs out of Windows = logoff
Locks User Account = Windows logo Key + L

Advertisements

TCL (Tool Command Language)

TCL is an open source scripting language. It is incorporated into cisco ios routers operating system and is available on many other vendors’ networking devices.

There are three primary reasons why network administrator should learn it. If network admins have a firm hand on tcl is definitely a VAS (Value Added Skill).

  1. Better Automation
  2. Increased Security
  3. Remote Command Line Applications

Example:

This tcl example will test connectivity between routers with ping command. The ping command is embedded inside this simple tcl script.

AccessServer#tclsh
AccessServer(tcl)#
AccessServer(tcl)#foreach address {
+>192.168.1.2
+>192.168.2.1
+>192.168.2.2
+>192.168.3.1
+>192.168.3.2
+>} { ping $address }

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/31/60 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/24/44 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/38/52 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/42/56 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/56/84 ms
AccessServer(tcl)#exit

AccessServer#

Resources:

TCL Home Page

Documentation and Demos

GNS3 and Secure CRT screen router’s tab name

Recently after some updates on my Windows 7 computer I started to face issue with router names on the console tab while running secure CRT screen in GNS3. The exact issue was every time when I run secure CRT console on GNS3 routers, the name of the routers on the tab is appearing like “Dynamips(0):R1,Console port” whereas the actual name should be just R1, R2, R3 etc. See the screen shot:

sc1

 

For me this is getting very uncomfortable when the numbers of routers grows and it is really difficult to know on which router I am actually working. Therefor I had to search out for the solution and found these two possible fixes.

  1. Right click on the Tab and Rename it. Caveat is you have to do this on each and every router.
  2. Change the terminal parameters from GNS3 preference menu. For this see the screen shots below:

sc2

 

Click on Terminal Settings and remove the /arg %d /T /telnet %h %p and change it to /T /N %d /telnet 127.0.0.1 %p

sc3

 

sc4

After changing the parameters click on Apply and Ok buttons. And then you should see the Routers names exactly on the tab when you open up the consoles.

sc5

Configuring DHCP on cisco routers:

R1(config)#service dhcp

In some older routers you have to enable the dhcp service with the above command

R1(config)#ip dhcp pool <pool name> (pool name can be any name, a pool is a range of IP addresses that the DHCP server can assign)

R1(dhcp-config)#network 192.168.100.0 255.255.255.0 (here you will specify the network that you are going to use with the subnet masks. In some router one can also use the CIDR notation for the mask like /24 )

R1(dhcp-config)#default-router 192.168.100.1 (this is the default gateway for the dhcp clients)

R1(dhcp-config)#lease 1 (the allocated address will be leased for one day)

R1(dhcp-config)# exit

R1(config)# ip dhcp excluded-address 192.168.100.1 1922.168.100.5 (these are the excluded address to avoid address conflict in the network)

R1(config)# exit

R1# sh ip dhcp binding (A binding is an IP address that is associated with a MAC address. Each time the specified host requests an IP address, the DHCP server will assign it the address specified in the binding.

Note: This is a very basic DHCP configuration. There are some other advance DHCP options as well.

What is keepalive on Router interfaces and why it is there?

What is a keepalive?

Keepalive is a way of determining the state (up or down) of an interface. There is a time interval associated with the keepalive configuration, default is 10 seconds. So the router sends a keepalive packet every 10 seconds, and if it fails to see three packets in a row than it is considered down.

Therefore, if there is cable connected to the interface then router will receive reply within 10 seconds and router knows that the interface is up. Otherwise it is considered down. However, if you configure keepalive as no keepalive or keepalive 0 than router will not send any packets and it will consider always up/up.

Hence, with no keepalive command on the interface, no matter what, the interface should remain up/up?  And this technique is helpful in simulation and testing purpose.

Lets check it out!

Default interface settings of f0/0

R1#sh int f0/0

FastEthernet0/0 is administratively down, line protocol is down

Hardware is Gt96k FE, address is c200.1868.0000 (bia c200.1868.0000)

MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation ARPA, loopback not set

Keepalive set (10 sec)

Half-duplex, 10Mb/s, 100BaseTX/FX

ARP type: ARPA, ARP Timeout 04:00:00

 

After keepalive is turned off the interface show up/up

R1(config)#int f0/0

R1(config-if)#no shut

R1(config-if)#no kee

R1(config-if)#no keepalive

R1(config-if)#end

R1#sh int f0/0

FastEthernet0/0 is up, line protocol is up

Hardware is Gt96k FE, address is c200.1868.0000 (bia c200.1868.0000)

MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation ARPA, loopback not set

Keepalive not set

Half-duplex, 10Mb/s, 100BaseTX/FX

ARP type: ARPA, ARP Timeout 04:00:00

How to save/convert word files into PDF (Portable Document File)?


Microsoft has a free Add-in for Office 2007 that will allow you to export your Word documents to PDF file. The Save As PDF add-in allows you to export and save to the PDF format in eight 2007 Microsoft Office programs. It also allows you to send files as e-mail attachments in the PDF format.
Open Microsoft Word and create your document.
1. Click the Office button (the round button with the Microsoft logo on it) and select the Save As option.
2. The Save As window will be launched. Enter a name.
3. Now, from the Save as type drop down select the PDF (*.pdf) option.

How to hide wordpress site title from the header section.

Sometimes when you have site title name already on the header image, then you don’t want to show it on the header section, right? So I had a same situation and I have done something like this and it worked for me. The best thing about this method is it doesn’t mess-up the integrity of the site and the code. You know like, it will appear exactly in the title bar and it will show in the footer note as well.

1. Open the style.css

2. Search for the h1.logo-name and change the display property to none, as shown in the image below.

3. Now refresh your site and you wouldn’t see the site title there anymore!!!