Wednesday 28 December 2022

How to fix Windows 11 update stuck at 0%, 61%, 99%, 100%

  • Turn off Windows Update and Background Intelligent Transfer Service
  • Open the Start menu search, type “cmd”, and then select the “Run as administrator” option to launch an elevated Command Prompt.
  • Execute the command net stop wuauserv and net stop bits in order.
  • Close Command prompt
  • Delete the update files in the SoftwareDistribution folder
  • Navigate to C:\Windows\SoftwareDistribution and select all the files and folders there.
  • Right-click on the selected items and select Delete. If you fail to delete them, restart your computer and try again.
  • Turn on the services again
  • Launch Command Prompt in Admin mode. 
  • Run the command net start wuauserv and net start bits one by one.
  • Exit Command Prompt.


Saturday 10 December 2022

Setup TFT Server on Windows

  • Download and install the free TFTP Server from SolarWind
  • Configure the server 
  • Push file to tftp server: tftp -i localhost put d:\123.img
  • Pull file from tftp server: tftp -i localhost get 123.img d:\123.img
  • Default tftp file location on disk: C:\TFTP-Root
  • Visit here for more info

Find the Windows Product Key

PowerShell
powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"


Command Prompt
wmic path softwareLicensingService get OA3xOriginalProductKey


Registry
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform


Sunday 4 September 2022

Unsupported Transceiver in Cisco Catalyst Switch Sub-module

All SFP modules contain a number of recorded values in their EEPROM and include

  • Vendor Name
  • Vendor ID
  • Serial Number
  • Security Code
  • CRC

Force CISCO Switch to use 3rd Party SFPs
Despite the error displayed, which leaves no hope for a solution, keep smiling as you're about to be given one. There are two undocumented commands which can be used to force the Cisco Catalyst switch to enable the GBIC port and use the 3rd party SFP:

Host(config)# service unsupported-transceiver

Warning: When Cisco determines that a fault or defect can be traced to the use of third-party transceivers installed by a customer or reseller, then, at Cisco's discretion, Cisco may withhold support under warranty or a Cisco support program. In the course of providing support for a Cisco networking product, Cisco may require that the end user install Cisco transceivers if Cisco determines that removing third-party parts will assist Cisco in diagnosing the cause of a support issue.

Host(config)# no errdisable detect cause gbic-invalid


Chrome Browser: Managed by the Organization on a Personal Computer

"If you have Microsoft Windows, Apple macOS, or Linux devices that are no longer being used in your organization, you might decide to repurpose and distribute them for personal use. Or, some users might purchase a second-hand Windows or macOS device, where Chrome browser was previously managed by an administrator in a school, company, or other group. 

If devices are not properly reset, an administrator might still manage Chrome browser. Before you repurpose a device, stop managing or delete the Chrome browser." Reference


Tuesday 19 July 2022

How to Disable ‘Show More Options’ from the Right Click Menu in Windows 11

  1. Click on the Start Menu and Search for “Command Prompt”.
  2. Press “Run as Administrator” under Command Prompt
  3. Once Command Prompt’s window opens you can put the following command and press enter:
reg add HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /ve /d "" /f


Tuesday 22 February 2022

ARP and Clear ARP Cache Entries

Windows

  • View arp cache: arp -a
  • Clear arp cache: netsh interface ipv4 delete arpcache

Linux

  • View arp cache: arp -n
  • Clear arp cache: ip -s -s neigh flush all


How to Get Full Context Menus in Windows 11

  1. Open Registry Editor 
  2. Navigate to HKEY_CURRENT_USER\SOFTWARE\CLASSES\CLSID\
  3. Create a new registry key called {86ca1aa0-34aa-4e8b-a509-50c905bae2a2} underneath CLSID
  4. Create a new key called InprocServer32 underneath {86ca1aa0-34aa-4e8b-a509-50c905bae2a2}
  5. Open the (Default) key in InprocServer32 and set its value to blank, then click OK.
  6. Close registry editor and reboot

Saturday 19 February 2022

Can't Delete ARP Cache on Windows

arp -d produce an error: 

The ARP entry deletion failed: The parameter is incorrect.

Use the following command instead:

netsh interface ip delete arpcache


Upgrade Windows 11 Home to Windows 11 Pro

Disable internet connection (Wi-Fi, Internet, etc.) Change the product key using the following Generic product key:                     VK7J...