{Windows modification} is a must for individuals to reinstall the system.

Source: Internet
Author: User

Set ICO = D: \ pattern \ ICO \ program icon
Echo % ICO %

: Stop and disable automatic playback.
SC config ShellHWDetection start = disabled
Net stop "Shell Hardware Detection"
: Stop and disable automatic updates.
Net stop wuauserv
SC config wuauserv start = disabled

: Automatic update not required
Regsvr32/u wuaueng. dll

: Bytes ::---------------------------------------------------------------------------------------------------------------
: Right-click the menu and choose notepad.
Reg Add "hkey_classes_root \ * \ shell \ Notepad"/ve/T REG_SZ/D "(& 2) to notepad open"/F
Reg Add "hkey_classes_root \ * \ shell \ notepad \ command"/ve/T REG_SZ/D "notepad.exe \" % 1 \ ""/F

Reg Add "hkey_classes_root \ * \ shell \ editplus"/ve/T REG_SZ/D "(& 3) to editplus open"/F
Reg Add "hkey_classes_root \ * \ shell \ editplus \ command"/ve/T REG_SZ/D "D: \ Program Files \ editplus 3 \ editplus.exe \ "% 1 \" "/F

: Right-click the menu and choose cmd.
Reg Add "hkey_classes_root \ directory \ shell \ cmd"/ve/T REG_SZ/D "(& 1) to terminal"/F
Reg Add "hkey_classes_root \ directory \ shell \ cmd \ command"/ve/T REG_SZ/D "cmd.exe/k cd \" % L \ ""/F

Reg Add "hkey_classes_root \ * \ shell \ Terminal"/ve/T REG_SZ/D "(& 1) to terminal"/F
Reg Add "hkey_classes_root \ * \ shell \ Terminal \ command"/ve/T REG_SZ/D "cmd.exe echo \" % L \ ""/F

: Bytes ::---------------------------------------------------------------------------------------------------------------
: Right-click the menu to add a new key
Reg Add "hkcr \. BAT \ shellnew"/V nullfile/T REG_SZ/F
Reg Add "hkcr \. CMD \ shellnew"/V nullfile/T REG_SZ/F
Reg Add "hkcr \. vbs \ shellnew"/V nullfile/T REG_SZ/F
Reg Add "hkcr \. js \ shellnew"/V nullfile/T REG_SZ/F
Reg Add "hkcr \. html \ shellnew"/V nullfile/T REG_SZ/F
Reg Add "hkcr \. c \ shellnew"/V nullfile/T REG_SZ/F
Reg Add "hkcr \. cpp \ shellnew"/V nullfile/T REG_SZ/F
Reg Add "hkcr \. ASM \ shellnew"/V nullfile/T REG_SZ/F
Reg Add "hkcr \. Java \ shellnew"/V nullfile/T REG_SZ/F

: Bytes ::---------------------------------------------------------------------------------------------------------------

: Hfile
Reg Add "hkcr \. H"/ve/T REG_SZ/D "hfile"/F
Reg Add "hkey_classes_root \ hfile"/ve/T REG_SZ/D "program header source document"/F
Reg Add "hkey_classes_root \ hfile \ defaulticon"/ve/T REG_SZ/D "% ICO % \ head. ICO"/F
Reg Add "hkey_classes_root \ hfile \ shell \ open"/ve/T REG_SZ/D "Open & O"/F
Reg Add "hkey_classes_root \ hfile \ shell \ open \ command"/ve/T REG_SZ/D "% SystemRoot % \ system32 \ notepad. EXE % 1"/F

: Asmfile
Reg Add "hkcr \. ASM"/ve/T REG_SZ/D "asmfile"/F
Reg Add "hkey_classes_root \ asmfile"/ve/T REG_SZ/D "assembler source document"/F
Reg Add "hkey_classes_root \ asmfile \ defaulticon"/ve/T REG_SZ/D "% ICO % \ ASM. ICO"/F
Reg Add "hkey_classes_root \ asmfile \ shell \ open"/ve/T REG_SZ/D "Open & O"/F
Reg Add "hkey_classes_root \ asmfile \ shell \ open \ command"/ve/T REG_SZ/D "% SystemRoot % \ system32 \ notepad. EXE % 1"/F

