PermissionDenied: UnauthorizedAccessException

serkan kalpak 0 Reputation points


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 ?

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

1 answer

Sort by: Most helpful
  1. Rafael da Rocha 4,961 Reputation points


    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