Solved

Lodctr fails with code 5 - Access denied

Posted on 2014-02-02
2
683 Views
Last Modified: 2016-06-02
I have a SBS 2011. I have tried to install Exchange 2010 SP3 and it has failed, in Languages! with a LODCTR code 5. Which is access denied.
I cannot use the LODCTR command (YES PLEASE NOTE: form an elevated command) It simply fails with a 5 again.
This means I cannot install .bak files and other INI files. I am sure sorting out the permissions issue will allow me to complete the install and fix all the other problems.
0
Comment
Question by:Lokks
2 Comments
 

Accepted Solution

by:
Lokks earned 0 total points
ID: 39830643
I have since found the answer myself.

It isn't a difficult answer but perhaps overlooked by the  non-complex nature of the solution to the problem.

LODCTR (command) requires being run from the % \windows\% directory (try it). Often it is run from the Windows\System32\ directory, which incidentally, is the same directory that (most) of the performance counter dll's are contained.

Most solutions talk about, UAC, GPO, Taking Ownership of Permissions and Elevated Command levels.  There are lots of references also to Domain Controllers and Roaming Profiles and chopping into the registry; thanks goodness I was not satisfied with these answers.

I actually sat looking at the folder, scratching my head and then noticed that these files were "greyed out" or hidden. Meaning that for some reason (No - Not caused by malware - this server has always been clean) these folders were hidden.

Hidden to LODCTR too.

Back to the old command prompt and a DOS command - ATTRIB (in a batch).

attrib -a -h -r -s  c:\windows\system32\*.*

LODCTR /R

Success.

I don't think I will be renewing my subscription....

BTW. Exchange 2010 SP3 has now run and cleared most of my evils on the SBS.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Update Services 1 92
Serial for VM on windows server 2012 R2 standard 5 252
moving second domain to new remote site 2 20
Help with internal NTP server 12 51
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question