-
1. automatic VPN connection to the Internet when Windows starts (the registry).
1. create your VPN connection, but does not connect to the Internet or if you are connected, do not disconnect from the Internet before the end of this procedure.
2. in the Windows registry (Start->Run->regedit), locate the following line:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run"
(if you want to make Auto Connect only for current user) or
"HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run"
(if you want to make Auto Connect for all users)
In this branch, create a string value (right-click-> “new”-> “string value”) with a random name.
2. as the value of the DWORD make string types:
rasdial "name your connection"(For example: rasdial "VPN connection" nz15vl 1234)
3. close the registry and restart the computer. -
2. convert the .reg files in the .inf file format from the shortcut menu, using a utility.
1) download the utility Reg2inf (requires Framework 2 or 3)
2) copy it in C:\Windows\System32
3) create and apply the .reg file to read as follows:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\regfile\shell\reg2inf\command]
@="Reg2Inf.exe \"%1\" \"%1.inf\" /RepVars"
[HKEY_CLASSES_ROOT\regfile\shell\reg2inf\ddeexec\Application]
@="Reg2Inf"
[HKEY_CLASSES_ROOT\regfile\shell\reg2inf\ddeexec\Topic]
@="System"
In the context menu reg-file to add an item reg2inf, when clicked you created the reg-file convert to inf-file. For example, the file test.reg becomes test.reg.inf -
3. run key Num Lock, Caps Lock, Scroll Lock when loading.
If you logon disabled keyboard switch the Num Lock, to enable it, do the following:1) start Registry Editor (Win + R-> regedit-> Ok)
2) go to HKEY_CURRENT_USER\Control Panel\Keyboard branch
3) right-click on parameter InitialKeyboardIndicators and select Modify.
4) Select and set the value to you.0 – all switches are turned off.
1-Caps Lock is on.
2-Num Lock is on.
3-Caps Lock and Num Lock are enabled.
4-Scroll Lock is on.
5-Caps Lock and Scroll Lock turned on.
6-Num Lock and Scroll Lock turned on.
7-Caps Lock, Num Lock and Scroll Lock turned on.If you need to modify the status of key indicators to logon, welcome screen, you manage change InitialKeyboardIndicators in section HKEY_USERS\.DEFAULT\Control Panel\Keyboard
-
4. Cancel AutoRun for media and devices.
1) start Registry Editor (Win + R-> regedit-> Ok)
2) open the branch HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
3) Create a DWORD value named NoDriveTypeAutoRun
Valid values for the key:0×1 – Disables AutoPlay on drives of unknown type.
0×4 – Disables AutoPlay on removable drives.
0×8 – Disables AutoPlay on fixed drives.
0×10 – Disables AutoPlay on network drives.
0×20 – Disables AutoPlay on CD-ROM drives.
0×40 – Disables AutoPlay on RAM drives.
0×80 – Disables AutoPlay on drives of unknown type.
0xFF – Disables AutoPlay on all types of drives.Also setting the NoDriveTypeAutoRun registry entry is automatically added to the registry during the installation of VMware Workstation used to create the virtual machines.
-
5. reduce defragmentation of large files on disk.
To the operating system when writing the file to disk first, found it most suitable for the size of the place and put him there, as little lot out, do the following:1) start Registry Editor (Win + R-> regedit-> Ok)
2) open the branch HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
3) create a DWORD parameter ContigFileAllocSize
4) click on it and select Modify.
5) set to 00000200 and click OkThis parameter specifies the maximum size of a block of data on a drive that is not subject to fragmentation. If desired, the size of this block can be further increased. This setting can be very useful when working with multimedia (decreases load on disk and CPU while recording and playing video or audio files).
This setting is useful if you’re a lot of large files. And when you have many small files it becomes less relevant. -
6. change the status of the integrated speaker system.
1) start Registry Editor (Win + R-> regedit-> Ok)
2) go to HKEY_CURRENT_USER\Control Panel\Sound branch
3) change the Beep volume on “No” to disable the “Yes” to enable.Also you can enable/disable it in Device Manager:
1) click Start-> Control Panel->Device Manager
2) on the View menu, select Show hidden devices
3) open Non-Plug and Play Drivers
4) right click on Beep and select Properties
5) on the Driver tab and set Startup type to Disabled to turn off and Automatic to turn on.
6) to change the current state of the press Stop or Start.
7) click OK to apply the settings. -
7. Reassigning jack Realtek sound card using the registry.
On some motherboards, you cannot reassign jacks built Realtek sound card. This means that each slot clearly tied to a specific device and is only automatically when being included into the slot.
For example, if you turn on the Microphone or Headphone socket designed for the device side speakers, Realtek will continue to believe that you have side speakers, instead of a microphone or a headset.
However, in this situation there is a way out. You can reassign the nest manually using the registry.1) setup the sound card driver
2) run the Registry Editor (Win + to-> regedit-> Ok)
3) navigate to folder
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0000\Settings\
4) open the folder Drv6278_DevType_0888_SS10438357 or with the same title (DrvXXXX_DevType_XXXX_SSXXXXXXXX, where X can be any numbers, depending on the version of the driver and rooms of your device)
5) create a binary value, set it to the desired name and value from the list below or edit an existing.Name (embed without quotation marks):
“Pin01″ = Back Green Jack
“Pin02″ = Back Black Jack
“Pin03″ = Back Brown Jack
“Pin04″ = Back Grey Jack
“Pin05″ = Back Pink Jack (on some motherboards, even change it in the registry will not change, meaning the microphone)
“Pin07″ = Back Blue Jack (on some motherboards, even change it in the registry will not change, value line input)
“Pin06″ = Front Rose Jack
“Pin08″ = Front Green JackValue (paste without quotation marks):
“00 00 00 00″ = Line in
“01 00 00 00″ = Microphone
“02 00 00 00″ = Headphones
“04 00 00 00″ = Front speakers
“05 00 00 00″ = Rear speakers
“06 00 00 00″ = Central channel/Subwoofer
“07 00 00 00″ = Side speakersAlso you can create a .reg file that resembles the following, replacing the values for the necessary:
Drv6278_DevType_0888_SS10438357 – the version of your driver
(name of the folder at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0000\Settings\)
Pin04 – to any value from the Name list
hex:02,00,00,00 – to any Value from the list (just fix the 2 corresponding digit)
Reg-file to configure the device instead of the headphone device side dynamics:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0000\Settings\Drv6278_DevType_0888_SS10438357]
"Pin04"=hex:02,00,00,00 -
8. Replace “devices and printers” in Control Panel on “printers”.
1) open the Local Group Policy Editor (Win + R-> gpedit.msc-Ok)
2) go to User Configuration\Administrative Templates\Control Panel.
3) choose Hide specified Control Panel items
4) select Enable.
5) click on the Show.
6) add a new entry: Microsoft.DevicesAndPrinters and press Ok.
7) start Registry Editor (Win + R-> Regedit.exe-> Ok).
8) Open thread HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace
9) create new key {2227a280-3aea-1069-a2de-08002b30309d}.
10) set default Printers.
This folder you will see in the Control Panel in Start menu shortcut, if you set “display as a menu” or when you view a complete list of all items when it is opened. -
9. Dropping number when recreating a network adapter in Device Manager.
Option 1
1) remove the network adapter driver
2) in the registry branch
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\Descriptions
set the network adapter to 0.
3) create a network adapter driver
Option 2
1) remove the network adapter driver
2) in the registry branch
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\Descriptions
remove your network adapter.
3) create a network adapter driver. -
10. disable or reassign the Caps Lock key.
If you do not use the Caps Lock, you can disable or remap key by editing the registry. To do this, modify the Scancode Map, which is located in registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
Below are the .reg files to reassign and disable Caps Lock.
Caps Lock will perform the activity Ctrl
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
Caps Lock will perform the activity of the Shift key
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,2a,00,3a,00,00,00,00,00
Disables Caps Lock and reassigns the Scroll Lock on Caps Lock
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,3a,00,3A,00,46,00,00,00,00,00
Disables Caps Lock
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,3a,00,00,00,00,00
Cancels any previous reassign keys (returns the default value)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=- -
11. disable USB port after the safely remove hardware.
If you have connected the USB device to a computer running Windows 7, and then Disable the device in “Device Manager” or “Safely remove hardware and Eject Media”, using the icon in the system tray, you can watch one of the following symptoms:
- USB device shows continuing signs of activity (such as remaining lit LED indicator)
- USB device keeps getting USB packages and continues to consume energy relevant as active device.
- Physically disconnect Disconnected or Safely Removed USB device may, in some cases, an error in active transfer to another USB device.
To correct this error, do the following:
For a specific device.
1) start Registry Editor (Win + R-> regedit-> Ok)
2) open the branch HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags
3) open the corresponding section in the branch that is connected to your computer’s USB device.
4) if the section does not appear, then you create it.
4.1) right click on usbflags
4.2) select New-> Key
4.3) specify the name of the new section in the following form: vvvvpppprrrr
where
vvvv – 4-digit hexadecimal number that identifies the device Vendor ID
pppp – 4-digit hexadecimal number that identifies the Product ID devices
rrrr – 4-digit binary-coded decimal number denoting the Revision number deviceThis information you can find out by using Device Manager.
4.3.1) open start-> Control Panel-> Device Manager
4.3.2.), right-click the device you need and select Properties
4.3.3) click the Details tab and in the drop-down list, select hardware IDS.
5) create in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\usbflags\vvvvpppprrrrvalue DWORD (32-bit) named DisableOnSoftRemove
6) right-click on the DisableOnSoftRemove, and then click Modify
7) in the value text box, type 1 and click OK.
For all devices:
1) start Registry Editor (Win + R-> regedit-> Ok)
2) open the branch HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\usbhub\hubg. If this branch does not exist, create it.
3) right-click and create a new DWORD (32-bit) value named DisableOnSoftRemove
4) right-click on the DisableOnSoftRemove, and then click Modify
5) in the value text box, type 1 and click OK. -
12. disable message: “Do you want to scan and fix…” for removable drives.
Option 11) start Registry Editor (Win + R-> regedit-> Ok)
2) Open thread: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\AutoCheckSelect
3) right-click on CheckedValue parameter, and then click Modify.
4) set to 0 and click OKOption 2
1) start Registry Editor (Win + R-> regedit-> Ok)
2) Open thread: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
3) click on the BootExecute value and click Modify.
4) default value of this parameter must be autocheck autochk *.
* means that all disks are selected for inspection. To add a validation exception for a specific drive, add the asterisk parameter/K:. Parameter /K disables disk check when Autorun. E.g. for removable disk H: BootExecute value becomes a key value:
autocheck autochk /k:H *
If you wish to add more disks to exclude (e.g.: H and I of disks), the value of the key the BootExecute value will look like:
autocheck autochk /k:H /k:I*
Option 3
1) open the Start menu
2) type in the Run dialog box (Win + R) or search string msconfig and press Enter.
3) select Services and clear the: Shell hardware detection
4) open Start menu
5) type in the Run dialog box (Win + R) or search string services.msc and press Enter.
6) in the Services snap-in, click right-click the Shell hardware detection and select Properties
7) Select startup type – Disabled and click Stop
8) Click OK.
This action also disables Autostart for removable media.
