Install Windows 7

  • installation
    • method 1: normal DVD install
    • method 2: disk image restore
      1. then set system partition active
      2. (Optional) if later fail to boot “bootmgr is missing”, in PE cmd:
        bcdboot c:\Windows
  • restart and initialization
  • install drivers
    1. wifi driver
    2. audio driver
    3. USB hub driver
    4. lan driver for ethernet
    5. Intel graphic driver
    6. wacom driver
  • run windows update

Install Windows 7 on Ryzen Build

  • Problem before install:
    • Windows 7 install disk and the OS itself has no USB driver for the ryzen motherboard chipset, thus install process and post install process have no way to interact with USB keyboard or mouse, however PS2 port mouse and keyboard can be used if motherboard has that ports
    • the ryzen chipset driver tool (link) won't install USB driver when the boot disk is in a Intel CPU PC, thus pre install driver in another intel PC may not work smoothly as well
  • Solution:
    • install OS on other intel machine normally, then put the startup auto run bat file to automatically install the drivers on amd machine once booted, also make sure lower the User Access Control (ref) in control panel to the lowest, so that the startup bat file can start normally without interaction.
    • so once you get the USB working, the rest is easy, just install normally like before.

Base Apps

Customize Windows 7

  1. Disable AutoRun on all drives
    • gpedit.msc > administrator templates > windows components > autoplay polices : enable “Turn off autoplay and choose all drives”
    • reg way
      Windows Registry Editor Version 5.00
  2. Config Wacom under Control Panel
    • Wacom Pref Panel > pen click (right, mid click)
    • Pen and Touch (Control Panel)
      1. Flicks (disable)
      2. Pen option: Press hold (disable)
    • Addition Click Feedback fix (only applicable to Windows 7 Ultimate Edition or higher)
      1. gpedit.msc
      2. User Configuration - Administrative Templates - Windows Components - Tablet PC - Cursor
      3. and Computer Configuration - Administrative Templates - Windows Components - Tablet PC - Cursor
      4. Enable the Turn off pen feedback setting
    • Tablet PC setting
      1. Other: input panel setting> Opening (un-check all to disable)
  3. Config Windows UI Interaction (Mouse, Keyboard):
    1. Turn off auto Window Management
      1. go Control Panel > Ease of Access Center > Make the mouse easier to use
      2. check Prevent windows from being auto move
    2. Turn off input method shortcut
      1. Control Panel > Region and Language > Keyboard and Language tab > click Change keyboards
      2. under Advanced key setting
        • alt+shift: none (between input language)
        • ctrl+space: ctrl+ shift + F11 (language Ctrl+space off)
        • ctrl+period: ctrl+shift+F12 (punctuation toggle) (failed)
    3. Config Power setting
      • Monitor off: 10min; Sleep: Never (60min for laptop)
    4. Config Windows UI Theme
      1. Control Panel > Personize
        • theme: classic
        • background: user
        • sound: afternoon. cityscape
        • Start Menu > Customize > no quick launcher
          • no control panel
          • no default program
          • no documents
          • no game
          • no help
          • no music
          • yes network
          • no picture
          • no search filerecent
          • recent app: 2
          • recent item: 0
    5. Config Taskbar:
      • use small buttons
      • never combine windows
      • no show taskbar on all display
    6. Config Folder Viewing
      1. Tool > Option > View Tab
        • check : display hide file
        • uncheck : hide extension for know file types
    7. Config Storage
      1. Turn off Hibernate feature to save Disk Space from RAM Hiberate Storage ( = RAM size)
        • run cmd as admin
          powercfg -h off
      2. Check RAM Pagefile size ( = RAM size)
      3. Turn off Windows Feature > Game
    8. Configure Security
      1. advanced system properties:
        • Remote: no remote allowed
    9. Configure annoying stuff
      1. action center turn off
        Control Panel\All Control Panel Items\Action Center

Last Step - Backup System Image

  1. clean up before backup and restore
    1. move user folders
    2. move browser Bookmark, clear browser History
    3. clean tmp folder
    4. clean run history
      reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU" /va /f >nul 2>nul
    5. clean Explorer: Recent Places
  2. backup System Image

Optional - Common App Install

    1. mel plugin
      %PROGRAMFILES(X86)%\Notepad++\plugins\APIs mel.api
      %appdata%\Notepad++ insertExt userDefineLang
    2. python script (or from plug-in manager)
      C:\Program Files (x86)\Notepad++
      \\ .\plugin
      C:\Program Files (x86)\Notepad++\plugins
    1. disable the IE toolbar
      Control Panel\All Control Panel Items\Programs and Features
  1. winrar (7zip)
    1. Microphone setup > Microphone array (IDT high definition audio codec)
  2. google japanese input
  3. sougou chinese input
  4. media player classic:
    1. disable the IE toolbar
      Control Panel\All Control Panel Items\Programs and Features
  5. quicktime pro
    1. run from admin right cmd
  6. DiskInternals Linux Reader

Shortcut and Speed Tricks

  • allow shortcut to be run directly from Run prompt (Win key+R)
    1. in Computer icon > Right click menu > property > Advanced System Property window > Advanced Tab > Environment variable button
    2. inside Environment Variables window > User Variable panel >
      1. add your shortcut folder to the PATH variable (use ; to separate each path), create if not there
      2. add shortcut .lnk extension recognition in PATHEXT variable as %PATHEXT;.lnk (create if not there)
  • add custom toolbar (folder of shortcuts) on windows task bar
    1. right click menu on windows task bar > unlock the taskbar
    2. then, right click menu on windows task bar > Toolbars > New Toolbar, and browse the folder of your shortcuts
    3. to make the slim look, right click on the new toolbar menu > uncheck show title, uncheck show text to make it icon only toolbar

Firewall Setup and Config Import and Export

  • go to firewall panel from Run
  • common cmd to add and list firewall in cmd window
    REM show rule detail by name
    netsh advfirewall firewall show rule name=YourRuleName
    REM add a app-blocking rule
    netsh advfirewall firewall add rule name="myApp" dir=out action=block program="D:\path_to_app\myApp.exe"
    REM import and export rule in binary
    netsh advfirewall export "D:\tmp\fw-rules.wfw"
    netsh advfirewall import "D:\tmp\fw-rules.wfw"
    REM export rule in reg format in admin mode
    regedit /E D:\zTmp\fw.reg "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\FirewallRules"
    REM restore to default rule
    netsh advfirewall reset
  • techwiki/win7.txt
  • Last modified: 2021/08/28 08:45
  • by ying