0

I am trying to run a script to gather the application, system and security log errors. I can run it remotely but I have to go over the WAN to do that. I want to run it locally on the domain controller. When I run it locally, I get "Requested registry access is not allowed". I have already done everything that is recommended online to fix this, including giving the rights to the Event Log Readers group in the registry, as described here: Windows Server 2012 EventViewer Powershell Script error So I am stumped because it is still not working. I don't know what else to try. I can't find any other fixes online. The server is running Windows Server 2012R2.

1 Answers1

1

Well, this may seem a bit obvious but you didn't state it so I'm going to ask anyway: have you disabled UAC on this domain controller? Not only the slider control but also the registry setting?

Microsoft actually "recommends" disabling UAC on servers, as long as only admins logon and they only perform admin functions (i.e. no end users and no desktop functions)

optic
  • 121
  • 1
  • 2
  • 11
  • 1
    +1 because that's a great article, but it's for "well managed systems" that don't run "risky" applications. My litmus test is if I can browse the internet UAC stays on – spacenomyous Nov 05 '17 at 01:42