Jump to content

Disable Recycle Bin "display delete confirmation dialog"


Recommended Posts

Posted

Hello,

does anybody know whether and how it's possible to disable Recycle Bin "display delete confirmation dialog" in a slipstream Windows XP installation disk created using nLite?


Posted (edited)

Add the next command to unattended->runonce section of nLite:

REG.EXE ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "ShellState" /t REG_BINARY /d "2400000037280000000000000000000000000000010000000d0000000000000002000000" /f

or use the next code in a .reg file from Windows itself (after importing, perform a refresh from right click context menu to take effect):

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"ShellState"=hex:24,00,00,00,37,28,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
01,00,00,00,0d,00,00,00,00,00,00,00,02,00,00,00

Edited by radix
Posted (edited)

Hey krige, I modified the post above because the code turn the Start Menu to classic.

Edited by radix
Posted

Hey radix, I think your code above forcefully turns the Start menu to standard, even when it is set to Classic in nLite.

Posted
Hey radix, I think your code above forcefully turns the Start menu to standard, even when it is set to Classic in nLite.

Yep

This code disable Recycle Bin "display delete confirmation dialog" and turn Start Menu to Classic:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"ShellState"=hex:24,00,00,00,37,28,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
01,00,00,00,0d,00,00,00,00,00,00,00,01,00,00,00

And this one disable Recycle Bin "display delete confirmation dialog" and turn Start Menu to Standard:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"ShellState"=hex:24,00,00,00,37,28,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
01,00,00,00,0d,00,00,00,00,00,00,00,02,00,00,00

I don't know why is involved the Start Menu in Recycle Bin "display delete confirmation dialog".

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...