04-10-2007, 02:44 AM
You don't HAVE to disable UAC to register dll's. So far I have only found one other method of doing this though, nothing else seems to work.
Step 1 >> Navigate to C:\Windows\System32 and Copy regsvr32.exe to your desktop, do not move it.
Step 2 >> Right click the copy of regsvr32.exe and select Properties -- Compatibility
Step 3 >> Under Privilege Level check "Run this program as an administrator" Click Apply and Ok.
Step 4 >> Drag your dll or ocx you need to register onto the newly copied and elevated regsvr32.exe. The file should register without disabling the UAC.
The reason you have to create a copy is because you cannot change the privilege levels on the original revsvr32.exe in your System32 folder. I am not sure why, probably just because of some deeper system privilege things which I don't really want to change. This works good but is kind of a hassle, however if you have paranoid people who would rather not disable the UAC then this works well for them. Also, some dlls and other files can be registered like this:
Click the Windows Start Pearl thing and in your search/run type (without quotes) "regsvr32 C:\%filepath%\%dllname.dll%" then make sure you hold Ctrl + Shift down. This opens the file in administrator mode, it works sometimes but not always. Good thing to try first before doing the other long process.
Step 1 >> Navigate to C:\Windows\System32 and Copy regsvr32.exe to your desktop, do not move it.
Step 2 >> Right click the copy of regsvr32.exe and select Properties -- Compatibility
Step 3 >> Under Privilege Level check "Run this program as an administrator" Click Apply and Ok.
Step 4 >> Drag your dll or ocx you need to register onto the newly copied and elevated regsvr32.exe. The file should register without disabling the UAC.
The reason you have to create a copy is because you cannot change the privilege levels on the original revsvr32.exe in your System32 folder. I am not sure why, probably just because of some deeper system privilege things which I don't really want to change. This works good but is kind of a hassle, however if you have paranoid people who would rather not disable the UAC then this works well for them. Also, some dlls and other files can be registered like this:
Click the Windows Start Pearl thing and in your search/run type (without quotes) "regsvr32 C:\%filepath%\%dllname.dll%" then make sure you hold Ctrl + Shift down. This opens the file in administrator mode, it works sometimes but not always. Good thing to try first before doing the other long process.