Solved

Lodctr fails with code 5 - Access denied

Posted on 2014-02-02
2
1,060 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
The way I use Experts Exchange to assist me in analyzing and diagnosing a problem is I first enter a Verbose Question at Experts Exchange like: Office 2007 will hang when opening and saving files I then launch WordPad (any text editor will do) an…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

729 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