: Cppfile
Reg Add "hkcr \. cpp"/ve/T REG_SZ/D "cppfile"/F
Reg Add "hkey_classes_root \ cppfile"/ve/T REG_SZ/D "C ++ program source document"/F
Reg Add "hkey_classes_root \ cppfile \ defaulticon"/ve/T REG_SZ/D "% ICO % \ c ++. ICO"/F
Reg Add "hkey_classes_root \ cppfile \ shell \ open"/ve/T REG_SZ/D "Open & O"/F
Reg Add "hkey_classes_root \ cppfile \ shell \ open \ command"/ve/T REG_SZ/D "% SystemRoot % \ system32 \ notepad. EXE % 1"/F

: Cfile
Reg Add "hkcr \. c"/ve/T REG_SZ/D "cfile"/F
Reg Add "hkey_classes_root \ cfile"/ve/T REG_SZ/D "C program source document"/F
Reg Add "hkey_classes_root \ cfile \ defaulticon"/ve/T REG_SZ/D "% ICO % \ c. ICO"/F
Reg Add "hkey_classes_root \ cfile \ shell \ open"/ve/T REG_SZ/D "Open & O"/F
Reg Add "hkey_classes_root \ cfile \ shell \ open \ command"/ve/T REG_SZ/D "% SystemRoot % \ system32 \ notepad. EXE % 1"/F

: Javafile
Reg Add "hkcr \. Java"/ve/T REG_SZ/D "javafile"/F
Reg Add "hkey_classes_root \ javafile"/ve/T REG_SZ/D "Java program source document"/F
Reg Add "hkey_classes_root \ javafile \ defaulticon"/ve/T REG_SZ/D "% ICO % \ Java. ICO"/F
Reg Add "hkey_classes_root \ javafile \ shell \ open"/ve/T REG_SZ/D "Open & O"/F
Reg Add "hkey_classes_root \ javafile \ shell \ open \ command"/ve/T REG_SZ/D "% SystemRoot % \ system32 \ notepad. EXE % 1"/F

: Bytes ::---------------------------------------------------------------------------------------------------------------
: Display the system-locked Extension
Reg Delete "hkcr \ lnkfile"/V nevershowext/F
Reg Delete "hkcr \ piffile"/V nevershowext/F
Reg Delete "hkcr \ xnkfile"/V nevershowext/F
Reg Delete "hkcr \ docshortcut"/V nevershowext/F
Reg Delete "hkcr \ internetshortcut"/V nevershowext/F
Reg Delete "hkcr \ shw.file"/V nevershowext/F
Reg Delete "hkcr \ shellscrap"/V nevershowext/F

: Display hidden extensions
Reg Add "hkcu \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced"/V hidefileext/T REG_DWORD/d 00000000/F

: Show Hidden Files
Reg Add "hkcu \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced"/V hidden/T REG_DWORD/D 1/F
Reg Add "hkcu \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced"/V hidefileext/T REG_DWORD/D 0/F
Reg Add "hkcu \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Advanced"/V showsuperhidden/T REG_DWORD/D 1/F

: Set icons for each disk
Reg Add "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ driveicons \ c \ defaulticon"/ve/T REG_SZ/D "D: \ pattern \ ICO \ 1831_aquaneueblue \ aqua Neue \ favorites. ICO "/F
Reg Add "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ driveicons \ D \ defaulticon"/ve/T REG_SZ/D "D: \ pattern \ ICO \ 1831_aquaneueblue \ aqua Neue \ internal-alt. ICO "/F
Reg Add "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ driveicons \ e \ defaulticon"/ve/T REG_SZ/D "D: \ pattern \ ICO \ 1831_aquaneueblue \ aqua Neue \ internal-alt. ICO "/F
Reg Add "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ driveicons \ f \ defaulticon"/ve/T REG_SZ/D "D: \ pattern \ ICO \ 1831_aquaneueblue \ aqua Neue \ internal-alt. ICO "/F
Reg Add "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ driveicons \ H \ defaulticon"/ve/T REG_SZ/D "D: \ pattern \ ICO \ cd_rom_driver.ico"/F

: Taskkill/f/IM assumer.exe
: Start assumer.exe
Pause

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.