![]() |
Write in the Registry
This is a .reg file
I need to write in the registry in my installer ------------------------------------------------- Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System] "DisableChangePassword"=dword:00000000 "DisableTaskMgr"=dword:00000000 "DisableLockWorkstation"=dword:00000000 ------------------------------------------------- I try to use this lines of code and doesnt work WriteRegDword HKCU "Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableChangePassword" "DWORD Value" 0x00000000 WriteRegDword HKCU "Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr" "DWORD Value" 0x00000000 WriteRegDword HKCU "Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableLockWorkstation" "DWORD Value" 0x00000000 Whats wrong? TIA |
code: |
As always the answer has been correct and fast
Thanks RW until my next post :-D |
| All times are GMT. The time now is 04:35. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.