Run as administrator, (operation is as follows: Figure) 2. After opening, use notepad to open hos"/> Run as administrator, (operation is as follows: Figure) 2. After opening, use notepad to open hos">

Home  >  Article  >  System Tutorial  >  Please contact the administrator to obtain permission to save files in this location

Please contact the administrator to obtain permission to save files in this location

王林
王林forward
2023-12-26 20:37:531138browse
Directory
  • Method 1. Increase the permissions of the text editor
  • Method 2. File modification permissions
  • Method 3. Group Policy

Today when modifying and saving hosts, the site prompts you that you do not have permission to save files in this location. Please contact the administrator to obtain the corresponding permission prompts. As a result, you cannot save files. In order to help everyone solve this problem, Xiaomi The editor has listed three specific processing methods for you below. You can try to see the solutions.

Please contact the administrator to obtain permission to save files in this location

You do not have permission to save files in this location. Please contact the administrator. What should I do?

Method 1. Improve the text editor Permissions

1. Start menu->Accessories->right-click "Notepad"->Run as administrator, (operation as shown)

Please contact the administrator to obtain permission to save files in this location

2. After opening, use Notepad to open the hosts file. The hosts file path is C:\Windows\System32\drivers\etc\hosts, (the operation is as shown)

Please contact the administrator to obtain permission to save files in this location

Please contact the administrator to obtain permission to save files in this location

3. After clicking Open, write your own hosts statement and save it directly. (The operation is as shown in the figure)

Please contact the administrator to obtain permission to save files in this location

#Of course it can be combined with batch processing, vbs, etc. You can refer to the articles previously published on this site.

Method 2. File modification permissions

1. First, we right-click the disk where the file is stored and click Properties;

Please contact the administrator to obtain permission to save files in this location

2. In the column above the disk properties, find the "Security" item and click;

Please contact the administrator to obtain permission to save files in this location

3. View "Group and User Name" and the current user name permission. You cannot save a file to disk without the appropriate write permissions for the file. We can click "Edit";

Please contact the administrator to obtain permission to save files in this location

4. Add a series of file operation permissions to the current user name. Finally, click OK to solve the problem of not having permission to save the file.

Please contact the administrator to obtain permission to save files in this location

Method 3. Group Policy

1. Open the run command in the start menu and enter gpedit.msc;

Please contact the administrator to obtain permission to save files in this location

2. Open the computer local group policy editor: select computer configuration, windows settings, security settings, local policy, security options;

Please contact the administrator to obtain permission to save files in this location

##3. Find User Account Control on the right: Run all administrators in administrator approval mode, double-click to open;

Please contact the administrator to obtain permission to save files in this location

4. After opening, the system default is Already If it is enabled, set it to disabled, click OK, and restart the computer.

Please contact the administrator to obtain permission to save files in this location

The above is the detailed content of Please contact the administrator to obtain permission to save files in this location. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete