Вопрос:
Правильно ли написал inf файл?
Код:

[Version]
Signature = "$Windows NT$"
[DefaultInstall]
AddReg=adr.T
DelReg=adr.P
[adr.T]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update","AUOptions",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","AutoAdminLogon",0x00000000,1
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","DefaultUserName",0x00000000,"Administrator"
HKLM,"SOFTWARE\Microsoft\Driver Signing","Policy",0x00000001,0
HKCU,"SOFTWARE\Policies\Microsoft\Windows NT\Driver Signing","BehaviorOnFailedVerify",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE","iexplore.exe",0x00010001,0
[adr.P]
HKCU,"Control Panel\Desktop","SCRNSAVE.EXE"
HKLM,"SOFTWARE\Microsoft\Internet Explorer\Extensions\{c95fe080-8f5d-11d2-a20b-00aa003c157a}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FindExtensions\Static\WebSearch"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FindExtensions\Static\WabFind"
HKCR,"CLSID\{87D62D94-71B3-4b9a-9489-5FE6850DC73E}"
Запуск произвожу командой
rundll32.exe advpack,LaunchINFSection %MY%\myreg.inf,DefaultInstall,0