Category Archives: Windows

Windows Unable to update the password

Error: Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirements of the domain

If you are meeting the complexity and length requirements. You are most likely not meeting the history requirements. Which means the password was recently changed and you will have to wait depending on the length set in the password policy.

Check the local security policy settings on the system under the control panel – Administrative – local security policy.

Powershell hostname lookup

Below are some samples on how to use GetHostEntry via Powershell. If your host is part of a domain controller and returns a unknown host error. Try pinging or traceroute to that host. Then try the lookup again.

[System.Net.Dns]::GetHostEntry(“127.0.0.1”)
[System.Net.Dns]::GetHostByAddress(“127.0.0.1”)
[System.Net.Dns]::GetHostEntry(“”)
[System.Net.Dns]::GetHostEntry(“yahoo.com”)

Per MSDN, GetHostEntry will try NETBIOS to resolve the hostname if DNS fails. This could by why your workstation returned a result.

reference : https://msdn.microsoft.com/en-us/library/ms143998(v=vs.110).aspx

Windows 10: INACCESSIBLE_BOOT_DEVICE

Create a boot USB or DVD

Downloading windows 10 from https://www.microsoft.com/en-us/software-download/windows10

run the new disk on the broken PC and use the repair option. Go to the command prompt and type

C:\ BCDEDIT /SET {DEFAULT} BOOTMENUPOLICY LEGACY

 

 

 

Windows 10 power button missing from login screen

Add Shutdown Button with Group Policy

  1. Press the Windows key + R to bring up the Run box. Type gpedit.msc and press Enter to open the Local Group Policy Editor.
  2. In left-side pane, navigate to Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options.
  3. In the right pane select the “Shutdown: Allow system to be shut down without having to log on” policy and double-click on it. SelectEnable and click Apply and OK.

Windows 10 home users 

 

AddShutdown Button with Registry Trick

  1. Press the Windows key + R to bring up the Run box. Type regedit and press Enter to open the Registry Editor.
  2. In left-side pane, navigate toHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.
  3. In the right pane, double-click on shutdownwithoutlogon and set its value to 1 as shown in screenshot below:

A restart may be required.

Reset Internet Explorer and Microsoft Edge to default

Reset Internet Explorer and Microsoft Edge to default
Internet Explorer::
1) Right click the windows symbol on the lower left hand corner .
2) Click the control panel
3) Search for internet options
4) Under the advanced tab click reset under “reset internet explorer settings ” . Select the box next to
delete personal settings and click the reset button . After the reset has been completed click the close button
5) Reopen internet options , under advance click on restore advance settings. then click apply.
6) Go under General and click delete under browsing history . select all boxes and click the delete button.
Click the apply button and click ok.
Microsoft Edge ::
1) Right click the windows symbol on the lower left hand corner .
2) click on command prompt (admin)
3) type the below without the quotes .You can also copy and past into this window. Right click the mouse to paste
“rmdir /S C:\Users\%username%\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe “
5) Right click the windows symbok on the lower left hand corner. Click search and search for “powershell”
Right click powershell and select run as administrator
4 ) Type the below without the quotes. You can also copy and past into this window. Right click the mouse to paste
“Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}”
IE and Microsoft Edge has now been reset to default
You can close the command prompt and powershell window.