Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Access denied registering dll files Windows 7 Pro 64

12 Nov 2017   #1
FarNorth

Windows 7 Pro 64
 
 
Access denied registering dll files Windows 7 Pro 64

Hello,
I've searched through the forum and have tried many of the solutions posted but still am being denied. I've registered the same dll files on other machines with no issues but on this clean install I've had no luck. Any help is appreciated.

Thanks,


My System SpecsSystem Spec
.
13 Nov 2017   #2
Megahertz07

Windows 7 HP 64
 
 

Can you explain in details what you're trying to do (registering dll files Windows 7 Pro 64).
My System SpecsSystem Spec
13 Nov 2017   #3
FarNorth

Windows 7 Pro 64
 
 

I have several dll files and a couple ocx files I need to register. I've done the same process on several machines without problem before and literally just a couple weeks prior on the exact same model of computer . I just did a fresh install on this computer, did all updates, have all the proper drivers installed and is otherwise working 100% with no issues.

I copy the dll and ocx files to a folder on my desktop then copy the files to my System32 folder.

I open the command prompt with administrative privileges and register like this:

C:\Windows\SysWOW64\regsvr32.exe C:\Windows\System32\xxxx.dll

Every time I get the "access denied" error.
I've tried the same using the command prompt in safe mode as well and get the same error.

Thanks for your help!
My System SpecsSystem Spec
.

13 Nov 2017   #4
Megahertz07

Windows 7 HP 64
 
 

Don't know if it will help (sorry, not on my skills)
How to register a DLL file in Windows 7? - Super User
My System SpecsSystem Spec
13 Nov 2017   #5
FarNorth

Windows 7 Pro 64
 
 

Yeah, I've been through that one also, no help there either.

For the life of me I cant figure out what's different with this installation from the others. I'm obviously missing something, just hoping I don't beat my head on the desktop too much before I figure it out.
Any help is appreciated.

Thanks...
My System SpecsSystem Spec
13 Nov 2017   #6
Lance1

Windows 7 Ultimate, Service Pack 1, 64 bit
 
 

Have you tried to take ownership of the files prior to registering them? Instead of going through the process of taking ownership manuale you can Add “Take Ownership” to the Right-Click Menu to automate the process.

If you want to do this manually, I made this little video sometime back that will show you how. This one is for multiple files but the principle remains the same.

My System SpecsSystem Spec
13 Nov 2017   #7
pbcopter

Windows 7 Ultimate x64 SP1, Windows 8.1 Pro x64, Windows 10 Pro x64
 
 

Why are you using the regsvr32.exe from SysWOW64 instead of the one from System32, the usual one?
My System SpecsSystem Spec
13 Nov 2017   #8
Lance1

Windows 7 Ultimate, Service Pack 1, 64 bit
 
 

Quote   Quote: Originally Posted by pbcopter View Post
Why are you using the regsvr32.exe from SysWOW64 instead of the one from System32, the usual one?
Thats a good point. That went right past me. Here's a quote from Stack Overflow

Quote:
When you run Regsvr32 to register a DLL, you are using the 64-bit version by default. Quote: "Note On a 64-bit version of a Windows operating system, there are two versions of the Regsv32.exe file: The 64-bit version is %systemroot%\System32\regsvr32.exe. The 32-bit version is %systemroot%\SysWoW64\regsvr32.exe.
My System SpecsSystem Spec
19 Nov 2017   #9
FarNorth

Windows 7 Pro 64
 
 

Hello, I'm back. Been out for a week so I'm just getting back to this.

The first time through I did use system32\regsvr32 but get this error so I also tried the SysWow64 to see if that would work.

When I try this: C:\Windows\System32\regsvr32.exe C:\Windows\System32\xxx.dll or xxx.ocx I get this error. The files are in the folder.

Access denied registering dll files Windows 7 Pro 64-regsvr32-error.jpg


My System SpecsSystem Spec
20 Nov 2017   #10
FarNorth

Windows 7 Pro 64
 
 

Any suggestions for this?
Thanks
My System SpecsSystem Spec
Reply

 Access denied registering dll files Windows 7 Pro 64




Thread Tools




Similar help and support threads
Thread Forum
Deleting files access denied
wrong page
BSOD Help and Support
files locked ...access denied
I have administrative rights on my computer but it won't let me delete certain temp files, says needs administrative rights to access. How can I figure out what is going on?
General Discussion
Access Denied to my own files...
I am in a programming class in college using C#, and have the project stored on a network drive the college gives students access to. From my laptop I can access it through FTP just fine. I downloaded the files (A Visual Studio 2010 workspace using C#) and it opened in Visual Studio just fine......
Network & Sharing
can't copy old windows files...access denied
hey guys. i installed windows 7 pro x64 recently. i'm in the process of copying my own old windows xp files, as well as copying the backed up windows xp files from my friend's installation that were in my old hard drive. i've been battling windows 7 with permissions left and right to copy the...
General Discussion
all my files are access denied
can anyone help me... all my files are access denied even im the admin. tnx!
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 13:29.
Twitter Facebook Google+