SELECT DISK 1
ONLINE DISK
If readonly
ATTRIB DISK CLEAR READONLY
list disk
rescan
sel disk 1
create partition primary (create part prim)
assign letter=X
sel part 1
format fs=ntfs label="LABELNAME" quick
netsh advfirewall set allprofiles state on netsh advfirewall set allprofiles state off netsh advfirewall firewall add rule name="ADM LAN" dir=in action=allow enable=yes remoteip=192.168.100.0/24
Get-NetAdapter | Select-Object InterfaceAlias , InterfaceIndex Get-NetIPConfiguration Remove-netipaddress -interfaceIndex 2 Remove-NetRoute –NextHop "192.168.0.1" Get-NetIPConfiguration New-NetIPAddress -InterfaceIndex 2 -IPAddress 192.168.0.15 -PrefixLength 24 -DefaultGateway 192.168.0.1 Get-DnsClientServerAddress -InterfaceIndex 2 set-DnsClientServerAddress -InterfaceIndex 2 -ServerAddresses ("8.8.8.8","1.1.1.1")
Add this to registry REG ADD HKLM\SYSTEM\CurrentControlSet\Services\PolicyAgent /v AssumeUDPEncapsulationContextOnSendRule /t REG_DWORD /d...