28,660 questions
Hello
In Windows 10, you can achieve what you describe by creating a standard user account and setting the appropriate permissions on it.
- Create a standard user account: Open settings, go to accounts, go to other users, enter the username of the new user, set a password and password question. In "Account Type", select "Standard User" and click "Next" to complete the account creation. Create a local user or administrator account in Windows - Microsoft Support
- Restrict file deletion permission: Select "Properties" on the file or folder that needs to be protected, and switch to the "Security" tab. Click the "Advanced" button to enter the "Advanced Security Settings" window. Click the "Change Permissions" button and then click "Add." Enter the name of the newly created restricted user account and click "OK". To set permissions for the newly added user, you usually only need to check "Read" and "List Folder Contents", uncheck "Write", "Delete" and other permissions, and then click "OK".
- Restrict program uninstall permission: Press the
Win + R
keys to open the "Run" dialog box, entergpedit.msc
and press Enter to open the "Local Group Policy Editor". Navigate to User Configuration > Administrative Templates > System. Find and double-click "Don't run specified Windows applications", set it to "Enabled", and the "Show" button will become active. Click the "Show" button and in the "Value" text box, enter the name of the application's uninstaller. The most common ones are: uninstall.exe, unin.exe, uninstaller.exe, uninst.exe.
Best Regards,
Yanhong Liu
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.