Forum Discussion
BenTech
Nov 26, 2021Copper Contributor
Disable Startup Programs
Hi Guys,
I'm trying to create a powershell script to disable the startup programs. I was able to disable the programs in HKLM but it doesn't disable the remaining programs from HKCU. If anyone has worked on the script, then plz share. Thank you
Regards,
Ben
- Hi
When targetting the HKCU you need to apply the powershell script to the logged in user instead of the system account.. If you are blocking powershell you will need to first catch the logged in user sid id, so you can target the key from hkey_users\sidid - XBEATCopper ContributorHi, Ben Can you share the script, please?