Get the App
SLTechnology News&Howtos  ›  Development  › 

System error occurred in dos command or batch 5 what to do if access is denied

Shulou Source: shulou.com Published: 2022-06-03 07:48:57 11月15日 Update

This article is about what to do when system error 5 denies access in dos commands or batches. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Win7 running net start mysql under dos cannot start mysql! Prompt system error 5; access denied!

You can start by switching to administrator mode. So we need to run the cmd program as an administrator to start mysql.

So how do you run cmd programs as an administrator?

1. Open the income cmd in the search box of the start menu, then right-click and select run as Administrator!

Wouldn't it be troublesome to start the mysql service every day?

So:

two。 Right-click cmd and choose "attach to [start] menu (U)"; you can find cmd on the start menu.

3. Right-click to select Properties, select Shortcut, select Advanced, select run as Administrator, and then click OK!

In the future, just open the start menu and click the shortcut above to run cmd as an administrator!

In this way, you will not make a mistake by typing net start mysql again!

If it is winxp, users seldom make security settings.

I found the solution: control panel > user and account and home security > user account at the bottom there is a fire off "user account control" to go in and remove the tick.

Win2003 general server security settings are relatively abnormal, so it may limit the execution of net commands, or some places have higher security settings, which need to be modified according to individual needs.

Thank you for reading! On "dos command or batch system error 5 refused access to do" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, you can share it out for more people to see it!

Tags: Administrator Administration run Select identity Security user menu Command system error account what to do content method more programs articles controls Services Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Huawei Linux Shulou Technology vpn