Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-08-2006, 01:08 PM   #1 (permalink)
An Esoteric Geek
 
sridatta's Avatar
 
Join Date: Mar 2006
Location: Bangalore
Posts: 286
Question Can we change the desktop wallpaper in windows XP using Registry


Hi Guyz...

I tried to change my desktop wallpaper by replacing the registry key
HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper

but.. no matter which wall paper has been set, the key value remains same i.e. "C:\Documents and Settings\Sridatta Chegu\Local Settings\Application Data\Microsoft\Wallpaper1.bmp"

also.. i couldnot find any .bmp files in the above folder path.

I also tried to change the key
HKEY_CURRENT_USER\Control Panel\Desktop\ConvertedWallpaper
which contain the exact file path of the current wall paper.. but it didnot work

Plss help me out.

Thanks
sridatta is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 07-08-2006, 02:23 PM   #2 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Can we change the desktop wallpaper in windows XP using Registry

Did u set the value of HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper to a BMP file address?
Coz u can set oinly BMP files as wallpaper, otheriwse windows automatically convert those images into BMP file and its saved at C:\Documents and Settings\Sridatta Chegu\Local Settings\Application Data\Microsoft\Wallpaper1.bmp.
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 07-08-2006, 11:53 PM   #3 (permalink)
An Esoteric Geek
 
sridatta's Avatar
 
Join Date: Mar 2006
Location: Bangalore
Posts: 286
Default Re: Can we change the desktop wallpaper in windows XP using Registry

ye.. i tried all the possiblitites.. even then.. the wall paper is not changing...
sridatta is offline  
Old 08-08-2006, 01:55 AM   #4 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Can we change the desktop wallpaper in windows XP using Registry

ConvertedWallpaper contains the path to the JPG or other format files, which r converted to BMP when U apply them as wallpaper!
U can change the wallpaper directly by changing the HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper key! It works for me!
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 08-08-2006, 08:48 AM   #5 (permalink)
An Esoteric Geek
 
sridatta's Avatar
 
Join Date: Mar 2006
Location: Bangalore
Posts: 286
Default Re: Can we change the desktop wallpaper in windows XP using Registry

When i changed the key
HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper
my desktop backgnd didnot change even if i set a bmp image

when i right click my desktop and browse properties, then i observe the new wall paper there in desktop tab. but my desktop background is still the same old one..

did i miss any other steps ???
sridatta is offline  
Old 08-08-2006, 02:32 PM   #6 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Can we change the desktop wallpaper in windows XP using Registry

Tell me one thing!
Are u able to change the desktop wallpaper using other methods, like right-clicking on the image and select "set as wallpaper" or from Desktop properties?
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 08-08-2006, 09:10 PM   #7 (permalink)
An Esoteric Geek
 
sridatta's Avatar
 
Join Date: Mar 2006
Location: Bangalore
Posts: 286
Default Re: Can we change the desktop wallpaper in windows XP using Registry

ya, i m able to change through other methods.
I m writing a code in batch file in which i need to change the wallpaper through command line. I was able to change the registry keys but the wall paper is not changing.. so i m trying 4 that..
sridatta is offline  
Old 08-08-2006, 09:19 PM   #8 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Can we change the desktop wallpaper in windows XP using Registry

OK! Now I got it...
Try to change the value of OriginalWallpaper to the BMP path...
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 08-08-2006, 11:02 PM   #9 (permalink)
An Esoteric Geek
 
sridatta's Avatar
 
Join Date: Mar 2006
Location: Bangalore
Posts: 286
Default Re: Can we change the desktop wallpaper in windows XP using Registry

Ya.. i changed the value of OriginalWallpaper and the Wallpaper.. but the wall paper didnot change instantaneously...
But...When i tried to hide my icons and show them again.. then the wallpaper has changed... The wallpaper has changed even after restarting the system.. But it is not changing instantaneoulsy...
sridatta is offline  
Old 08-08-2006, 11:29 PM   #10 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Can we change the desktop wallpaper in windows XP using Registry

It means now the wallpaper is changing!
To change them instantaneously, give following command:

RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 08-08-2006, 11:59 PM   #11 (permalink)
An Esoteric Geek
 
sridatta's Avatar
 
Join Date: Mar 2006
Location: Bangalore
Posts: 286
Default Re: Can we change the desktop wallpaper in windows XP using Registry

Vishal.. I have done it.. U r really superb.. very thank u 4 ur help..
bye

Vishal.. I have one more query to ask...
If i dont want to allow the user to change the wallpaper.. is there ny way to do that..??

Last edited by sridatta; 09-08-2006 at 12:03 AM. Reason: Automerged Doublepost
sridatta is offline  
Old 09-08-2006, 12:46 AM   #12 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Can we change the desktop wallpaper in windows XP using Registry

Try this!
In regedit, goto:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer

In right-side pane, create DWORD value NoChangingWallpaper and set it to 1
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 09-08-2006, 01:01 AM   #13 (permalink)
An Esoteric Geek
 
sridatta's Avatar
 
Join Date: Mar 2006
Location: Bangalore
Posts: 286
Default Re: Can we change the desktop wallpaper in windows XP using Registry

The attachment shows the right side part of the key
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer
I have added the key as you said but i m unable to change the wallpaper.. do i need to do anything else..?
Attached Images
File Type: jpg changewall.JPG (16.1 KB, 2 views)

Last edited by sridatta; 09-08-2006 at 01:07 AM.
sridatta is offline  
Old 09-08-2006, 01:31 AM   #14 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Can we change the desktop wallpaper in windows XP using Registry

Thats what the key does!
It restricts the user to change the wallpaper!
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 09-08-2006, 01:49 AM   #15 (permalink)
An Esoteric Geek
 
sridatta's Avatar
 
Join Date: Mar 2006
Location: Bangalore
Posts: 286
Default Re: Can we change the desktop wallpaper in windows XP using Registry

sorry vishal.. i am able to change to change the wallpaper even after adding the key...
it was a typographical error.. really very sorry..
sridatta is offline  
Old 09-08-2006, 02:02 AM   #16 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Can we change the desktop wallpaper in windows XP using Registry

OK!
Try this: In

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\System

Create a String value Wallpaper and change its value to the location of any BMP file, u want. After that only the wallpaper u set in the value is displayed!
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Old 09-08-2006, 02:27 AM   #17 (permalink)
An Esoteric Geek
 
sridatta's Avatar
 
Join Date: Mar 2006
Location: Bangalore
Posts: 286
Default Re: Can we change the desktop wallpaper in windows XP using Registry

Vishal.. once more.. i have succeded... and hence u too
thank u once again....

one small note.. no matter what value u type in the key.. the desktop tab is disabled in display properties and the current wallpaper cannot be changed.

the prlbm is solved. moderators please close the thread

Last edited by sridatta; 09-08-2006 at 09:32 AM. Reason: Automerged Doublepost
sridatta is offline  
Old 09-08-2006, 12:26 PM   #18 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: Can we change the desktop wallpaper in windows XP using Registry

U r welcome!

U can also disable the Desktop tab, by going to:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\System

And in right-side pane, create a DWORD value NoDispBackgroundPage and set its value to 1.

And if u want to disable the Whole Properties dialog box, so that the user can't access it by right-clicking on desktop & select Properties. Goto:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\System

And create DWORD value NoDispCPL and set its value to 1
__________________
:arrow: http://www.AskVG.com/
Vishal Gupta is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by ico
- by Tenida
- by gohan89
- by clinton

Advertisement




All times are GMT +5.5. The time now is 10:15 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2