| Author |
Message |
Maria
Guest
|
Posted:
Fri Jan 14, 2005 9:37 am Post subject:
Recycle bin properties set through registry- XP embedded |
|
|
Hi,
Please let me know if there is some possible sol to the following query.
Is there any way to set Recycle bin properties-->global tab-->Display delete
confirmation dialog(check box -checked) through registry key ?
Thanks in advance.
Maria
--
Life is a strange teacher , it gives test first and then the lesson! |
|
| Back to top |
|
 |
Maria
Guest
|
Posted:
Fri Jan 14, 2005 9:37 am Post subject:
Re: Recycle bin properties set through registry- XP embedded |
|
|
Thanks a lot Lucvdv for the interesting information...u r gr8.
Maria
"Lucvdv" wrote:
| Quote: | On Thu, 13 Jan 2005 22:31:01 -0800, "Maria"
Maria@discussions.microsoft.com> wrote:
Hi,
Please let me know if there is some possible sol to the following query.
Is there any way to set Recycle bin properties-->global tab-->Display delete
confirmation dialog(check box -checked) through registry key ?
Thanks in advance.
Maria
The setting is saved in a binary value containing other parameters as well.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
Value ShellState is for example:
24 00 00 00 37 A8 00 00 ....
The fifth byte contains this setting: 33 = confirmation on, 37 = off.
It's a bitmap, where bit 3 (0000 0100 binary) is the one you want.
The other bits control other settings, for example 0100 0000 = Active
Desktop on/off (called "lock web items on desktop" in XP).
Show desktop icons on/off = bit 0001 0000 of the next byte.
After changing it directly in the registry, explorer (the shell instance)
has to be restarted before it takes effect.
|
|
|
| Back to top |
|
 |
KM
Guest
|
Posted:
Fri Jan 14, 2005 9:37 am Post subject:
Re: Recycle bin properties set through registry- XP embedded |
|
|
Or, in case the value gets set to default when the user account is created (up to testing), you can use SHGetSetSettings API
(SSF_NOCONFIRMRECYCLE mask, bSet=True).
KM
| Quote: | On Thu, 13 Jan 2005 22:31:01 -0800, "Maria"
Maria@discussions.microsoft.com> wrote:
Hi,
Please let me know if there is some possible sol to the following query.
Is there any way to set Recycle bin properties-->global tab-->Display delete
confirmation dialog(check box -checked) through registry key ?
Thanks in advance.
Maria
The setting is saved in a binary value containing other parameters as well.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
Value ShellState is for example:
24 00 00 00 37 A8 00 00 ....
The fifth byte contains this setting: 33 = confirmation on, 37 = off.
It's a bitmap, where bit 3 (0000 0100 binary) is the one you want.
The other bits control other settings, for example 0100 0000 = Active
Desktop on/off (called "lock web items on desktop" in XP).
Show desktop icons on/off = bit 0001 0000 of the next byte.
After changing it directly in the registry, explorer (the shell instance)
has to be restarted before it takes effect.
|
|
|
| Back to top |
|
 |
Lucvdv
Guest
|
Posted:
Fri Jan 14, 2005 9:37 am Post subject:
Re: Recycle bin properties set through registry- XP embedded |
|
|
On Thu, 13 Jan 2005 22:31:01 -0800, "Maria"
<Maria@discussions.microsoft.com> wrote:
| Quote: | Hi,
Please let me know if there is some possible sol to the following query.
Is there any way to set Recycle bin properties-->global tab-->Display delete
confirmation dialog(check box -checked) through registry key ?
Thanks in advance.
Maria
|
The setting is saved in a binary value containing other parameters as well.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
Value ShellState is for example:
24 00 00 00 37 A8 00 00 ....
The fifth byte contains this setting: 33 = confirmation on, 37 = off.
It's a bitmap, where bit 3 (0000 0100 binary) is the one you want.
The other bits control other settings, for example 0100 0000 = Active
Desktop on/off (called "lock web items on desktop" in XP).
Show desktop icons on/off = bit 0001 0000 of the next byte.
After changing it directly in the registry, explorer (the shell instance)
has to be restarted before it takes effect. |
|
| Back to top |
|
 |
|
|
|
|