How to prevent access to file properties?

Leonid Yashiev 0 Reputation points
2023-08-21T06:30:55.91+00:00

Hello,

I'm working as a pc technician at a school and I've encountered a little "genius" kid who added a cmd command to the file destination of the browser shortcut in the properties settings that if you open the browser from that shortcut it will display a custom message that he wrote and after 3 seconds the pc is shutting down.
I want to prevent access or set a password for a user without admin rights to the properties settings of a file shortcut,
and I want to set it to all files and not just a specifec file like the browser shortcut.
Or maybe a third option is to hide the properties, because I have a script that can hide the option to "set as desktop background"
when you right click on an image it won't show it.
The script is a .reg file and it contains the following command:

"[-HKEY_CLASSES_ROOT\SystemFileAssociations.jpg\Shell\setdesktopwallpaper]"
and this is just one image file type, it has all the image files types in it.

Is there a way to do so?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,119 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,040 questions
Access
Access
A family of Microsoft relational database management systems designed for ease of use.
336 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,919 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,829 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,096 Reputation points
    2023-08-21T12:46:16.1933333+00:00

    Hello there,

    You can encrypt the file or folder using Windows' built-in encryption tools, such as BitLocker or EFS (Encrypting File System). Encrypted files are only accessible to users who have the encryption key, and they won't be able to view file properties without the necessary permissions.

    To encrypt a file or folder using EFS:

    a. Right-click on the file or folder and select "Properties."

    b. On the "General" tab, click the "Advanced" button.

    c. Check the box that says "Encrypt contents to secure data."

    d. Click "OK" and then "Apply" in the file's properties window.

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–