daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import subprocess
  2. proc = subprocess.check_output("auditpol /get /category:*").decode('utf-8')
  3. print (proc)
  4.    
  5. Traceback (most recent call last):
  6.  File "C:UsersmeDesktoptest.py", line 14, in <module>
  7.   proc = subprocess.check_output("auditpol /get /category:*").decode('utf-8')
  8.  File "C:Program FilesPython36libsubprocess.py", line 336, in
  9.   check_output**kwargs).stdout
  10.  File "C:Program FilesPython36libsubprocess.py", line 418, in run
  11.   output=stdout, stderr=stderr)
  12. subprocess.CalledProcessError: Command 'auditpol /get /category:*' returned
  13.  non-zero exit status 1314.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top