Jump to content

Recommended Posts

Posted

Hi,

 

I am aware of how to restrict specific executables from being run using group policy but is there a way to blanket block all executables from running on a certain drive?

 

For example I have users with mapped drive F:\. I don't want them to be able to run any executable files at all from this drive.

 

Any help would be appreciated,

 

Cheers.

Posted
Hi, It's been a while since i have done this but i am sure you can specify a new path rule to disalow exe files via group policy also, be sure to include shortcuts also, if you do not do this the exe will still run regardles of what you policy says.
Posted

Hi,

 

Well, the path rule thing was what I was talking about, I've tried using wildcards for example F:\*.exe and that doesn't work. Specifying full file names does work but I want to stop any exe running on the F:\ drive, I don't want to have to keep adding new files as we find them.

  • 1 month later...
Posted
Hi, It's been a while since i have done this but i am sure you can specify a new path rule to disalow exe files via group policy also, be sure to include shortcuts also, if you do not do this the exe will still run regardles of what you policy says.

 

Hi 2003 RC2 has file screens that does this, I think!

Posted

Yes, of course. You can do this via a particular GPO.

 

Says if you had a student GPO, which has the logon script to pull down the mapped drives etc. In User Configuration -> Windows Settings -> Security Settings -> Software Restriction Policies. If you haven't already, create a policy (literally a couple of simple clicks, if i remember?). Then click Additional Rules.

 

Right Click -> New Path Rule. Then, enter in a path (says you wanted to block them on the H drive, try H:\*.exe), make sure security level is "disallowed", click OK and head out of the gpo editor window.

 

I hope that's right, lol!

Posted

You need to install file server resource manager on your windows 2003 R2 / windows 2008 box. There you can config file screening.

 

bio..

Posted
Yes, of course. You can do this via a particular GPO.

 

Says if you had a student GPO, which has the logon script to pull down the mapped drives etc. In User Configuration -> Windows Settings -> Security Settings -> Software Restriction Policies. If you haven't already, create a policy (literally a couple of simple clicks, if i remember?). Then click Additional Rules.

 

Right Click -> New Path Rule. Then, enter in a path (says you wanted to block them on the H drive, try H:\*.exe), make sure security level is "disallowed", click OK and head out of the gpo editor window.

 

 

 

Can this be applied on any USB drive?

 

Thanks.

Posted
Yes it sure can - if you use a program like USB Drive Letter Manager. This ensures that USB sticks always go on the same drive letter, and you can therefore specify them as disallow. Best way tho is to use disallow overall - with specific allows. You need to do your homework on anything that requires write access first before changing this main setting. I sense a blog post coming up.....! It mite be on the WIKI already tho so worth takin a look there.
Posted

i did this through the group policy software restrictions

 

basically set the Software Restriction Policies/Security Levels

Default Security Level Disallowed

 

so that all exes and things like VBS are disabled

And then under

 

Software Restriction Policies/Additional Rules

Path Rules

 

setup rules that allow things through

 

c:\Program files (x86)

Security Level Unrestricted

 

Also include all you logon server shares etc.. (so that VBS and CMD scripts can run)

the windows directory!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...