Solved

Lodctr fails with code 5 - Access denied

Posted on 2014-02-02
2
555 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article covers how to install the Microsoft Windows Operating System (OS). What is covered in this article:  > Different Versions and Editions of the Windows OS  > Upgrading versus Fresh Installation of the OS           - Steps to take pr…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
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). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

930 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now