Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo on
- echo This script deactivates the SMB client in Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows 8, and Windows Server 2012
- sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
- sc.exe config mrxsmb10 start= auto
- sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
- sc.exe config mrxsmb20 start= auto
- echo You need to restart the system to make changes effective.
- pause
Advertisement
Add Comment
Please, Sign In to add comment