+ Reply to Thread
Results 1 to 2 of 2

Thread: Scripting newbie needs help

  1. #1
    moebusby@gmail.com is offline Getting Started on GPanswers.com
    Join Date
    Dec 1969
    Posts
    1

    Question Scripting newbie needs help

    Background info first.

    We have an Main OU with several Sub OU's. All GPO's except the ones designed specifically for the sub OU are applied in the Main OU. General GPO's include Applications and Drive mappings. Specific ones are Printers for specialty software.

    Now for the problem.

    I have a drive mapping GPO that is applied to the whole container. Now we want to deny it to one specific security group which includes all users in one of the sub OU's but we do not want to block inheritance of the rest of our GPO's so I am trying to write a WMI script. I know it should say something like:

    SELECT * from Win32_{something} WHERE {variable} [=,>,<,is, etc] {desired result}
    but I am unsure how to fill in the blanks to deny a security group.

    I would appreciate any and all help

  2. #2
    scottzaiss is offline 100+ Helpful Posts! 50+ Helpful Posts
    Join Date
    Dec 1969
    Posts
    118

    Default

    Since you already have the users you want excluded in a security group, the simplest way to deny the policy would be to go to the Delegation tab in the GPMC add the security group and set the 'Apply group policy' permission to Deny.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO