Important Windows Commands

This guide has got a set of Important Windows Commands which are useful to fix your computer issues. These commands are for various fixes, we have aggregated important commands at one place so that it is easy to get and copy this information. These commands work for Windows 11, Windows 10, Windows 8 and Windows 7 Operating System. These will work for desktop as well as laptop computers. Lets look at some important windows commands.

Ping Command

Ping! If you listen intently, you may hear the ping command in action. A ping network test sends data packets to a specified IP address, confirming or denying connection between IP-networked devices.

In the event of confirmation, a ping test will reveal the "latency" (i.e., the duration of the response time). A decreased latency delivers a better experience, since even milliseconds might count in circumstances when a quick reaction is required, such as online gaming.

Command 1

ping www.google.com

ipConfig Command

Your IP address may be found in the Control Panel, but it takes a few clicks to get there. The ipconfig command returns your computer's IP address and other information quickly, such as the ip of its access point if you want to find the Ip address of your router's web interface.

To use the command, open the Command Prompt and type ipconfig. You'll get a list of all the network connections that are active on your computer. If you're using Wi-Fi, look for "Wireless LAN adapter" or "Ethernet adapter" if you're using a wired network. You may get more additional information by using the ipconfig /all command.

Command 2

ipconfig /all

Command 3

ipconfig /release

Command 4

ipconfig /renew

Command 5

ipconfig /flushdns

Get-AppxPackage

With the help of Get-AppxPackage command, it is possible to get a list of app packages that have been installed in a user profile by using the Get-AppxPackage cmdlet. The file name extension of an application package is either.msix or.appx. Using administrator rights will allow you to acquire the list of packages for a user profile that is not the current user. To do so, use this important windows command with administrator permissions.

Command 6

Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Command 7

Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Reg Add SafeMode Booting

When windows does not work this command is used. In order for Windows Installer to function properly in safe mode, you must create a registry entry for each kind of safe mode that you are currently logged into. Safe Mode is activated.

Command 8

REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer" /VE /T REG_SZ /F /D "Service"

net start msiserver

The net start statement is used to launch an internet services or to list the network services that are currently operating. The net statistics command may be used to display the network statistics log for the Server or Workstation service, respectively. When you want to terminate a network service, you may use the net stop command. When you are using the Command Prompt in any of the Windows operating systems, you will be able to use the net command. Use the net start command to start or list running services on a local area network (LAN). 

Command 9

net start msiserver

Wuauclt.exe Update Command

The wuauclt.exe programme may be found in the C:Windows folder. Windows\System32
It automatically scans the Microsoft website to see if there are any operating system updates available. Whenever it is waiting for a response, for example, when it needs to confirm permission to download an update, it will appear in the Task Manager's processes list. It is the wuauclt.exe /updatenow command that is really causing an update detection to happen. If there are any updates authorised for installation that the client requires, they will be downloaded when this windows command is executed.

Command 10

wuauclt.exe /updatenow

SFC Windows Command

The Windows System File Checker (SFC) is a programme that comes pre-installed on all current versions of the Windows operating system. It is possible to fix faulty system files in Windows with this utility. System File Checker (SFC) may be executed with administrator capabilities both from inside Windows and from a Windows recovery disc, according to Microsoft.

Command 11

sfc /scannow


Command 12

sfc /scanfile=c:\windows\system32\ieframe.dll


Command 13

sfc /verifyfile=c:\windows\system32\ieframe.dll

Assoc Command

Assoc is a command (internal) that can be found inside the Windows Command Chipset Command Prompt that allows for the association of file extensions with file types. A file extension is often the final few characters in the File Name after the period (".") in the file name. Despite the fact that it is not required for a file to have an attachment at all (in case of extension-less files). 


Command 14

assoc

Check Disk Command

It was included in previous MS-DOS versions of the Microsoft operating system, as well as later versions of the Microsoft operating system. From Windows NT 3.1 and above, chkdsk runs as a 32-bit software that can also read and write to discs in the NTFS format. When running on Windows XP or above, the utility has a disc scanning capability with a basic graphical interface that utilises the disc service in the background but only provides two of the numerous choices available via the service's menu bar. It is covered in detail in this article how to utilise the many chkdsk command options and arguments that are available, along with how to customise the tool to suit your needs.

Command 15

chkdsk

Netsh Command

When you execute Netsh as a command-line scripting programme, you may see or alter the network settings of a machine that is presently operating on the network. Netsh commands may be executed by entering them into the netsh prompt, and they can also be included in batch files or scripts to perform various tasks. 

Command 16

netsh winsock reset

Command 17

netsh int ip reset

DISM Commands

It is possible to service and prep Windows images, such as those used for Windows PE, System Restore Environment (Windows RE), and Windows Setup, using the command-line utility DISM.exe. DISM.exe is a command-line programme for servicing and preparing Windows images. If you have a Windows image (.wim) or a virtual hard drive, you may use DISM to service them (.vhd or .vhdx).

When you install Windows, DISM is already installed and accessible through the command line or using Windows PowerShell. For further information on how to use DISM with PowerShell, see Deployment Imaging Servicing Management (DISM) Cmdlets in Windows PowerShell (Windows PowerShell Reference).

Command 18

Dism /Online /Cleanup-Image /CheckHealth

Command 19

Dism /Online /Cleanup-Image /RestoreHealth

NET Command

The net Tool Prompt command allows you to handle practically every aspect of a network and its settings, including network shares, connection print jobs, and network users, from a single command prompt. The net command is available in all Windows versions, including Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP, and can be accessed via the Command Prompt.

Command 20

net stop wuauserv

Command 21

net stop msiserver

Command 22

net stop cryptsvc

Command 23

net stop bits

Command 24

net start wuauserv

Command 25

net start msiserver

Command 26

net start msiserver

Command 27

net start bits

Command 28

net user administrator /active:yes

GPUpdate Command

GPUdate is a Windows program that is included with all versions of the Windows system and network operating systems. It may be used to update graphics cards. By design, Windows will refresh group settings option every 3 hours or whenever the machine is restarted, whichever occurs first. There are occasions when you need to make an urgent change to the policies of a computer and waiting 90 minutes is not a viable choice. A policy update may be forced by using the gpupdate command, which is available on the command line.

 Command 29

gpupdate /force

Command 30
sc config wuauserv start=auto

 Command 31

sc config bits start=auto

 Command 32

sc config cryptsvc start=auto

 Command 33

sc config trustedinstaller start=auto

 Command 34

ren c:\windows\softwareDistribution softwareDistribution.old

 Command 35

ren c:windows\system32\catroot2 catroot2.old

 Command 36

Get-AppXPackage -AllUsers -Name Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" -Verbose}

 Command 37

net start cryptsvc

 Command 38

wuauclt.exe /updatenow

 Command 39

net stop appidsvc

 Command 40

DISM.exe /Online /Cleanup-Image /ScanHealth

 Command 41

DISM.exe /Online /Cleanup-Image /RestoreHealth

 Command 42

netsh int ip reset c:\Resetlog.txt

 Command 43

netsh winsock reset

 Command 44

ipconfig /flushdns

 Command 45

exit

 Command 46

ext

 Command 47

POWERCFG /HIBERNATE ON

 Command 48

Dism.exe /online /enable-feature /featurename:NetFX3 /source:C:\ /LimitAccess


Add to Chrome, in case you missed. 

1: Starts as soon as you open a "New tab" on chrome
2: Makes your computer stand out & a masterpiece.

Best Chrome Extensions

You have our undying gratitude for your visit!