Powershell - set desktop background for specific user (Windows 7 and/or 2008 Server) -


assuming logged on administrator, can use powershell assign desktop background image specific user account?

i've seen answers similar 1 powershell script shortcut change desktop following used

registrykey key = registry.currentuser.opensubkey("control panel\\desktop", true); 

which, assume, work logged on user. how user not logged on (any user)?

the user did not have desktop background set before.

any other automated solution welcome, not limited powershell.

the general consensus seems need load user's registry hive. think you're looking for: http://jrich523.wordpress.com/2012/03/06/powershell-loading-and-unloading-registry-hives/


Comments