Windows 7: Difference between revisions

From miki
Jump to navigation Jump to search
Line 127: Line 127:


== Keyboard shortcuts ==
== Keyboard shortcuts ==
Aero shortcuts [http://lifehacker.com/5390086/the-master-list-of-new-windows-7-shortcuts]:
Aero shortcuts:
* {{kb|Win-Up}} - Maximize window
* {{kb|Win-Up}} — Maximize active window.
* {{kb|Win-Down}} - Restore / minimize window
* {{kb|Shift-Win+Up}} — Maximize active window vertically.
* {{kb|Win-Left}} - Snap left / Move to left display / restore
* {{kb|Win-Down}} — Restore / minimize window.
* {{kb|Win-Right}} - Snap right / Move to right display / restore
* {{kb|Win-Left/Right}} — Dock the window left/right, possibly to the display on the left/right, or restore
* {{kb|Shift-Win-Left/Right}} — Move the window to the display on the left or right.
* {{kb|Win-Home}} — Clear all but active window.
* {{kb|Win-Space}} — Make all windows transparent.

Revision as of 11:27, 6 July 2015

Tips

Miscellaneous

Windows Explorer
  • Press shift then right click, to get more options in context menu / SendTo folder
  • Enter shell:sendto to configure SendTo menu
Change location of special shell folders (desktop, favorites, my documents)
  • Method 1 — Right click on the folder → properties... → Location pane → change location
  • Method 2 — Edit registry locations HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders ([1]).
  • Note there is also HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders. I also update that one, but the tips does not say so.
Map network drives for ALL accounts, including administrators
  • With UAC enabled, network drives mounted by a user are not available to administrators, nor apps running with elevated privileges
  • [2], [3] recommends setting a registry key to bypass that, but it does not work in my Windows 7
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLinkedConnections"=dword:00000001
  • Best solution, use this script to remount shares for admin at startup [4]. Copy following file at C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\remount-admin.vbs

Share bluetooth device between dual boot Linux and Windows

Reference: [5]

The trick is to copy the bluetooth link keys from Windows into Linux:

  • Pair the device with Linux first
  • Then pair the device with Windows
  • Boot back in Linux, and extract the bluetooth keys using chntpw. Edit the registry file C:\Windows\System32\config\SYSTEM.
aa1111111111 is the bluetooth device id of the device to pair as given in Windows control panel → bluetoot devices, or in Linux Bluemanager.
chntpw -e SYSTEM

> ls
> cd ControlSet001\Services\BTHPORT\Parameters\Keys
> ls
> cd aa1111111111
> ls
> hex bb2222222222
Note that it does not work from Windows because the keys are either denied access or hidden.
  • Copy the key value (remove the spaces) into file /var/lib/bluetooth/AA:11:11:11:11:11/linkkeys

Repair Laptop brightness not working or stuck

Easiest
  • Close the lid and open it again (make sure the laptop does not go to sleep).
From [6]
  • Go to control panel, devices management, then go to monitors and open properties for "Generic PnP Monitors".
  • In "details" pane, open property Hardware Ids, and copy the value field (something like MONITOR\LGD02F1)
  • To re-enable brightness control, run:
devcon.exe -remove =MONITOR *LGD02F1*
devcon.exe -rescan
  • To disable it:
devcon.exe -remove =MONITOR *LGD02F1*

Cleaning up Windows 7

Windows 7, as any Microsoft product, comes with a lot of bloat and crap. Unfortunately design is so bad that there is no way to clean it up. Here some links to help a bit.

Best Guides

dism /online /cleanup-image /spsuperseded      # To run in admin, and in sys32

Disable hibernation

  • Disable it as follows
powercfg.exe -h off

winsxs

ctts.exe C:\Windows        # Get real size of windows folders (handle soft links / hard links)

DriverStore


Other links for general information:

Keyboard shortcuts

Aero shortcuts [7]:

  • Win-Up — Maximize active window.
  • Shift-Win+Up — Maximize active window vertically.
  • Win-Down — Restore / minimize window.
  • Win-Left/Right — Dock the window left/right, possibly to the display on the left/right, or restore
  • Shift-Win-Left/Right — Move the window to the display on the left or right.
  • Win-Home — Clear all but active window.
  • Win-Space — Make all windows transparent.