IP

free ip address

ipconfig / release

see all ip address

ipconfig / all

renew dns

ipconfig / flushdns

renew ip to other

ipconfig / renew

set DNS to interface

netsh int ip set dns name="name_of_network_interface" static 8.8.8.8 8.8.4.4

fix net reset winsock

netsh winsock reset

   

   

Open PowerShell as Administrator:

Get-NetAdapter

Create a New NetSwithTeam

NetSwitchTeam -Name "MyTeam" -TeamMembers "Enternet1", "Enternet2"

to remove

Remove-NetSwitchTeam -Name "MyTeam"

see config

Get-NetSwitchTeam

   

   

Wim Capture Image

need external disk image capture to d:\

old method for windows 7

e:\imagex.exe /capture c: d:\install.wim "my windows 7 install" /compress fast /verify

new method

dism /capture-image /imagefile:"d:\Win7.wim" /capturedir:c:\ /name:“Windows10” /compress:fast /verify 

   

   

Godmod

.{ED7BA470-8E54-465E-825C-99712043E01C}.

dsregcmd /status

   

   

Change password

net user administrator *

   

   

Windows 11 bypass

oobe\bypassnro

or

start ms-cxh:localonly

   

   

Find Windows key

wmic path softwarelicensingservice get OA3xOriginalProductKey

   

   

Powershell Aggrigate LAN

############# New-NetSwitchTeam ##################################

List adapters

Get-NetAdapter

Create new aggrigate adapters

New-NetSwitchTeam -Name "SwitchTeam01" -TeamMembers "Ethernet 2","Ethernet 3"

Remove aggirate LAN’s

Remove-New-NetSwitchTeam -Name "SwitchTeam01"

   

   

Free Disk Space in Windows

Delete files from temp

C:\Windows\Temp

 

Delete user cache %temp%

%USERPROFILE%\AppData\Local\Temp

 

Delete windows update files

C:\Windows\SoftwareDistribution\Download

 

Delete logs

C:\Windows\Logs

 

Delete Prefetch

C:\Windows\Prefetch

 

Hibernation off

powercfg -h off

Delete hibernation file hiberfil.sys

c:\hyberfil.sys

 

Delete files from WinSxS

dism.exe /online /cleanup-image /AnalyzeComponentStore
dism.exe /online /cleanup-image /StartComponentCleanup
C:\Windows\WinSxS

 

Delete files from Downloads folder

%USERPROFILE%\Downloads

   

   

Old Printers and Devices on Windows 11

shortcut

explorer.exe shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}

   

   

Short Command

Network Connection

ncpa.cpl

   

   

Shortcut Run with Administrator

runas.exe /user:test\administrator /savecred "C:\Program Files\AnyBurn\AnyBurn.exe"

runas /user:test\administrator /savecred "C:\Program Files\AnyBurn\AnyBurn.exe"