Save the gadgets settings in the Vista sidebar

Source: Internet
Author: User
Save the Vista sidebar gadgets. In Vista, you can add multiple gadget entries without affecting each other.
Therefore, after a gadget is deleted, the corresponding settings will also be lost.
So how to save the settings?
In Vista, save each user's gadget settings in the following locations:

Copy content to clipboard

Code:

%userprofile%/AppData/Local/Microsoft/Windows Sidebar/Settings.ini

After setting, back up settings. ini to achieve the backup goal.
Settings. INI File Format Parsing:
Each gadget is represented by a section.

Reference:

Example:
[Root]
Settingsversion = "00.00.00.01"
Sidebarshowstate = "imploded"
Sidebardockedpartsorder = "0xd, 0xe, 0x3, 0xb" // see the following description.
Section0 = "3" // a total of 4 gadget
Section1 = "11"
Section2 = "13"
Section3 = "14"
Sidebardockedpartspage1 = "4"
Sidebarautostart = "true" // enable the sidebar automatically after startup
Onetimeremovegadgetmessageshown = "true"
Onetimecloselastdockedmessageshown = "true"
Pickerposx = "210" // Add the location of the gadget window
Pickerposy = "89"
[Section 3]
Privatesetting_gadgetname = "XXXXXXXXX"
· Corresponding to the gadget settings ······
[Section 11]
···············
[Section 13]
···············
[Section 14
···············

Privatesetting_gadgetname = This item indicates the gadget path represented by this section (Note: % 5c indicates/% 20 indicates a space)
Sidebardockedpartsorder = "0xd, 0xe, 0x3, 0xb, 0xf," This row indicates the display order of the gadget.
Highlighted in red is a number in hexadecimal notation, and converted to decimal notation is the number corresponding to sectionx =.

If you accidentally delete the gadget file, you can use the backup file to restore the file (you must first disable the entire slide show sidebar to restore the file)
By garphy

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.