Invoke HKCU section code example

I’m guessing the example is supposed to be in it’s own code block? it was REAL confusing when i was trying to use that until I (quickly :smiley: ) figured that out.

I agree.
Invoke-HKCURegistrySettingsForAllUsers is not explained well.

BTW: there are 3 was to do per-user changes: Installing in user profiles - ActiveSetup vs. Execute-ProcessAsUser

Appreciate ya!

also, I’m not sure if it’s a widespread issue or not.
I couldn’t reliably inject more than a handful of registry entries - once i hit like 10, it would only randomly choose a few registry entries. Had to end up doing an individual script block per registry entry, which worked, but took a good bit of testing to work.

Sounds like a race condition. You could also try to insert start-sleep lines every 10 lines of registry entries.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.