zabbix
+ Reply to Thread
Results 1 to 10 of 10

Thread: I can't edit the ConvertedWallpaper value in the registry!

  1. #1
    Join Date
    Jul 2006
    Posts
    6

    I can't edit the ConvertedWallpaper value in the registry!

    I made the following .reg file:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Control Panel\Desktop]
    "ConvertedWallpaper"="C:\Documents and Settings\User\My Documents\My Pictures\cool* copy.jpg"
    Despite a "this has been written successfully to the registry" box popping up, this will not work. It seems that for some reason the "ConvertedWallpaper" value cannot be edited by a .reg or by a .bat file. The only way I could figure out how to change it was to manually modify it using regedit, which is useless.

    Can anyone help me figure out how this value can be edited? It's strange because I can make another value and edit other things in the exact same folder. For some reason I can't touch "ConvertedWallpaper", though.

    I'm using XP Home Edition SP2.
    Last edited by Goldenclaw; 07-18-2006 at 12:01 AM.

  2. #2
    Join Date
    Jan 2005
    Posts
    623
    Couple things to try in order to eliminate each potential problem:

    *. Try to name your file without spaces.
    2. I've read something about paths in a .reg need to have double \\ - Try that also.

    So first try this:
    Code:
    REGEDIT4
    [HKEY_CURRENT_USER\Control Panel\Desktop]
    "ConvertedWallpaper"="C:\\Documents and Settings\\User\\My Documents\\My Pictures\\cool*copy.jpg"
    Then try this:
    Code:
    REGEDIT4
    [HKEY_CURRENT_USER\Control Panel\Desktop]
    "ConvertedWallpaper"="C:\Documents and Settings\User\My Documents\My Pictures\cool*copy.jpg"
    Last edited by SyntaXmasteR; 07-18-2006 at 07:35 PM.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  3. #3
    Join Date
    Jan 2005
    Posts
    58
    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Control Panel\Desktop]
    "Wallpaper"="C:\Documents and Settings\User\My Documents\My Pictures\cool* copy.jpg"

    Syntax****** is wrong on this occasion I think, try the above.

  4. #4
    Join Date
    Jan 2005
    Posts
    58
    You also need to reboot after editing the registry value for it take effect. The reason why Syntax****** was wrong is because the filepath is inside " " so that will be enough. The location of the registry you tried to edit is also NOT the correct location, pay particular attention to the location I gave

  5. #5
    Join Date
    Jan 2005
    Posts
    623
    *2*456

    You do not get the point. Reread the post. The KEY wasnt CREATED. This means something was wrong in the code. And you do not need to reboot before a registry key is change. This is false. Once a registry key has been created or change you can view it in the current session. To activate the key sometimes a reboot is needed.
    Last edited by SyntaXmasteR; 07-18-2006 at 07:37 PM.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  6. #6
    Join Date
    Jan 2005
    Posts
    58
    Point taken.

    But, either way altering that registry value will not work, trust me That value will not affect the wallpaper.

  7. #7
    Join Date
    Jan 2005
    Posts
    623
    He did not say he was having trouble altering his wallpaper. He said he could not get the value "ConvertedWallpaper" to change with the registry file he created.

    Actually I just tested this code on my computer for you:
    Code:
    REGEDIT4
    [HKEY_CURRENT_USER\Control Panel\Desktop]
    "ConvertedWallpaper"="C:\\Documents and Settings\\User\\My Documents\\My Pictures\\cool*copy.jpg"
    It adds the value to the registry and points it to the correct location. So your problem was with the doulbe \\ in the path.
    Last edited by SyntaXmasteR; 07-18-2006 at 07:44 PM.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  8. #8
    Join Date
    Jan 2005
    Posts
    58
    Hmmm, do you not need a space between REGEDIT4 and the rest i.e.

    REGEDIT4

    [HKEY_CURRENT_USER\Control Panel\Desktop]
    "ConvertedWallpaper"="C:\\Documents and Settings\\User\\My Documents\\My Pictures\\cool*copy.jpg"

  9. #9
    Join Date
    Jan 2005
    Posts
    623
    A space or a hard return? You do need * hard return after just like in the code I posted.
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

  10. #10
    Join Date
    Sep 2005
    Posts
    2,050
    To some posts further up the page:

    '\\' is an escape sequence for the character '\'. Escape sequences are used to specify characters that perhaps can't be expressed with a key***rd, binary and hexadecimal numbers, or characters are already used for something else.

    For example, when I was coding some windows c++ programs, I couldn't use the character '\' to specify file locations, because the backslash character is already used to give escape codes, like '\n' for newline, '\r' for carriage return, and so on. If I used '\' alone, the compiler would think I wanted to specify an escape sequence, and would not accept it as the actual character '\'. Thus, in c++ you have to use '\\' for the character '\', as it is the escape sequence for that character.

    I don't know if windows uses anything like the same system for escape codes, but if you see a '\\', it is most likely expressing the character '\' in escape sequence form. It means exactly the same thing.
    Last edited by Ezekiel; 07-19-2006 at 11:57 AM.

+ Reply to Thread

Similar Threads

  1. MOD EDIT - History has been made
    By Remix in forum Internet Privacy
    Replies: 4
    Last Post: 02-20-2008, 11:32 PM
  2. Help.....Deleting Registry Kyes....!!!!!
    By wxyz in forum Internet Privacy
    Replies: 5
    Last Post: 03-15-2006, 06:09 AM
  3. retrieving intelliforms/spw registry
    By insearch4 in forum Security & Encryption
    Replies: 1
    Last Post: 05-06-2005, 10:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts