I am trying to register with regsvr32.exe the prnadmin.dll (on a Win7 target machine) but i get this error 0x80020009
Any suggestions please?
I am trying to register with regsvr32.exe the prnadmin.dll (on a Win7 target machine) but i get this error 0x80020009
Any suggestions please?
regsvr32.exe needs to be run as an administrator. Maybe this was the cause?
For Windows Vista/Windows 7 users: Click Start>All Programs>Accessories, then right-click on “Command Prompt” and select “Run as Administrator” Type in the following command exactly as you see it and press ENTER. secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose Wait for the command to complete, it can take some time so please be patient. Once the command has completed, try to register a dll file again.
For Windows Vista/Windows 7 users: Click Start > All Programs > Accessories, then right-click on Command Prompt and select Run as Administrator.
Best method I have found is to open the PowerShell ise with administration rights then cd to c:\
and insert your command, for example
regsvr32 "c:\Program Files\Windows Media Player\wmpband.dll"
For Windows Vista/Windows 7 users: Click Start > All Programs > Accessories, then right-click on Command Prompt and select Run as Administrator. Then type: regsvr32 filelocation\fileName Then you see that file which generate error is loadded successfully.
http://support.microsoft.com/kb/2466246
You'll need to use the 32bit version of regsvr32 as mentioned in the article.