Share via

Registry setting keeps reverting

Anonymous
2022-12-09T19:23:56+00:00

We don't use UAC and I normally turn off when I build the machines.

but I also have a script that runs New-ItemProperty -Path HKLM:Software\Microsoft\Windows\CurrentVersion\policies\system -Name EnableLUA -PropertyType DWord -Value 0 -Force

We have also had issues with usb devices not being accessible after a shutdown and restart.

The solution to this is to edit/create a reg key

New-ItemProperty -Path HKLM:Software\Policies\Microsoft\FVE\ -Name DisableExternalDMAUnderLock -PropertyType DWord -Value 0 -Force

We have script in intune that runs for machines that are in that system, but it it still reverts back to original settings (value = 1)

Yesterday I got so frustrated that I added the script to a new GPO and applied to our test group (my boss and I).

I booted my machine this morning and I could use my keyboard and mouse. Great a win finally.

I then went to make some change and UAC came up. I checked and indeed it has reverted back to the old UAC level (which for me is FULL Secure)

I then checked the other key and indeed it has now also reset.

I've tried running a Registry watcher to see what is changing setting and I can not find anything amiss, I've checked EV and that also comes out nada.

Where the hell is this being applied.

Anyone have a trick to track these changes?

Thanks

David

Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2023-02-04T00:34:14+00:00

    A solution found to Window 11 reverting registry changes after reboot.

    Listen , You poor people who have to use windows 11, YUCK!!

    The answer is to make your registry change.

    Export the changes.

    Open in note pad by changing the name temporarily to a .txt extension.

    Delete all the lines in the files except the key you want to keep.

    close the file.

    rename it back to an .reg

    Make a short cut {using more options from the contact sensitive right click menu)

    Copy the short cut to your desktop.

    Then every time you reboot, click the shortcut after reboot finishes.

    or

    Put it in your startup group.

    Later Dana the Brain.

    4 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-12-10T07:41:47+00:00

    Hello David Kafrissen,

    Welcome to Microsoft Community.

    The issues regarding your feedback are beyond the reach of the responsive support community. It is more suitable for publishing on Microsoft Learn (English only). Here is a link **** to the forum, you can click on "Ask a question", there are experts who can provide more professional solutions in that place.

    I won't be able to help you, but I'll leave that question open in case one of our amazing volunteers has ideas for you.

    If there is anything not clear, please do not hesitate to let me know.

     Best Regards,

     Lenka-MSFT| Microsoft Community Support Specialist

    0 comments No comments