7.OS_Harden
Last updated
Last updated
1.All server get executable files from salt master salt -N 'OS-Windows' cp.get_file 'D:\security_policy_command.bat' salt -N 'OS-Windows' cp.get_file 'D:\security_policy_infchange.inf'
2.Execute salt -N 'OS-Windows' cmd.run 'pushd D:\ && security_policy_command.bat'
3.Confirm result can check by check list
4.delete files salt -N 'OS-Windows' cmd.run 'del D:\security_policy_command.bat' salt -N 'OS-Windows' cmd.run 'del D:\security_policy_infchange.inf' salt -N 'OS-Windows' cmd.run 'del D:\secedit.sdb'