积极答复者
组策略更改域内主机墙纸及用户头像

问题
-
server:windows server 2016 Datacenter
version:1607
OS version: 14393.2430
Client:windows 10 LTSB
version:1803/1709/1703/1607
OS version:17134.228
需求:通过组策略统一下发图片,作为域内主机(大约近五千台主机)本机用户的头像(是否需符合各类场景、大小规格)、用户登录壁纸、登录后显示壁纸;
目前测试:1.通过组策略,修改用户配置→管理模板→桌面→桌面,将路径指定域内共享文件夹内指定图片(经测试,本地用户访问共享文件夹正常,无需验证),多次刷新测试端策略gpupdate,壁纸无变化;
2.修改用户配置→管理模板→控制面板→组织更改墙纸,多次刷新测试端策略gpupdate,在测试端依旧可以手动修改壁纸,该策略无效;
3.头像暂未测试;
请问:1.如何满足需求?
2.之前发现说无法通过组策略修改注册表方式修改壁纸,若无法通过组策略下发方式,近五千台主机人工修改成本太高,请问该如何解决?
3.在client端刷新gpupdate策略时,多次刷新总是很难成功,注销、重启主机都试过,为测试问题将策略下发时间设置为10分钟,可是依然大概需要等待90分,其他OU设置的也是10分,没有这个感觉,这是为什么呢?
多谢,在线等
- 已编辑 GBL_Ray 2018年9月12日 10:06
答案
全部回复
-
你好,
刚刚测试了,下面链接的方法。执行 gpupdate /force 后,注销再登录就生效了。
登录后显示壁纸:组策略设置--统一桌面背景用户登录壁纸:Computer Configuration \ Policies \ Admin Templates \ Control Panel \ Personalization
force a specific default lock screen and logon image
头像你想设置成什么样的? 所有人都一个样,还是每个人都不一样?
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
- 已编辑 Xin GuoMicrosoft contingent staff 2018年9月13日 9:07
- 已标记为答案 GBL_Ray 2018年9月30日 6:52
- 取消答案标记 GBL_Ray 2018年9月30日 6:52
-
你好,
注册表:
'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\UseDefaultTile'. Set this to DWORD 1(默认是 0)
组策略:
For GPO, the
Computer Configuration -> Policies -> Administrative Templates -> Control Panel -> User Accounts and open Apply the default user logon picture to all users.
头像大小,参考%PROGRAMDATA%\Microsoft\User Account Pictures\user.jpg. 的大小。
引用:
This policy setting allows an administrator to standardize the account pictures for all users on a system to the default account picture. One application for this policy setting is to standardize the account pictures to a company logo.
Note: The default account picture is stored at %PROGRAMDATA%\Microsoft\User Account Pictures\user.jpg. The default guest picture is stored at %PROGRAMDATA%\Microsoft\User Account Pictures\guest.jpg. If the default pictures do not exist, an empty frame is displayed.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已建议为答案 Xin GuoMicrosoft contingent staff 2018年9月25日 2:53
-
你好,
刚刚测试了,下面链接的方法。执行 gpupdate /force 后,注销再登录就生效了。
登录后显示壁纸:组策略设置--统一桌面背景用户登录壁纸:Computer Configuration \ Policies \ Admin Templates \ Control Panel \ Personalization
force a specific default lock screen and logon image
头像你想设置成什么样的? 所有人都一个样,还是每个人都不一样?
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
你好,请问这种方法应该是把那张图片放在一个共享文件夹内是吧?但是我这边现在测试有个问题,如果是域账号,可以直接访问,如果是客户端是本地账户,那么访问的时候需要验证密码,锁屏图片就不能修改;
网上查了查,有人说需要把策略里的“本地账户的共享和访问模型”改为“仅来宾”,然后开启guest用户,这个方法没有测试,感觉对安全性有所降低,请问是否有其他办法,在客户端访问共享文件夹时,本地账户访问无需验证?或者,组策略统一修改用户锁屏界面时,是对计算机生效而非用户?(我们公司目前是要求机器在域内,但是并不是域账户登录,都是用的本地账户登录)
这个问题测试好几天了,一直没解决,还请帮忙解决,多谢。
-
你好,
理解了您的担忧。我们想到的方法是通过添加Domain Computers组控制共享文件夹权限。
这样只要是域内的计算机账户都可以访问这个路径。
计算机策略参考下图:
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已建议为答案 Xin GuoMicrosoft contingent staff 2018年10月15日 3:07
-
你好,多谢耐心解答,经过测试,虽然测试客户端通过本地账户无法直接访问共享文件夹(需要弹出账号密码验证),但是经过域策略是可以正常下发,没有太明白原因,不过效果达到了,感谢!
- 已建议为答案 Xin GuoMicrosoft contingent staff 2018年10月15日 3:07
-
Note: The default account picture is stored at %PROGRAMDATA%\Microsoft\User Account Pictures\user.jpg. The default guest picture is stored at %PROGRAMDATA%\Microsoft\User Account Pictures\guest.jpg. If the default pictures do not exist, an empty frame is displayed.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
Note: The default account picture is stored at %PROGRAMDATA%\Microsoft\User Account Pictures\user.jpg. The default guest picture is stored at %PROGRAMDATA%\Microsoft\User Account Pictures\guest.jpg. If the default pictures do not exist, an empty frame is displayed.
这意思是说,我把需要更换的图片命名为user.jpg,然后放在那个目录,开启那个策略就可以了?我是这样操作的,只是我是放在了域控的这个目录里,这样也是可以的么?而不是放在一个共享目录内是么?
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
估计不行, 你可以测试一下。
更新图片可以用脚本。
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
估计不行, 你可以测试一下。
更新图片可以用脚本。
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.之前你回复的说还有注册表的一个地方的更改,那个地方改了也是无效的是么?要想统一修改域账号的头像,就只能用脚本来实现的么?有具体的帖子可以参考么?
注册表:
'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\UseDefaultTile'. Set this to DWORD 1(默认是 0)
组策略:
For GPO, the
Computer Configuration -> Policies -> Administrative Templates -> Control Panel -> User Accounts and open Apply the default user logon picture to all users.
头像大小,参考%PROGRAMDATA%\Microsoft\User Account Pictures\user.jpg. 的大小。