Question Locked

Error when installing program - Access Denied

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I've been having problems installing a new program.
The installer gets almost to the end and throws up a message about a DLL in the C:\Windows\System32 folder and then rolls back the installation.
Access Denied.

I don't get it.
Using XP Pro.
I'm the sole user and administrator of this stand-alone laptop.

Any ideas?

3 replies

by captbilly1eye

You will get that error message if a particular .DLL file that is needed during the installation is for some reason not registered correctly.

I have created a batch file that will re-register all the DLLs in the System32 folder.
Here are the steps to set it up and use it:

First make sure your system is set up to show file extensions - Open My Computer, click on the Tools menu, select Folder Options, select the View tab, remove the check in front of 'Hide extensions for known file types,' then click the Apply and OK buttons, and close the My Computer window.

[b]1.[/b] Below is a section of text. Create a new .TXT document on your Desktop (right click on the Desktop and select New - Text Document) and name it [b]RegisterDLLs.txt[/b].
[b]2.[/b] Open the new text document. Copy & Paste the entire section of [b]bold[/b] text below into it, Save and Close.
[b]3.[/b] Now change the file's extension from .TXT to .BAT (right click on it and choose Rename).
[b]4.[/b] Lastly, double left click on the file to run it. Afterwards, you can delete [b]RegisterDLLs.bat[/b] from your Desktop.

[b]Note:[/b] It will take a long time for it to complete since there are a lot of DLLs in System32.

------------------------------------

[b]echo off
echo.
echo This batch file will register all dll files in the system32 directory.
echo.
echo If you do not want to continue, press Ctrl+C to exit.
echo.
pause
echo on
cd %windir%\system32
for %%s in (*.dll) do regsvr32 /s %%s[/b]

---------------------------------------

This should take care of your issue.

by mrparrot

That worked like a charm.
Thanks, Cap'n, for the batch file and the detailed steps!

This discussion is closed to new replies.