Skip to content
Authors: fire1ce | Created: 2022-06-15 | Last update: 2024-02-26

Windwos 10/11 Tweeks

Some tips and tricks and Tweeks for Windows 10/11 that may be helpful or even essential for you

Deblot Windwos 10/11 Powershell Script

Source: Windows10Debloater Github Page

Run as Administrator:

iwr -useb https://git.io/debloat|iex

Windows10Debloater

Enable the Legacy Context Menu in Windows 11

To enable the context menu that appeared in Windows 10 and earlier, you can use the following PowerShell snippet.

New-Item -Path "HKCU:\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" -Value "" -Force

You may need to log out and log back in or restart explorer.exe.

Get-Process explorer | Stop-Process

The context menu will now look like this:

content-menu

Allow ICMP (Ping) in Windows Firewall

The following commands will allow ICMP (Ping) in Windows Firewall. Use Powershell as Administrator to run the following commands.

For IPv4:

netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol="icmpv4:8,any" dir=in action=allow

For IPv6:

netsh advfirewall firewall add rule name="ICMP Allow incoming V6 echo request" protocol="icmpv6:8,any" dir=in action=allow

Activate Administrator User

Hit the Windows Key + R and type

lusrmgr.msc

Edit Administrator, remove the - [x] Account is disable. ok

Right Click on Administrator and click Set Password

Lunch "Network Connections"

Hit the Windows Key + R and type

ncpa.cpl

Add Program to Startup - Windows 7,8,10 & Servers

Hit WIN+R or from start menu search run and press enter.
At run dialog enter shell:common startup:

shell:common startup

  • Create shortcut for the program you want to auto startup when Windows boots.
  • Move the shortcut to the Startup folder that opened before.

Reboot or Shutdown Windows From Command Line (CMD)

Reboot windows computer This command will set a time out of 10 seconds to close the applications. After 10 seconds, windows reboot will start.

shutdown /r /t 10

Force reboot

shutdown /r /f /t 0

Force Shutdown

shutdown /s /f /t 0

Comments