• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Background change via CMD?

shady123

Golden Member
My co-worker always changes my background on my computer to something stupid like Powerpuff girls, or Barbie or something, but I can never get to his computer when he's not there... so is there a dos command I could do to change his background remotly via something like psexec?


Or is there a file I could put into Local Settings or something?

HELP ME PRANK!
 
change it in the registry. 😉

Make sure to change the login screen background to the same picture so when he fixes the desktop, he will think he fixed it. Upon locking it he will soon learn...
 
HKEY_USERS\S-1-5-21-1957985908-1302751443-1856903913-2931\Control Panel\Desktop

What ever his sid is, will be the one you need to change.

If you want to be really annoying, make a scheduled job to reimport the registry key even night. 😉:evil:

Also, these entries pop up:

HKEY_USERS\S-1-5-21-1957985908-1302751443-1856903913-2931\Software\Microsoft\Internet Explorer\Desktop\General\BackupWallpaper

HKEY_USERS\S-1-5-21-1957985908-1302751443-1856903913-2931\Software\Microsoft\Internet Explorer\Desktop\General\Wallpaper
 
If you know what his default background is, and have access to the admin share on his computer, you can copy a different wallpaper of the same filename over an UNC path and replace his.
 
Originally posted by: shady123
My co-worker always changes my background on my computer to something stupid like Powerpuff girls, or Barbie or something, but I can never get to his computer when he's not there... so is there a dos command I could do to change his background remotly via something like psexec?


Or is there a file I could put into Local Settings or something?

HELP ME PRANK!


Is this not frowned upon in a work environment?
 
Originally posted by: TGS
HKEY_USERS\S-1-5-21-1957985908-1302751443-1856903913-2931\Control Panel\Desktop

What ever his sid is, will be the one you need to change.

If you want to be really annoying, make a scheduled job to reimport the registry key even night. 😉:evil:

How the hell can I find out his sid?
 
Oh, and I change the "Wallpaper" registry key to a new one, but it doesn't actually change it right away, I have to go into display and hit apply?
 
stolen from windowsitpro.com:

Start the registry editor
Move to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Select each SID under this in turn and look at the ProfileImagePath and at the end of this string is the name of the user
Close the registry editor
If you knew the SID and just wanted to know the user name you could use the REG.EXE command (with Resource Kit Supplement 2), e.g.

reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<SID>\ProfileImagePath"
e.g. reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-1843332746-572796286-2118856591-1000\ProfileImagePath"

And again this will show the ProfileImagePath giving you the user.
 
Originally posted by: shady123
Oh, and I change the "Wallpaper" registry key to a new one, but it doesn't actually change it right away, I have to go into display and hit apply?


IIRC I think you have to log in or out. I did this to update our domains wallpaper. Put something similiar to run the registry file, if it wasn't detected already.
 
Originally posted by: TGS
Originally posted by: shady123
Oh, and I change the "Wallpaper" registry key to a new one, but it doesn't actually change it right away, I have to go into display and hit apply?


IIRC I think you have to log in or out. I did this to update our domains wallpaper. Put something similiar to run the registry file, if it wasn't detected already.

Damn there's nothing to force an "Apply" on the current background?
 
the trick was is I wanted it to just refresh while he was there... and it'd be obvious if I just powered off his box cause he'd just think I logged in and did it.
 
Back
Top