Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Windows Vista에서 UAC 기능을 Diable 할 수 있는 Registry 값은 다음과 같습니다.
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
- DWORD :: EnableLUA 값을 0 으로 변경하면 됩니다.
- 시스템이 재부팅 되어야 적용이 됩니다.
이에 대한 VBScript 예제는 다음과 같습니다.
const HKEY_LOCAL_MACHINE = &H80000002
‘Declaring variableDim strComputer, strDWORDValueName, dwValue strComputer = "."strDWORDValueName = "EnableLUA"dwValue = 0 Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" ‘To delete existing registry value oReg.DeleteValue HKEY_LOCAL_MACHINE,strKeyPath,strDWORDValueName ‘To create registry valueoReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strDWORDValueName,dwValue |