Advertisement
jessemoore

SecureGPOWorkshopCMDS

Sep 12th, 2020 (edited)
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Client Workstation where the GPO will apply to
  2.  
  3. # Download the ADMX for Windows 10 2004
  4. # https://www.microsoft.com/en-us/download/101445
  5.  
  6. cd $env:TEMP
  7.  
  8. auditpol /get /category*
  9.  
  10. GPRESULT /H GPReport.html
  11.  
  12. #Use cmd.exe as “Administrator” to
  13. gpupdate /FORCE  
  14. gpupdate /wait:0 /Force
  15.  
  16.  
  17.  
  18. #Admin workstation where you will stage the GPO to import into OU:
  19.  
  20. #Go to https://workbench.cisecurity.org and download the GPO Build (Remediation) kit
  21.  
  22. Gpmc.msc
  23.  
  24. Dsa.msc
  25.  
  26. #Could gpupdate via “right click” on OU  
  27.  
  28. # Policy Analyzer
  29. #https://blogs.technet.microsoft.com/secguide/2016/01/22/new-tool-policy-analyzer/ 
  30.  
  31. # EXTRA:
  32. runas /netonly /user:Domain_Name\Domain_USER mmc
  33. runas /u:<domain>\<username> /netonly "mmc yourmsc.msc"
  34.  
  35. # Online GPS
  36. https://gpsearch.azurewebsites.net/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement