Windows 10

From AlphaBook
Jump to: navigation, search

CMD & PowerShell

  • Run as administrator

Runas

  • runas /noprofile /user:alphabook\adm-htshen cmd

Enable Telnet Client

  • Enable-WindowsOptionalFeature -FeatureName TelnetClient -Online

Enable .Net 3.5

  • DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:D:\sources\sxs

.NET Framework Repair Tool

Windows Store Reset

  • WSReset.exe

Quick access is slow to load

  • View -> Options -> Change folder and search options (Disable below options)
    • Show recently used files in Quick access
    • Show frequently used folders in Quick access

Sync Time

  • w32tm /resync
  • Start-Service -Name W32Time
  • Set-Date -Date 2017/10/01
  • Set-Date -Adjust 12:00

Hotkey

  • Alt + F4 (Close current application window)
  • Windows key + Space (Switch Input Methods)

Get installed applications with PowerShell

  • Get-ItemProperty -path HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*,HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*

Uninstall an application with command

  • UninstallString: "C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeClickToRun.exe" scenario=install scenariosubtype=uninstall
    • DisplayLevel=False (silently)
  • UninstallString: MsiExec.exe /I{2200E27C-064E-4F0D-A6B3-4A757BE0CBDF}
    • /quiet (silently)

Delete service manually

  • Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services
  • Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

Wallpaper

  • C:\Windows\Web\Wallpaper

Missing fonts in Office 2016

A security package specific error occurred (1825) when remote computer management

  • Duplicated IPs?

There is a problem with this website’s security certificate. the “Continue to this website (not recommended).” option is missing

  • The root certification of the website may be missing on the specific Windows system

Failed to open the Group Policy Object on this computer. You may not have appropriate rights.

  • Rename the Machine and User folder under path C:\Windows\System32\GroupPolicy

Error 0X80072EE2 when active Windows operation system

  • Check network connection

Error 0X80072F8F when active Windows operation system

  • Try change time days back temporarily

Exchange 2016 admin tool

  • Enable-WindowsOptionalFeature -Online -FeatureName IIS-ManagementScriptingTools,IIS-ManagementScriptingTools,IIS-IIS6ManagementCompatibility,IIS-LegacySnapIn,IIS-ManagementConsole,IIS-Metabase,IIS-WebServerManagementTools,IIS-WebServerRole

Windows 10 release information

Get Windows License Key using PowerShell

  • (Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey

Add drivers to an offline Windows image

  • Dism /Mount-Image /ImageFile:C:\test\images\install.wim /MountDir:C:\test\offline
  • Dism /Image:C:\test\offline /Add-Driver /Driver:c:\drivers /Recurse
  • Dism /Unmount-Image /MountDir:C:\test\offline /Commit
  • Sometimes /Index option is needed
  • Dism /Get-ImageInfo /ImageFile:C:\test\images\install.wim
  • Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Index:1 /MountDir:C:\test\offline
  • Dism /Image:C:\test\offline /Add-Driver /Driver:c:\drivers /Recurse
  • Dism /Unmount-Image /MountDir:C:\test\offline /Commit