0

a friend was asking how to change the permissions for a registry key. I did not want to test it on my laptop, so i started up the Windows Sandbox on my windows 11 laptop and added that registry key. But when i executed the command as admin

$acl = Get-Acl HKLM:\SOFTWARE\WOW6432Node\MyKey

it was returning nothing and $acl was still null. Then i tried it on another machine, and there it was working as expected.

Is this something by design for the Windows Sandbox? Or did i do something wrong?

1 Answer 1

0

Windows Sandbox provides a clean, isolated environment that's reset every time you launch it. This sandbox is designed to prevent permanent changes to your main system, including any modifications to the registry. As a result, the registry inside the Sandbox is separate from the host machine's registry.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.