Hi,
We had configured deny rights on System ID on file C:\Windows\System32\drivers\USBSTOR.SYS from GPO,
Now we need to revert the same using Bigfix,
We have tried below commands, however its not working on 64 Bit OS from Bigfix Deployment,
Commands are working fine on 32 Bit OS and when dos commands are executed manually on system.
waithidden “{pathname of system folder & “\cmd.exe”}” /Q /C CACLS C:\Windows\System32\drivers\USBSTOR.SYS /P System:F /T /E
waithidden “{pathname of system folder & “\cmd.exe”}” /Q /C icacls C:\Windows\System32\drivers\USBSTOR.SYS /grant System:(OI)(CI)F
We have also tried running batch file with only dos commands, however same result was received.
Same issue was observed in relevance when trying to check if file exists on 64 Bit OS, however by provide x64 it was resolved.
q: exists file "C:\Windows\System32\drivers\USBSTOR.SYS"
A: False
T: 0.149 ms
q: exists x64 file "C:\Windows\System32\drivers\USBSTOR.SYS"
A: True
T: 0.139 ms
Anyone knows how the same can be achieved in action script or any method to change file permission of file C:\Windows\System32\drivers\USBSTOR.SYS on 64 Bit OS using Bigfix.
Thanks.