u/FahidShaheen

▲ 4 r/PSADT+1 crossposts

Query On Behaviour Of "Invoke-ADTAllUsersRegistryAction"

I'm using Invoke-ADTAllUsersRegistryAction with -ScriptBlock {} to set registry keys in user hives for the install part. All good, works as intended.

I want to reverse the changes in the uninstall part.

So my thinking is I repeat the same process, where keys are removed (not set in anyway), using Remove-ADTRegistryKey this should be OK I assume? Silly question, as the Default hive is also modified, it's only going to remove the keys from the Default hive once, right?

It's not going to continually remove the keys from any new user logins after the application has been uninstalled?

TLDR: Reg keys in the Default hive are copied to new logins. If a key doesn't exist in the Default hive, it's not going to remove it on any new logins... right?

reddit.com
u/FahidShaheen — 4 days ago
▲ 3 r/SCCM

New-CMFolder - ParentFolder Question

I'm trying to set up a folder structure under Config Baselines and Config Items.

What I don't have clarity on is if I use the New-CMFolder commandlet, what do I specify as for the ParentFolder parameter?

Cheers.

reddit.com
u/FahidShaheen — 17 days ago
▲ 8 r/PatchMyPC+1 crossposts

Adobe Reader x64 MSP - Patch Install Issues

Hi, just wondering if others are getting issues where the MSP patch is not installing, but if you install it manually using the file in the .cab downloaded to the cache, seems to work fine.

We have this issue on 23H2 and 25H2 machines.

reddit.com
u/FahidShaheen — 26 days ago