1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > 命令修改本地计算机策略 命令行修改本地组策略_通过命令行从Windows进行本地组管理...

命令修改本地计算机策略 命令行修改本地组策略_通过命令行从Windows进行本地组管理...

时间:2024-07-12 18:46:14

相关推荐

命令修改本地计算机策略 命令行修改本地组策略_通过命令行从Windows进行本地组管理...

命令行修改本地组策略_通过命令行从Windows进行本地组管理

命令行修改本地组策略_通过命令行从Windows进行本地组管理

命令行修改本地组策略

Modern operating systems like Linux, Windows uses groups to manage user rights more flexible way. Users generally assigned to the groups to use groups related privileges like Local Admin, Remote Desktop User,Power User , etc. In this tutorial we will look how manage manage local user groups in Windows operating systems.

像Linux这样的现代操作系统,Windows使用组来更灵活地管理用户权限。 通常分配给这些组的用户可以使用与组相关的特权,例如Local Admin , Remote Desktop User , Power User等等。在本教程中,我们将研究如何在Windows操作系统中通过Manage管理本地用户组。

帮帮我 (Help)

Help and syntax information about local groups can be printed with the following command.

可以使用以下命令来打印有关本地组的帮助和语法信息。

$ net localgroup /?

Help localgroup

帮助localgroup

清单群组 (List Groups)

Local groups can be listed with net localgroupcommand. This will list local groups not domain groups.

可以使用net localgroup命令列出本地组。 这将列出本地组而不是域组。

$ net localgroup

List Groups

清单群组

As we can see groups are listed line by line. These groups are default groups those came with Windows Operating System.

如我们所见,组是逐行列出的。 这些组是Windows操作系统随附的默认组。

Administratorsis most privileged groups used for administration

Administrators是用于Administrators的最特权组

Usersis least privileged user used for normal users.

Users是用于普通用户的最低特权用户。

创建组 (Create Group)

Windows local groups can be create with /ADDoption easily. We will create a local group named Developersin this example.

Windows本地组可以使用/ADD选项轻松创建。 在此示例中,我们将创建一个名为Developers的本地组。

$ net localgroup Developers /ADD

Create Group

创建组

We get the message ofsuccessful group creation.

我们收到成功创建群组的信息。

删除群组 (Delete Group)

Local groups can be removed if we have no need for them. We will use /DELETEoption to remove group.

如果我们不需要本地组,则可以将其删除。 我们将使用/DELETE选项删除组。

$ net localgroup Developers /DELETE

列出组用户 (List Group Users)

One of the most used option is listing given group users. We need to provides the local group name for its users. In this example we will list local group named Administratorsusers.

最常用的选项之一是列出给定的组用户。 我们需要为其用户提供本地组名称。 在此示例中,我们将列出名为Administrators users的本地组。

$ net localgroup "Administrators"

List Group Users

列出组用户

As we can see the local groups alias and comment about the group is printed too. Administrators local group have two users named Administratorand ismail. Do not confuse user Administratorwith the local group Administratorsthey are different entities.

如我们所见,本地组别名和关于组的评论也被打印出来。 管理员本地组有两个名为Administrator和ismail用户。 不要将用户Administrator与本地组Administrators混淆,它们是不同的实体。

LEARN MORE Linux Bash Comments Inline or Outline

了解更多Linux Bash注释的内联或大纲

将用户添加到组(Add User To A Group)

We can add existing user to the local group by providing the user named and /ADDoption. In this example we will add user ismailto the Developersgroup. So user ismail will use all resources and privileges provided by Developersgroup.

我们可以通过提供用户名称和/ADD选项将现有用户添加到本地组。 在此示例中,我们将用户ismail添加到Developers组。 因此,用户ismail将使用Developers组提供的所有资源和特权。

$ net localgroup Developers ismail /ADD

在组中添加评论 (Add Comment To The Group)

In busy environment we will manage lot of builtin and administrator created groups. We need some clues about these local groups to remember. Or we can set some notes like when we will delete these groups. All these information can be stored in comments about group. We will set some note about Developersgroup.

在繁忙的环境中,我们将管理许多内置和管理员创建的组。 我们需要一些有关这些本地团体的线索来记住。 或者我们可以设置一些注释,例如何时删除这些组。 所有这些信息都可以存储在有关组的注释中。 我们将为Developers组设置一些注释。

$ net localgroup Developers /COMMENT:"Only 10.1.0.0/24 network"

The comment can be viewer with GUI or while listing group members.

该评论可以是具有GUI的查看者,也可以是列出组成员的评论者。

翻译自: /local-group-management-windows-command-line/

命令行修改本地组策略

命令行修改本地组策略_通过命令行从Windows进行本地组管理相关教程

tzutil时区选项_在Windows中从命令行在Tzutil中设置时区

tzutil时区选项_在Windows中从命令行在Tzutil中设置时区 tzutil时区选项 Time and date configuration is very important for servers. Some logs and security rules are tied with date and time information. In windows environments this information ca

windows sc命令_Windows Sc从命令行进行服务管理

windows sc命令_Windows Sc从命令行进行服务管理 windows sc命令 Operating systems run services to server operating system or user level features. These windows services generally starts in the startup and stopped at the shutdown. But some time

使用Windows Powershell从命令行获取服务服务管理

使用Windows Powershell从命令行获取服务服务管理 Windows Powershell provides easy to use commands or command-lets to manage Windows systems. Powershell can be used to manage Windows Services and provides builtin command for related operations

windows命令行快捷键_Windows配置工具命令行快捷方式

windows命令行快捷键_Windows配置工具命令行快捷方式 windows命令行快捷键 Windows have a lot of tools to manage the operating system and user related configuration. As windows mainly used through GUI accessing some tools needs a lot of navigati

如何以Windows的不同方式从命令行启动应用程序?

如何以Windows的不同方式从命令行启动应用程序? Windows is very user friendly and GUI oriented operating system. Other operating systems like Unix, Linux, BSD came from non-GUI heritance and adopted the GUI experience in recent decade very go

如何使用Dir在Windows命令行中导航,列出文件和目录?

如何使用Dir在Windows命令行中导航,列出文件和目录? Windows operating system provides command line tool named MS-DOS. This command line have different tools and capabilities for daily operations. We will look some simple steps about usage li

如何在Windows中使用Schtasks从命令行计划任务?

如何在Windows中使用Schtasks从命令行计划任务? Recurring tasks are generally schedules with scheduled task manager. Scheduled task manager have GUI for management but creating a task in 20 different servers is very hard and trivial job. Wind

mysql命令行导入导出_如何在Windows中通过命令行添加,删除,删

mysql命令行导入导出_如何在Windows中通过命令行添加,删除,删除,导入,导出,管理注册表项?... mysql命令行导入导出 Registry is a database used by Windows operating systems to store information about applications, users, operating system, netw

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。