≡ Menu

Learn how to check VPN connection status on your Windows system from command prompt.  Netsh command is used to find connection status of different networks, including the VPN. Run the below command to find the VPN status c:\>netsh interface show interface An example run on my Windows 7 computer when I am connected to VPN. [...]

Windows automatically shares certain folders over the network, examples being C drive, C:\Windows & IPC$. Learn how to disable these administrative shares from command prompt. Execute the below net share command to delete the system/hidden shares. net share sharedFolder /delete So to delete each of the system shares, we can run a separate command net [...]

Do you need to find DNS address of a website from command prompt? Learn how to use Windows command nslookup to find DNS addresses. Run below command to find DNS address. nslookup DomainName An example command below that finds DNS address for this website. C:\>nslookup www.windows-commandline.com Server: UnKnown Address: Non-authoritative answer: Name: www.windows-commandline.com Addresses: [...]

Learn how to configure a user account so that the password never expires. This can be done from Windows command prompt as well as in "local user accounts" console. Run the following steps to disable password expiry from command line. Open elevated admin command prompt Run the command. WMIC USERACCOUNT WHERE Name='username' SET PasswordExpires=FALSE Example: [...]

Check IP address from CMD

Ipconfig command is used to find the IP address of a system from command line. Run the command ipconfig to print IP addresses for all network adapters installed on the system. c:\>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . [...]

Learn how to open Remote desktop from Run window. Remote desktop(RDP) client is used to connect to a remote Windows machine that is running RDP server. Run the command mstsc to open remote desktop Just open Run from start menu and type mstsc in the text box next to open and press enter. This command mstsc [...]

Learn the command to open disk management console from Run/command prompt. In disk management console, we can create/delete partitions and format drives. Execute the command diskmgmt.msc to open disk management console from Run. Same command can be used from CMD as well. c:> diskmgmt.msc

There are couple of Run commands for Windows update. The run commands are very handy to launch an application quickly without the need to find the same in list of programs or on filesystem. Windows has a run command for almost every application or configuration tool. The run commands for Windows update are wuapp (or) control [...]

Learn how to open Services console(In older versions this was called Service management console) from Run. From this console we can start or stop a service and also set the service start type to automatic/manual/disabled etc. The run command to open services console is Services.msc The command Services.msc can be used from command prompt as [...]

Lean run command to open control panel on a Windows computer. Control panel shows links to various configuration utilities, which are handy for administrators for computer maintenance. Run command to open control panel is 'control'.  You can follow the below steps to launch control panel. Open Run window from Start menu. Alternatively, you can press [...]