Where is the code, an Admin should be able to write there, not as system but as a local admin
–
AthomSfereApr 3 '13 at 21:28

Code is wshShell.RegWrite "HKLM\Software\Microsoft\Microsoft Antimalwre\Scan\DisableRemovableDriveScanning", 0, "REG_DWORD" and run in vbs as administrator
–
James YoungApr 3 '13 at 21:37

2

I would try your idea then update your question if you want people to help you. Your script file is exactly how I would do something like this.
–
RamhoundApr 4 '13 at 11:59

Thanks, I have tried everything that I could think of but it would not work, since the value is locked by the Microsoft Antimalware process (MSE) and this process cannot be disabled, so I'm stuck.
–
James YoungApr 4 '13 at 15:53