• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2063
  • 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.
0
Lokks
Asked:
Lokks
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\*.*

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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