-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Desktops
- Desktop Software and How To Questions
- How remove HP Sure Click protection from Folders and a lot f...

Create an account on the HP Community to personalize your profile and ask a question
08-02-2024 05:38 AM
Hi everyone,
my question is:
How I remove HP Sure Click protection from Folders and a lot files in one task?
I have a great foder with subfolder, in each folder are files. These files are protectet with hp sure click protection.
If I right click on a file i can remove the protection for each file but i must select all files every time in each folder.
Is there a option to remove hp secure click protection for all files an sub-folder with on click?
08-05-2024 09:46 AM
Hi @Zwible,
Welcome to HP Support Community.
Thank you for posting your query, I will be glad to help you.
To remove HP Sure Click protection from all files and subfolders within a parent folder in one task, you generally need to address it via the HP Sure Click application or use a script. Here’s how you can do it.
Using HP Sure Click Application:
Open HP Sure Click:
- Locate the HP Sure Click application on your system and open it.
Navigate to Protection Settings:
- Go to the settings or management section within the HP Sure Click application. This might be under a “Protection” or “Manage” tab.
Select the Folder:
- Look for an option to remove protection from a specific folder or drive. Some versions of HP Sure Click may allow you to select a folder and remove protection from all files within that folder and its subfolders.
Apply Changes:
- Apply the changes to remove protection from the selected folder.
Using a Script (Advanced):
If the HP Sure Click application doesn’t provide a bulk option, you might need to use a script. Here’s a PowerShell script example for Windows to remove protection, assuming there is a command-line tool or API provided by HP Sure Click:
Open PowerShell as Administrator:
- Search for PowerShell in the Start menu, right-click on it, and select “Run as administrator.”
Run the Script:
Use a script like the following (this is a placeholder and may need modification based on your exact needs and HP Sure Click’s command-line options):
$folderPath = "C:\Path\To\Your\Folder"
Get-ChildItem -Path $folderPath -Recurse | ForEach-Object {
- # Assuming HP Sure Click has a command to remove protection
- & "C:\Path\To\HP_SureClick_CommandLineTool.exe" --remove-protection "$($_.FullName)" }
Replace "C:\Path\To\Your\Folder" with the path to your folder and "C:\Path\To\HP_SureClick_CommandLineTool.exe" with the actual path to the HP Sure Click command-line tool or executable.
Verify:
- Check if the protection has been removed from all files and subfolders.
Notes:
- Backup Your Data: Before running scripts or making bulk changes, make sure to back up your data to prevent accidental loss.
I hope this helps.
Take care and have a good day.
Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!
Alden4
HP Support
HP Support Community Moderator