Latest Windows System Group Policy Application Skills

Source: Internet
Author: User
Tags gpupdate

Source: enet

System group policies are almost one of the essential tools for network management by network administrators. I believe many people are familiar with the conventional application skills of this tool. However, I have always believed that as long as we are careful and attentive, we will constantly explore new application techniques from system group policies. If you don't believe it, let's take a look at the following content. I believe they will help you enter a new "Realm" of application "!

Clever limitation program, beware of "self-locking"

On Windows server, there is a group policy project named "only allow Windows applications to run". Once you enable the project and restrict the running of the specified program, therefore, no matter whether you add gpedit in the "only programs allowed" list or not. msc Command, as long as the Group Policy item "only allow Windows applications to run" takes effect, the system's group policy will automatically "self-lock", even if you use "gpedit. the msc command cannot open the system group policy editing window! Is there a way to restrict the running of applications and prevent system group policies from being "self-locked? The answer is yes. You can follow the steps below:

First, click "start"/"run" command. In the pop-up system run box, enter the string command "gpedit. msc, click OK to open the system group policy editing window;

Expand "user configuration", "management template", and "system" projects in the window, and in the subwindow on the right of the corresponding "system" project, double-click the "run only licensed Windows Applications" option. In the displayed window, select the "enabled" option. Then, you will see that the "show" button is automatically activated in the corresponding window, click the "show" button, and then click the "add" button in the subsequent window, enter the name of the application to be run in the Add settings box, and click OK;

Next, do not close the Group Policy editing window immediately. Then, open the system running dialog box and execute "gpedit. msc "command, now you will find that the system group policy editing program is no longer running! However, fortunately, the Group Policy editing window is not closed before. Now you can continue in the Group Policy editing window and double-click the "only allow running Windows Applications" project you just set, then, in the pop-up policy settings window, select the "not configured" option, and click the "OK" button to limit the running of the application, it can also prevent the system group policy from being "self-locked.

Tip: if you add the specified application name to the "only allow running Windows Applications" list and close the Group Policy editing window, you can perform the following steps for restoration:

Restart the server system. During the startup process, press the F8 function key until the System Startup menu appears, and then execute the "safe mode with command line prompts" command, switch the server system to the command line prompt status;

Run the mmc.exe string command directly at the command prompt. On the pop-up System Console interface, click the "file" menu item, and click the "Add/delete Management Unit" option from the drop-down menu, click the "independent" tag in the subsequent window, and then click "add" on the tag page shown in 1;

  


Next, click "Group Policy", "add", "complete", "close", and "OK" to add a new Group Policy console; in the future, you will be able to re-open the Group Policy editing window, and then follow the settings above to achieve the goal of limiting the running of applications and Preventing System group policies from being "self-locked.

Remove "self-locking" as needed"

In addition to the policy to restrict the application to run, many operations can enable the Group Policy to be "self-locked" inadvertently. If the Group Policy is "self-locked" due to other factors, how can we easily remove it? In fact, all group policy settings are based on the system registry>, so the settings of any branch of the Group Policy will be reflected in the corresponding branch of the Registry; therefore, we can easily crack the "self-locking" Phenomenon of the Group Policy by modifying the registry:

Click Start or run. In the displayed system running dialog box, enter the string command regedit and click OK to open the registry editing window;

In this window, expand the Registry branch HKEY_CURRENT_USERSoftwarePoliciesMicrosoftMMC {libraries}. in the area on the right of the window shown in 2, you will see a Restrict_Run key value;


  

  


Double-click the key value, open a Value Setting window, enter the number "0", and click "OK". After that, when you open the system operation dialog box again, and execute "gpedit. msc "command, you will find the self-locking group policy editing window, now can be easily opened.
Policy changes take effect immediately
For Windows 2003 domain and Windows 2000 domain, the new security policy cannot take effect immediately after the default security policy of the domain is modified, generally, it takes about 5 to 15 minutes for Windows to automatically update the settings in system group policies. Is there a way for the modified security policy to take effect immediately for the user or client? The answer is yes. You can follow these steps:
For Windows 2000 domains, if you want to make the new computer policy take effect immediately, you can click "start"/"run" to open the system running dialog box, enter the string command "cmd" and click "OK" to switch the Windows system to Ms-DOS mode;
Then, at the doscommand prompt, enter the string command "secedit/refreshpolicy machine_policy/enforce" and click the Enter key. The new security policy will take effect immediately;
If you want the new user policy to take effect immediately, you only need to execute the string command "secedit/refreshpolicy user_policy/enforce" at the doscommand prompt.
For Windows 2003 domains, if you want to make the new computer policy take effect immediately, you can click "start"/"run" to open the system running dialog box, enter the string command "cmd" and click "OK" to switch the Windows system to Ms-DOS mode;
Then, at the doscommand prompt, enter the string command "gpupdate/target: computer" and click the Enter key. The new security policy will take effect immediately;
If you want the new user policy to take effect immediately, you only need to execute the string command "gpupdate/target: user" at the doscommand prompt. If you want to update both the computer policy and user policy, you can directly execute the string command "gpupdate.
Different users and permissions
Maybe your server contains many users, but to protect the security of the server, you want these users to have different access control permissions on the server, so that in the future when the server encounters an accident, you can quickly find users with different permissions. To assign different access control permissions to different users, you only need to set the server group policy. The specific configuration steps are as follows:
Click Start or run. In the displayed system run box, enter the string command gpedit. msc, click OK to open the system group policy editing window;
In this window, expand "Computer Configuration", "Windows Settings", "Security Settings", "Local Policy", and "User Rights Assignment;
In the window area on the right of the corresponding "User Rights Assignment" project, you will see multiple rights available for assignment, as shown in 3. For example, if you only want aaa users to remotely access the content on the server through a network connection, but do not allow them to log on to the server locally to write content or execute applications in it, you can double-click the "Deny local Logon" permission;
  

In the setting window that opens, click "add", select the account name corresponding to the aaa user, and click "add ", in this way, aaa users can only access the content on the server through a remote network in the future.

Similarly, you can assign local logon control permissions to bbb users, and assign ownership of files or other objects to ccc users. Once different control permissions are assigned to different users, you will be able to manage and control users based on different permission levels in the future. For example, if you find that someone uploads illegal information to the server and wants to investigate it when the server is not connected to the network, you can easily exclude aaa users, after all, aaa users do not have such "committing crimes "!

[NextPage]

Protection settings to avoid conflicts

In the LAN, the IP address of the workstation is often modified at will, resulting in IP conflict, thus affecting the LAN operation efficiency. Although there are many ways to avoid IP address conflicts, it is difficult for some cainiao users to perform operations after careful consideration. In fact, using the Group Policy function, you can easily restrict the network configuration parameters of LAN workstations to be modified at will, so as to effectively avoid IP address conflicts in the network:

Click Start or run. In the displayed system run box, enter the string command gpedit. msc, click OK to open the system group policy editing window;

Expand the "user configuration", "management template", "network", and "network and dial-up connections" policy items in the window, in the window area on the right of the corresponding "network and dial-up connection" policy, double-click the "allow TCP/IP Advanced Settings" item;

In the settings window shown in figure 4, select the "Disable" option and click "OK, when a wks user opens the TCP/IP attribute setting window in the future, he or she will find that he or she cannot enter the "advanced" setting window to modify the wks IP address or other network parameters, as a result, IP addresses in the LAN are not prone to conflicts.

 


Strengthen review and stay away from attacks

By default, Windows 2003 Server does not enable any security audit method to protect the security of the server.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.