问题
I'm no longer sure that "GuestOnly" is really the registry key I need to change to prevent file syncing between a handheld device and the PC to which it is connected.
If I open ActiveStync's "Windows Mobile Device Center", select "Mobile Device Settings" then "Change content sync settings" and check or uncheck "Files - Sync Settings", it does not alter the value of the "GuestOnly" registry key in "SOFTWARE\Microsoft\Windows CE Services"
The "GuestOnly" value remains 0x00000000 (0) no matter whether I check or uncheck "Files - Sync Settings" (I do mash F5 to refresh the display in regedit).
So is there some other registry key that corresponds to toggling "Files - Sync Settings", or have all my travails to set this value been to no avail? There must be some registry key that's getting set...
回答1:
The GuestOnly registry setting is for supressing the Setup Partnership Wizard that will come up for newly connected Windows CE based devices. If set, there will be no PartnerShip Wizard, if not set, the Partnership Wizard comes up.
This setting is not to enable/disable any syncing options in ActiveSync/WMDC.
If you like to find the registry settings or file changes when changing sync options of a device you have to use either a snapshot or monitor approach.
来源:https://stackoverflow.com/questions/28095837/how-can-i-determine-which-registry-setting-gets-updated-when-the-user-selects-f