-
Notifications
You must be signed in to change notification settings - Fork 4
/
disablecaps.inf
45 lines (32 loc) · 1.06 KB
/
disablecaps.inf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
;
; INF File to disable CAPSLOCK key.
; $Id: disablecaps.inf,v 1.3 2005/07/28 22:44:06 sherle Exp $
; Sudhi Herle
;
[version]
signature="$Windows NT$"
[DisableCapsLock]
CopyFiles = DisableCapsLock.Files.Inf
AddReg = DisableCapsLock.Add.Reg
[DefaultInstall]
CopyFiles = DisableCapsLock.Files.Inf
AddReg = DisableCapsLock.Add.Reg
Reboot
[DefaultUnInstall]
DelFiles = DisableCapsLock.Files.Inf
DelReg = DisableCapsLock.Del.Reg
[DestinationDirs]
DisableCapsLock.Files.Inf = 17
[DisableCapsLock.Files.Inf]
DisableCaps.inf
[DisableCapsLock.Add.Reg]
HKLM,%UIF%,DisplayName,,"%DisableCapsLock%"
HKLM,%UIF%,UninstallString,,"rundll32.exe advpack.dll,LaunchINFSection %17%\DisableCaps.inf"
HKLM,%KBD%,"Scancode Map",0x00000001,00,00,00,00,00,00,00,00,02,00,00,00,00,00,0x3a,00,00,00,00,00
[DisableCapsLock.Del.Reg]
HKLM,%KBD%,Scancode Map
HKLM,%UIF%
[Strings]
DisableCapsLock="Disable CAPS LOCK key"
UIF="Software\Microsoft\Windows\CurrentVersion\Uninstall\DisableCapsLock"
KBD="SYSTEM\CurrentControlSet\Control\Keyboard Layout"