windows – 有没有办法刷新计算机组成员资格而无需重新启动?
我正在使用
Windows Server 2008 R2并在计算机ComputerA中的“网络服务”帐户下运行Windows服务.此Windows服务希望访问共享folde(在另一台计算机B上),该共享将授予组GroupA的读取权限.所以我需要将ComputerA的计算机帐户添加到GroupA并重新启动ComputerA.
我的问题是:有没有办法让小组成员在不重新启动ComputerA的情况下生效? For Windows 2008 and higher: psexec -s -i -d cmd.exe C:Windowssystem32>whoami nt authoritysystem -- List the session 0 tickets (0x3e7 is the machine session 0) klist -lh 0 -li 0x3e7 -- Purge the session 0 tickets klist -lh 0 -li 0x3e7 purge Should display: Current LogonId is 0:0x3e7 Deleting all tickets: Ticket(s) purged! PSExec是Microsoft免费下载的SysInternals. 为了消除任何混淆,此过程绝对会刷新计算机的组成员身份,并允许应用于安全组的组策略现在应用于计算机,而无需重新启动计算机.这已经在Windows Server 2012 R2和Windows Server 2008 R2以及通用安全组上进行了测试和验证.简短的版本是: > psexec -s -i -d cmd.exe 此时,可以退出系统命令提示符. > gpupdate / force 查看gpreport,它现在应该显示应用的组策略. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 重置Windows域用户密码
- windows-server-2003 – 重启后自动启动Windows Server 200
- 使用Win8进行Javascript漫游设置
- windows-server-2008 – Windows高级防火墙 – 添加授权计算
- wpf – Microsoft UI自动化库与编码UI测试
- 对于Windows 7/8 / 8.1 / 10,还有Autorun.inf的替代方案吗?
- windows server2012 IIS压力测试500就报错的问题
- windows-7 – 如何使用命令行启用“Internet连接共享”?
- haskell – 可以在Windows上构建?
- windows-phone-7 – 获取当前播放的歌曲列表windows phone
- windows-server-2008 – 如何判断安装SQL Server
- wpf – 类型’System.Windows.Controls.Button’
- windows下tomcat单机多实例部署
- windows-server-2003 – 为WebSites定义IIS IP地
- 解析DELL R710服务器迁移操作内容
- 如何在Windows中的python中将输出定向到txt文件
- windows – 免费的SSL VPN客户端
- windows-phone-7 – 在Windows Phone中购买应用程
- ScrollViewer中的WebView带有XAML元素头
- windows – PrintWindow位图与PrintScreen Key位