PowerShell through change wallpaper remote users desktop

Ask your 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.
This topic is 6 years and 2 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
srinivas.u
Posts: 2
Last visit: Wed Feb 21, 2018 8:01 am

PowerShell through change wallpaper remote users desktop

Post by srinivas.u »

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 12:46 am, edited 1 time in total.
User avatar
localpct
Posts: 397
Last visit: Thu Oct 27, 2022 5:57 am

Re: PowerShell through change wallpaper remote users desktop

Post by localpct »

srinivas.u wrote: Mon Feb 12, 2018 9: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
Last visit: Wed Feb 21, 2018 8:01 am

Re: PowerShell through change wallpaper remote users desktop

Post by srinivas.u »

I work for is centralizing their network, so we don't have access to change the GPO,
User avatar
CRWDawg
Posts: 2
Last visit: Tue Sep 26, 2023 5:55 am

Re: PowerShell through change wallpaper remote users desktop

Post by CRWDawg »

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..
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: PowerShell through change wallpaper remote users desktop

Post by jvierra »

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.
This topic is 6 years and 2 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked