Windows List with commands

Configurare noua (How To)

Situatie

List with more commands prompts of Windows.

Solutie

System Repair & Health
sfc /scannow Scan & repair system files
DISM /Online /Cleanup-Image /RestoreHealth – Repair Windows image
chkdsk C: /f/r – Check and repair disk errors
systeminfo Display system information
ver Show Windows version
shutdown /r/f /t 0-Force restart
shutdown /s/f /t 0-Force shutdown
powercfg /energy – Generate energy report
powercfg/batteryreport – Battery health report
cleanmgr Open Disk Cleanup

Network Troubleshooting
ipconfig /all-Display all IP info
ipconfig /release – Release IP address
ipconfig /renew – Renew IP
ipconfig /flushdns – Clear DNS cache
netsh winsock reset – Reset Winsock
netsh int ip reset – Reset TCP/IP
ping 8.8.8.8 – Test internet connection
tracert google.com – Trace route
nslookup google.com – DNS lookup
netstat -an List all network connections
route print – Display routing table
arp -a – Display ARP cache
netsh wlan show profile – Show WiFi profiles
netsh wlan delete profile name=profile – Delete WiFi profile
netsh wlan export profile key=clear – Export WiFi keys
netsh interface show interface – Show network interfaces
netsh advfirewall reset – Reset firewall rules
net stop dhcp-Stop DHCP service
net start dhcp-Start DHCP service
netsh firewall show state – Show firewall state

Disk & File Management
diskmgmt.msc – Disk Management
defrag C: Defragment disk
format D: /fs:ntfs – Format drive D
robocopy source destination /E- Copy files with structure
xcopy source destination /E /H/C/I- Copy directories
del /f/s/q C:\Windows\Temp\”. – Delete temp files
rmdir /s/q foldername – Delete folder
attrib -h -r -s /s/d *.* – Remove hidden attributes
fsutil dirty query C: – Check dirty bit
sdelete -p 3 filename – Securely delete file

User & Account Management
net user List users
net user username password /add – Add user
net localgroup administrators username /add – Make admin
net user username /delete – Delete user
net user administrator /active:yes – Enable admin
net user administrator /active:no – Disable admin
control userpasswords2 – Advanced account settings
lusrmgr.msc – Local Users and Groups
whoami /groups-Display user groups
rundll32.exe user32.dll, LockWorkStation – Lock PC

System Configuration & Services
msconfig – System configuration
services.msc – Manage services
taskmgr – Task Manager
eventvwr
Event Viewer
perfmon Performance Monitor
resmon Resource Monitor
gpedit.msc Group Policy Editor
secpol.msc – Local Security Policy compmgmt.msc – Computer Management
sysdm.cpl – System Properties

Windows Update & Activation
wuauclt/detectnow – Force update
check wuauclt/updatenow – Start updates
usoclient startscan – Scan for updates
usoclient startinstall – Install updates
control update – Open Windows Update
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX- Install key
slmgr/ato – Activate Windows
slmgr /xpr-Check activation status
slmgr/rearm – Reset activation timer
sc query wuauserv – Check update service status

Boot & Startup Repair
bcdedit /enum all – Display boot entries
bootrec /fixmbr – Repair MBR
bootrec /fixboot – Repair boot sector
bootrec /scanos – Scan installations
bootrec /rebuildbcd – Rebuild boot configuration
bcdboot C:\Windows – Recreate boot files
reagentc/enable – Enable recovery environment
bcdedit /set (default) safeboot minimal – Safe mode boot
bcdedit /deletevalue (default) safeboot – Exit safe mode
srttrail.txt – View startup repair log

Security & Firewall
wf.msc – Windows Firewall settings
netsh advfirewall show allprofiles – Show firewall profiles
netsh advfirewall set allprofiles state off – Disable firewall
netsh advfirewall set allprofiles state on – Enable firewall
rstrui – System Restore
mrt Malicious Software Removal Tool
WindowsDefender: – Open Windows Security
explorer ms-settings:windowsdefender – Defender settings
net accounts /minpwlen:8 – Set minimum password length
net accounts /maxpwage:30 – Set password expiry
PowerShell Admin Tools

PowerShell Admin Tools
Get-EventLog -LogName System -Newest 20
Get-Service | Where-Object {$_.Status -eq ‘Running’)
Restart-Service Spooler
Stop-Process -Name notepad
Get-Process | Sort CPU -Descending | Select -First 10
Get-Disk
Get-NetAdapter
Test-Connection google.com
Get-WindowsFeature
Restart-Computer -Force
Get-ChildItem Env: – Show environment vars
Get-Command *network” – Find network commands
Get-Help Get-Process – Show help
Set-Execution Policy RemoteSigned
Get-WmiObject Win32_OperatingSystem
Get-HotFix List installed updates
Get-LocalUser
Enable-LocalUser -Name Administrator
Disable-LocalUser -Name Guest Get-ComputerInfo

Misc and Utilites
control printers – Printers folder
hdwwiz.cpl – Add Hardware Wizard
timedate.cpl – Date and Time settings
ncpa.cpl Network connections
inetcpl.cpl – Internet options
main.cpl Mouse settings
desk.cpl Display settings
appwiz.cpl – Programs and Features
joy.cpl Game controllers
mmsys.cpl-Sound settings.
intl.cpl Region settings
powercfg.cpl Power options
logoff Log off current user

Tip solutie

Permanent

Voteaza

(4 din 9 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?