命令行修改本地组策略_通过命令行从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 localgroup command. 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操作系统随附的默认组。

Administrators is most privileged groups used for administration

Administrators是用于Administrators的最特权组

Users is least privileged user used for normal users.

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

创建组 (Create Group)

Windows local groups can be create with /ADD option easily. We will create a local group named Developers in this example.

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

$ net localgroup Developers /ADD

Create Group

创建组

We get the message of successful group creation.

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

删除群组 (Delete Group)

Local groups can be removed if we have no need for them. We will use /DELETE option 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 Administrators users.

最常用的选项之一是列出给定的组用户。 我们需要为其用户提供本地组名称。 在此示例中,我们将列出名为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 Administrator and ismail . Do not confuse user Administrator with the local group Administrators they 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 /ADD option. In this example we will add user  ismail to the Developers group. So user ismail will use all resources  and privileges provided by Developers group.

我们可以通过提供用户名称和/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 Developers group.

在繁忙的环境中,我们将管理许多内置和管理员创建的组。 我们需要一些有关这些本地团体的线索来记住。 或者我们可以设置一些注释,例如何时删除这些组。 所有这些信息都可以存储在有关组的注释中。 我们将为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的查看者,也可以是列出组成员的评论者。

翻译自: https://www.poftut.com/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

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

  1. 命令行快速删除当前行_在命令行中快速有效地工作

    命令行快速删除当前行 There are a lot of command line tips and trics in the internet. Most of them discribe the ...

  2. vue使用命令行构建完项目后_通过命令行创建vue项目的方法

    通过命令行创建vue项目的方法 最近想要学习vue,正好看到资料,如何通过命令创建vue项目的方法,就留个笔记 环境要求: 安装有 Node.js. vue.vue-cli . 创建项目: vue i ...

  3. 50行的python游戏代码_使用50行Python教AI玩运杆游戏

    编译:yxy 出品:ATYUN订阅号 嗨,大家好!今天我想展示如何使用50行Python代码教一台机器来平衡杆!我们将使用标准的OpenAI Gym作为我们的测试环境,并只使用numpy创建我们的智能 ...

  4. 更改本地计算机用户名,Win10怎么修改本地账号的用户名

    Windows 10操作系统在易用性和安全性方面有了极大的提升,除了针对云服务.智能移动设备.自然人机交互等新技术进行融台外,还对固态硬盘.生物识别.高分辨率屏幕等硬件进行了优化完善与支持.最近有网友 ...

  5. matlab命令行窗口显示长度设置_设置命令行窗口输出显示格式 | MATLAB format| MathWork...

    本页对应的中文页面未升级,但未能翻译. 若应查看最新内容,请点击这里访问英文页面. 设置命令行窗口输出显示格式 format 将命令行窗口中的输出显示格式修改为 style 指定的格式. format ...

  6. 三百行python代码的项目_使用300行代码创建一个分布式系统

    使用 300 行代码创建一个分布式系统 构建一个分布式系统是很困难的. 它需要可扩展性. 容错性. 高可用性. 一致性. 可伸缩以及高效.为了达到这些目的,分布式系统需要很多复杂的组件以一 种 复杂的 ...

  7. 局域网计算机修改网络用户,如何修改局域网计算机的访问密码

    当我们电脑连入局们访问都要输入密码是比较麻烦的么解决局域网访问需要密码,如何取消访问局域网的密码?其实访问局域网需要密码是Windows防火墙为了保护自身安全,限制了随便的局域网链接,我们只要把防火墙 ...

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

    命令行修改本地组策略 Modern operating systems like Linux, Windows uses groups to manage user rights more flexi ...

  9. xp本地计算机策略被更改,组策略的使用方法,和XP系统的实用修改窍门

    组策略是管理员为计算机和用户定义的,用来控制应用程序.系统设置和管理模板的一种机制.通俗一点说,是介于控制面板和注册表之间的一种修改系统.设置程序的工具.微软自Windows NT 4.0开始便采用了 ...

  10. 修改服务器的ip地址的命令行,修改服务器的ip地址的命令行

    修改服务器的ip地址的命令行 内容精选 换一换 如果默认的yum/apt/zypper源不可用,工具安装过程中会从华为开源镜像站匹配对应的镜像文件,并给出下载地址.如果没有匹配到,请自行获取对应操作系 ...

最新文章

  1. android 图片横竖判断_Android横竖屏切换及其对应布局加载问题详解
  2. Miniconda3+PyTorch1.7.1(GPU版)+Win10_x64+GTX1060深度学习环境搭建
  3. MyISAM与InnoDB的索引实现
  4. Oracle 学习笔记:Backup Recovery 常用命令
  5. jquery中的DOM操作集锦
  6. SSD: how to optimize your Solid State Drive for Linux Mint 17.3, Ubuntu 16.04 and Debian
  7. 1005:I Think I Need a Houseboat-poj
  8. ubuntu 下 php 安装 zip
  9. ISV客户博客系列:iVoteSports通过Windows Azure扩展它的面向棒球的移动游戏应用程序...
  10. Java框架数据库连接池比较(c3p0,dbcp和proxool)
  11. vba遍历字符串_操蛋的VBA程序错误!
  12. VSTO/Excel: 获取Excel图表中的某个点的数据
  13. Hadoop学习之本地运行hadoop
  14. seay代码审计mysql插件报错_Seay源代码审计系统2.1版本下载(附源码): 人人都是代码审计师...
  15. 现代密码学第一次实验:线性移位寄存器
  16. Win8 MSDN 简中/繁中/英文正式版下载(微软官方原版)
  17. 在VC2015里包含了lib库,但没有设置对路径的出错
  18. python爬取招聘网站源码及数据分析_Python爬取招聘网站进行数据分析,福利待遇一清二楚,高薪很简单...
  19. 网管的自我修养-信息系统
  20. AI-WEB-1.0简单攻略

热门文章

  1. Spring Guide:Securing a Web Application(中文大概意思)
  2. abc计算机机房建设标准,ABC级数据中心机房建设要求
  3. android 仿饿了么地图,微信小程序仿饿了么地址定位、筛选与回传
  4. 《机器学习》周志华第一章课后习题
  5. TIA Openness开发入门(2)
  6. 如何将gif动图分解成png格式?动图分解器如何使用?
  7. MindManager 2021授权许可密钥思维导图软件
  8. ecshop内页显示最新文章
  9. 西南大学计算机考研学硕,西南大学心理学学硕343分考研经验
  10. 安卓问题-第三方相关