0

For some reason when I run cmd as administrator This happens: Error

However if I run cmd normally (unprivledged) or if I disable UAC completely, command prompt pops up normally. SFC and check disk did not detect any errors

Anyone know what's going on ?

2
  • Does this happen when booting in Safe mode?
    – harrymc
    Commented Nov 6, 2020 at 20:40
  • No it does not occur in safe mode
    – James
    Commented Nov 7, 2020 at 2:27

1 Answer 1

0

As booting in Safe Mode fixed the problem, this indicates that some third-party application is responsible for it.

To locate the problematic application, you may use the free tool Autoruns for Windows.

This utility shows all programs configured to run during system bootup or login in its "Everything" tab. You may turn off startup items with a click and return them later with another click. You may avoid listing Microsoft products by using the menu Options > Hide Microsoft Entries, Hide Empty Locations and Hide Windows Entries

I would suggest turning off startup entries in bunches, drilling down to the startup program that causes this behavior. Once identified, it might have some setting that can avoid the problem, or can be left out of startup and only be invoked when required (verify that once invoked it does not add another startup entry, but such can again be disabled by Autoruns).

9
  • Weird I've turn off all entries and it's still happenning
    – James
    Commented Nov 8, 2020 at 3:56
  • Weird. Run sfc /scannow including the DISM commands in the linked article.
    – harrymc
    Commented Nov 8, 2020 at 9:13
  • Did that, no corruption detected.
    – James
    Commented Nov 9, 2020 at 4:07
  • There might be some problem with permissions. A Repair Install might fix it. This is the same as doing a major Windows upgrade, so treat it similarly.
    – harrymc
    Commented Nov 9, 2020 at 5:42
  • I might just restore from a backup image this is dragging on for too long.
    – James
    Commented Nov 11, 2020 at 12:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .