• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2579
  • Last Modified:

Lodctr fails with code 5 - Access denied

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.
1 Solution
LokksAuthor Commented:
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\*.*



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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now