PermissionDenied: UnauthorizedAccessException

serkan kalpak 0 Reputation points
2023-09-12T03:40:05.8566667+00:00

image_2023-09-12_053501953.png

i just wanted to run this game trough steam but it gave me the error message "u dont have permissions to open this file" sooooo i tried giving myself full rights trough security > advanced tab (Didnt work),

The next thing i tried was this but it gives me the error message: PermissionDenied: (G:\XBOX\Starfield\Content\Starfield.exe:String) [Set-Acl], UnauthorizedAccessException

Does anyone have an idea on how to fix this ?

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,449 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rafael da Rocha 5,091 Reputation points
    2023-09-13T18:04:04.17+00:00

    Hello,

    are you running powershell as an admin?

    Also, if your user has no permission to access the .exe, you'll probably run into issues with the remaining game files.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.