Windows 7用户配置文件创建会覆盖自定义墙纸 [英] Windows 7 user profile creation overwrites custom wallpaper

查看:76
本文介绍了Windows 7用户配置文件创建会覆盖自定义墙纸的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个场景,我在Windows 7中使用"默认"和"默认"创建一个新的用户配置文件。个人资料作为模板。之后,我加载新创建的用户的NTUser.dat文件,并通过更改"HKU \Control Panel \Desktop \ Wallpaper"来更改用户的Wallpaper设置。注册表项指向我的自定义壁纸文件。然后我卸载NTUser.dat并登录到我创建的新用户。
用户配置文件加载Windows 7的默认壁纸,而不是我在上述注册表项中配置的壁纸。当我检查注册表项时,我发现它被默认的墙纸位置覆盖了"C:\ Users \< Username> \ Appdata \Roaming\Microsoft \ Windows \ Themes \ TranscodedWallpaper.jpg" ;.
如果我从现在起手动修改注册表项,它会被正确反映出来。这表明当新用户第一次登录时,Windows 7会执行某些操作。

我已经尝试了一个案例:
我试图将我的文件复制到默认壁纸位置Windows 7并将其重命名为"TranscodedWallpaper.jpg"。但是,当配置文件加载时,我的自定义壁纸jpg文件被Windows 7的默认jpg壁纸取代。

有人可以帮我理解Windows 7在创建新配置文件时遵循的新逻辑吗?上述程序在XP和Vista上运行良好,但在Windows 7上运行不佳。

提前谢谢

Hi,
I have a scenario wherein I create a new user profile in Windows 7 using the "Default" profile as the template. After that, I load the NTUser.dat file of the newly created user and make changes to the user's Wallpaper setting by changing the "HKU\Control Panel\Desktop\Wallpaper" registry entry to point to my custom wallpaper file. I then unload the NTUser.dat and login to the new user that I created.
The user profile loads up with the default wallpaper of Windows 7 instead of the wallpaper that I configured in the above mentioned registry entry. When I checked the registry entry, I found that it was overwritten by the default wallpaper location which is "C:\Users\<Username>\Appdata\Roaming\Microsoft\Windows\Themes\TranscodedWallpaper.jpg".
If I modify the registry entry manually from now, it gets reflected properly. This suggests that Windows 7 does something when a new user logs in for the first time.

I have tried one more case:
I have tried to copy my file into the default wallpaper location of Windows 7 and renamed it to "TranscodedWallpaper.jpg". However, when the profile loaded, my custom wallpaper jpg file got replaced with the default jpg wallpaper of Windows 7.

Could anyone please help me understand the new logic that Windows 7 follows when creating a new profile? The above mentioned procedure works great on XP and Vista, but not on Windows 7.

Thanks in Advance

推荐答案

I有同样的问题。我在使用MDT进行部署时使用脚本来设置默认用户配置文件,但我遇到了相同的壁纸问题。其他注册表更改似乎有效(桌面图标fx。),而不是壁纸。

您找到了解决方案吗?或者更改这个更好的选择? (我想我可以在RunOnce中更改它,但宁愿只为默认用户配置文件执行一次)
I have the same issue. I use a script to setup the default user profile when deploying through MDT, but I have the same wallpaper issue. The other registry changes seem to work (desktop icons fx.), just not the wallpaper.

Have you found a solution? Or a better alternative for changing this? (I guess I could change it in RunOnce, but would rather just do it once for the default user profile)


这篇关于Windows 7用户配置文件创建会覆盖自定义墙纸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