Jump to content

Recommended Posts

Posted

We need to find a way to prevent students running shortcuts from various locations. Software Restriction Polices seems like the answer, which we already use for .exe etc, and .lnk files are there by default, but shortcuts (which definitely have the .lnk file extension) still work.

 

Thanks for any ideas.

Posted
we already do that, so a student brings in a shortcut to powershell on a USB stick (say Drive E: ), software restriction policies already dictate .lnk files are blocked from E:\ but the shortcut still runs....
Posted

You can block locations at the computer and user level, with the shortcuts you must explicitly block both.

 

But you should reverse the model and block all exe's and allow only the ones you want. (but perversely you'll want to exclude .lnk files) you'll find out why.

Posted
Work out a list of programs/system tools you don't want students running and explicitly block them. That way it doesn't matter if they are bringing in a USB with shortcuts on they won't launch the exe they point to.
Posted

we cant block PowerShell.exe because the logon scripts need it and they run as the user. Students can do all kinds of stuff in PowerShell.

 

chazzy2501 can you please elaborate on how your SRP are setup, you seem to have fixed this on your network?

We are concerned that machine SRP will get in the way of admin user.

 

Thanks

Posted

sure this is a pupil gpo, first the pupil SRP I set the default setting to "disallow" so no pupil can execute anything. I then added additional path rules to allow certain directories. The GPO will fill in 2 default directories so nothing will break, then add your own, I added the program files directories and our mapped Y drive for network programs.

 

This seemed like a good solution as you need admin creds to place anything in the program files directory and our mapped drive is read only. Sure you can still smuggle an executable in but you can never run it.

 

This was 99% perfect BUT I need the shortcut links to work in the taskbar on windows 8.1 (file explorer and ie) but these .lnk files can't be excluded using the path rules. I decided to exclude .lnk files from the executables list. This I had to do on both the user and the computer settings.

Posted

do you find that when you set the default to 'disallow' the shortcuts (.lnk) files are blocked? We can not get shortcut files to be blocked no matter what we do....

 

Thanks

Posted

did someone run your system before you? they could have removed the .lnk file type from the executables list.

 

but to your first point in a disallow by default it certainly stopped shortcuts. But are you talking about shortcuts or .ps1 files?

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...