PipelineFX Forum
Qube! => General => Topic started by: Alexander on February 28, 2014, 06:38:19 PM
-
I would like to do a response to: http://www.pipelinefx.com/forum/index.php?topic=1560.0
Sure, you could do it by hand and login to all of your blades.
Open the program.
Navigate to the right tab.
Add the directory.
But if you have a couple of machines, this would take time.
Now I ask all of you, lets come together and find a faster solution :-)
The fast, but not the best solution is to have a command executed on the computers:
sc stop MsMpSvc
Today I tried making it as a .reg-file...
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Exclusions\Paths
Didnt go to well to have a .reg deployed on the whole farm, since it seems to be a permission problem.
Anyone else got any suggestions?
-
Came up with a solution, you will need:
PsExec.exe from: http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
PsExec.exe -i -s -d cmd
This will open Command prompt as local system.
CMD-Command: REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Exclusions\Paths" /v "C:\ProgramData\Pfx\Qube" /t REG_DWORD /d 0 /f
A real ugly solution :
Create a folder on for example; D:\
D:\reg\
Inside this folder you store psexec.exe
Then create 2 bat-files
1.bat
PsExec.exe -i -s -d D:\reg\2.bat
2.bat
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware\Exclusions\Paths" /v "C:\ProgramData\Pfx\Qube" /t REG_DWORD /d 0 /f
Then just run 1.bat ;D
gl&hf