Channel | Publish Date | Thumbnail & View Count | Actions |
---|---|---|---|
| Publish Date not found | ![]() 0 Views |
In this video is show you how to fix the Access Denied error while executing commands through command prompt. This occurs because the user does not have permission on the cmd.exe file to allow changes to be made. Another problem we face is UAC (User access control) is turned on by default, which prevents the user from making changes that could harm a system. These occur even though you are running an administrator account.
PLEASE NOTE: I AM NOT RESPONSIBLE FOR ANY DAMAGE OR ISSUES THAT MAY OCCUR, THIS IS FOR EDUCATIONAL PURPOSES ONLY
Now onto the fix
1) we are going to turn off UAC. start, control panel, search bar at top right, type uac, and its the first option. click on it and drag the bar all the way to the bottom so it is off.
2)were going to change the owner of the file as you have to be the owner to make changes to permissions. to do this we are going to hold the start button (on your keyboard+r) and type c://windows//system32 in the run dialog box. When system32 folder opens, type cmd and click the cmd.exe file at the top. now right click, properties, security, advanced, and at the top where it displays owner, click change and type in your username, and click Ok.
3)Next were going to set the permissions to allow you to make changes. right click cmd.exe again and click properties, security, edit, add (your username). Click full control box and click apply.
4) finally exit out of the cmd properties, right click the cmd.exe file and click run as administrator. In your command prompt, type you command that wasnt working originally, and
BINGO
thanks for watching
dont forget to like comment and subscribe below for more great videos
Please take the opportunity to connect and share this video with your friends and family if you find it useful.