PowerShell through change wallpaper remote users desktop

Ask your Windows PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
srinivas.u
Posts: 2
Joined: Thu May 09, 2013 2:58 am

PowerShell through change wallpaper remote users desktop

Post by srinivas.u » Mon Feb 12, 2018 10:10 am

Hi ,

I'm trying to change wallpaper remote systems, any one help powershell script.



Thanks,
Srini
Last edited by srinivas.u on Tue Feb 13, 2018 1:46 am, edited 1 time in total.

User avatar
localpct
Posts: 252
Joined: Wed Sep 09, 2015 12:53 pm

Re: PowerShell through change wallpaper remote users desktop

Post by localpct » Mon Feb 12, 2018 2:12 pm

srinivas.u wrote:
Mon Feb 12, 2018 10:10 am
Hi ,

I'm trying to change wallpaper remote systems, any one help powershell script.



Thanks,
Srini
Why not through GroupPolicy?

User avatar
srinivas.u
Posts: 2
Joined: Thu May 09, 2013 2:58 am

Re: PowerShell through change wallpaper remote users desktop

Post by srinivas.u » Tue Feb 13, 2018 1:48 am

I work for is centralizing their network, so we don't have access to change the GPO,

User avatar
CRWDawg
Posts: 2
Joined: Tue Feb 20, 2018 11:05 am

Re: PowerShell through change wallpaper remote users desktop

Post by CRWDawg » Thu Mar 08, 2018 6:10 am

This request sounds like a really bad idea, and a very cool prank. That being said, the wallpaper location will be stored in the CurrentUser registry of each individual user. Changing it which will require mounting ntuser.dat in remote session, modifying the specific registry property, dismounting the ntuser.data and making sure the required background is available on the local machine. Good luck..

User avatar
jvierra
Posts: 12270
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: PowerShell through change wallpaper remote users desktop

Post by jvierra » Thu Mar 08, 2018 2:48 pm

In an enterprise the standard practice is to lock down the users wallpaper via a GPO. If you cannot change it from the desktop then it cannot be changed by script.

Locked