Skip to content

Instantly share code, notes, and snippets.

@wangyung
Last active September 18, 2020 17:32
Show Gist options
  • Save wangyung/3c50a9bc32f63c10b0421f5e045f16d7 to your computer and use it in GitHub Desktop.
Save wangyung/3c50a9bc32f63c10b0421f5e045f16d7 to your computer and use it in GitHub Desktop.
windows tips #tips #windows
  1. Fix the hidden attribue can't be changed in files
    attrib -s -h file1, file2 …

  2. Recovery "show desktop" command

#Edit Desktop.scf with
[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop
  1. Enable/disable administrator account
    net user administrator password /active:yes(no)

  2. Launch system environment variables page.
    rundll32 sysdm.cpl,EditEnvironmentVariables

  3. Generate GUID.

    • Open Powershell and input [guid]::NewGuid()
  4. Open Start menu folder directly.
    %appdata%\Microsoft\Windows\Start Menu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment