I was trying to disable smbv1 using bigfix fixlet. Is it possible to run script with BigFix version of 10.0.2? I have tried 2 commands however it went nowhere. Is there any other option than these?
-------start command 1-------
waithidden sc.exe config mrxsmb10 start= disabled
action requires restart “SMBv1_DisableService”
–result–
server not able to be accessed directly using RDP
--------start command 2-------
// Disable wow64 redirection on x64 OSes
action uses wow64 redirection {not x64 of operating system}
delete __createfile
// CREATEFILE
createfile until END_OF_FILE
// REPLACE THE FOLLOWING WITH THE SCRIPT YOU WANT TO RUN ON THE ENDPOINT
Set-SmbServerConfiguration -EnableSMB1Protocol $false
END_OF_FILE
delete powershell.ps1
move __createfile powershell.ps1
waithidden { pathname of file ((it as string) of value “Path” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell” of native registry) } -ExecutionPolicy Bypass -File powershell.ps1
–result–
it’s running with no end.