Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Software Restriction Policy when running code from VisualStudio

Software Restriction Policy when running code from VisualStudio

Software Restriction Policy when running code from VisualStudio

Hey all, looking for some advice.
Environment : SCHOOL
Network : Win 2K/2K3
Hosts: Win XP with Visual Studio 2010

Students can code a module, and run it with the debugger it works fine (when it has not yet been saved). As soon as you save the project. Trying to run it from the debug command, or launching the built executable generates the Software Restriction Policy block.

We can't take out .EXE from the Software restriction policy because that would cause free-for-all, and we can't realistically specify a single filename.exe as that would count on sutdents saving the project with the exact filename, and also would open up possibility for students understanding that filename.exe is not being blocked, and then renaming other applications we are trying to be blocked from running. I would assume there is someway to run code from the debugger that compiles the code inside it's own kind of virtual environment, free from policy settings.

Does anyone know if there is a sensible way round this? I may be looking over something blatently obvious.

Any contributions greatly appreciated.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close