WindowsXP open and close the default share for each partition of the hard disk

Source: Internet
Author: User

   turn on and off default shares for each partition on your hard disk
(windowsxp original system is originally open)
Turn off the default shares for each partition of your hard disk (such as C $, d$, e$ ...)
   Open the default share for the hard disk:
Save the following code as "Turn on shared. reg" to run.
Windows Registry Editor Version 5.00
[Hkey_local_machine\system\currentcontrolset\services\lanmanserver\parameters]
"AutoShareServer" =dword:00000001
[Hkey_local_machine\system\currentcontrolset\services\lanmanserver\parameters]
"AutoShareWks" =dword:00000001
   turn off HDD default share download:
XP off:
▓ turn off the default shares for each partition of the hard drive (such as C $, d$, e$ ...).
▓ turn off manage default shares (admin$).
▓ prevent the use of ipc$ to establish an empty connection.
Win7 and XP shut down the default share for each partition of the hard disk. rar
Automatically close the Idle IDE Channel
The IDE channel looks here: Device Manager IDEATA/ATAPI Controller. You can generally see two or more. The device type within its properties, the system is automatically detected by default, set it to no can improve the boot speed. But if you want to pick up the hard drive or optical drive later, please remember to change the corresponding channel to automatic detection, otherwise you will not see them after entering the system. Create a new Notepad, copy the following code into Notepad, and then change the suffix name to "Automatically turn off the Idle IDE Channel. bat" Double-click Run.
@ ECHO.
@ ECHO.
@ Pause
@shift
:: Modified IDE Channel detection device mode, no device is set to none, improve XP boot speed
:: It is recommended to run after the system second reboot detects all installed IDE devices
@set _debug=
@echo%_debug% off & setlocal enabledelayedexpansion
Set Hkey1=hklm\system\currentcontrolset\enum\pciide\idechannel
Set Hkey2=hklm\system\currentcontrolset\control\class
echo detection begins .....
for/f "Usebackq tokens=*"%%i in (' reg query%hkey1% ^| find/i "idechannel\" ') Does call: _check "%%i"
@ ECHO.
@ ECHO.
@ ECHO.
echo IED channel detection device mode setting is complete.
@ ECHO.
Pause
Goto:eof
: _check
:: Echo%1
Set subkey=
for/f "Usebackq tokens=3*"%%j in (' reg query%1 ^| find/i "Driver" ') do set subkey=%%j
Set driverdesc=
for/f "Usebackq tokens=3,4*"%%k in (' reg query '%hkey2%\%subkey% "/V DriverDesc ^| find/i" DriverDesc "') do set Driverd Esc=%%k%%l Channel
Reg QUERY "%hkey2%\%subkey%"/V Masterdevicetype | find/i "0x0" > Nul
If not%errorlevel%==1 goto _chgmaster
There is a device on the echo "%driverdesc%" device 0.
Goto _checkslave
: _chgmaster
REG ADD "%hkey2%\%subkey%"/V usermasterdevicetype/t reg_dword/d 3/f >nul
echo "%driverdesc%" device 0 on no device, the system "detection mode" is set to none.
: _checkslave
Reg QUERY "%hkey2%\%subkey%"/V Slavedevicetype | find/i "0x0" > Nul
If not%errorlevel%==1 goto _chgslave
There is a device on the echo "%driverdesc%" Device 1.
Goto:eof
: _chgslave
REG ADD "%hkey2%\%subkey%"/V userslavedevicetype/t reg_dword/d 3/f >nul
echo "%driverdesc%" Device 1 on no device, the system "detection mode" is set to none.
Goto:eof
   Clear all the extra startup items
Create a new Notepad, copy the following code into Notepad, save the suffix name to "cmd", and double-click to run.
Cls
@ Echo OFF
@ Echo.
PAUSE
Reg Export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run C:\windows\1.reg
Reg Export HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run C:\windows\2.reg
Type C:\windows\1.reg >> c:\windows\ backup startup Project. reg
Type C:\windows\2.reg >> c:\windows\ backup startup Project. reg
Del C:\windows\1.reg
Del C:\windows\2.reg
Reg delete hkey_local_machine\software\microsoft\windows\currentversion\run/va/f
Reg delete hkey_current_user\software\microsoft\windows\currentversion\run/va/f
REG ADD hkey_current_user\software\microsoft\windows\currentversion\run/v ctfmon.exe/d C:\WINDOWS\system32\ Ctfmon.exe
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\msconfig\startupreg"/F
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared tools\msconfig\startupreg\imjpmig8.1"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared tools\msconfig\startupreg\imjpmig8.1"/v command/d "" \ c \ Windows\ime\imjp8_1\imjpmig. EXE "/spoil/remadvdef/migration32"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared tools\msconfig\startupreg\imjpmig8.1"/V hkey/d HKLM
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared tools\msconfig\startupreg\imjpmig8.1"/V inimapping/d 0
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared tools\msconfig\startupreg\imjpmig8.1"/V item/d IMJPMIG
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared tools\msconfig\startupreg\imjpmig8.1"/V key/d SOFTWARE\ Microsoft\windows\currentversion\run
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared tools\msconfig\startupreg\phime2002a"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared tools\msconfig\startupreg\phime2002a"/V command/d "C:\WINDOWS \system32\ime\tintlgnt\tintsetp. Exe/imename "
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared tools\msconfig\startupreg\phime2002a"/V hkey/d HKLM
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared tools\msconfig\startupreg\phime2002a"/V inimapping/d 0
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared tools\msconfig\startupreg\phime2002a"/V item/d TINTSETP
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared tools\msconfig\startupreg\phime2002a"/V key/d SOFTWARE\ Microsoft\windows\currentversion\run
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\msconfig\startupreg\phime2002async"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\msconfig\startupreg\phime2002async"/v command/d "" \ c \ Windows\ime\imjp8_1\imjpmig. EXE "/spoil/remadvdef/migration32"
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\msconfig\startupreg\phime2002async"/V hkey/d HKLM
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\msconfig\startupreg\phime2002async"/V inimapping/d 0
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\msconfig\startupreg\phime2002async"/V item/d TINTSETP
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\msconfig\startupreg\phime2002async"/V key/d SOFTWARE\ Microsoft\windows\currentversion\run
Del "C:\Documents and Settings\All users\" Start menu \ program \ start \*.* "/q/f
Del "C:\Documents and Settings\Default user\" start menu \ program \ start \*.* "/q/f
Del "%userprofile%\" start "menu \ Program \ start \*.*"/q/f
Start C:\WINDOWS\pchealth\helpctr\binaries\msconfig.exe
Note: This batch will automatically clean up all non-essential startup items, preserving only input methods (Ctfmon). The aim is to reduce unnecessary resource usage and make the system run smoothly. The original startup item is backed up and saved as a startup item for the c:\windows\ backup before cleaning. Reg, if you need to restore, double-click Import.
   XP off remote
My Computer Right button-Properties-Remote
Put the remote desktop under the--allow users to connect remotely to the remote computer, the front tick removed.
Then, in start, in Run, enter:
Services.msc
Enter XP self-service modification list
You can choose to turn it off, manually, or automatically.
is automatically started with Windows.
Manually start it yourself when needed.
Off to never start.
Remotely desktop Help session manager-Remote Assistance service, off.
Remote registry-Remotely registry run/modify, off!
NetMeeting Remote Desktop sharing-with NetMeeting for computer sharing, off!

WindowsXP open and close the default share for each partition of the hard disk

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.