PipelineFX Forum

Qube! => General => Topic started by: Alexander on February 28, 2014, 06:38:19 PM

Title: RE: Important message for all users with Windows-based Qube workers and supervis
Post 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:
Quote
sc stop MsMpSvc

Today I tried making it as a .reg-file...
Quote
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?
Title: Re: RE: Important message for all users with Windows-based Qube workers and supervis
Post by: Alexander on April 01, 2014, 06:24:53 PM
Came up with a solution, you will need:
PsExec.exe from: http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

Quote
PsExec.exe -i -s -d cmd
This will open Command prompt as local system.

CMD-Command:
Quote
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
Quote
PsExec.exe -i -s -d D:\reg\2.bat

2.bat
Quote
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