@MichalZyzak-1432,
I’m afraid that it may not be achieved as far as I know.
On my test environment, I enabled "Prevent access to drives from My Computer" GPO Policy in User Configuration>Windows Components>File Explorer and pick ‘Restrict all drives’. However, I can still navigate by typing like C:\Test\Test.xlsx
in my computer and open the file ‘Test.xlsx’ successfully.
Maybe you can refer to the following:
- Firstly, backup files.
- Save the files you don’t want users to open in a folder, and then find the "To change permissions, click Edit." in the Security column of the folder properties, click Edit, select the Group or user names you want to set the permission, and check Deny for all the options below.
- Then save the files that the user is allowed to open in a specific location. Here I take Excel 2016 on my computer as an example, save them in the location
C:\Users\erind\AppData\Roaming\Microsoft\Excel\XLSTART\- Enter the location in:
File> Options>Advanced>General>At startup, open all files in.
- Enter the location in:
For more information, you can refer to Automatically open a specific workbook or template when you start Excel.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.