Author Topic: RE: Important message for all users with Windows-based Qube workers and supervis  (Read 10941 times)

Alexander

  • Jr. Member
  • **
  • Posts: 4
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?
"Ill put a dropbox installer on my dropbox, so I have a dropbox installer when I need to install dropbox"

Alexander

  • Jr. Member
  • **
  • Posts: 4
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
"Ill put a dropbox installer on my dropbox, so I have a dropbox installer when I need to install dropbox"