Skip to content

Instantly share code, notes, and snippets.

@seyerj
Last active October 2, 2020 18:00
Show Gist options
  • Save seyerj/07a3bc4eba76e674b494984a12a42622 to your computer and use it in GitHub Desktop.
Save seyerj/07a3bc4eba76e674b494984a12a42622 to your computer and use it in GitHub Desktop.
@echo off
: set logging
set LOGFILE=SMB1Protocol-settings-deploy.log
call :LOG > %LOGFILE%
exit /B
:LOG
: ###############################
: SMBv1 batch script 1 v0.1
: 09/29/2020 Josh Seyer
: Douglas County, OR
: ###############################
: Set SMBv1 Settings for old server access *security risk* (requires reboot)
Dism /online /Enable-Feature /FeatureName:"SMB1Protocol" -All
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment