+ Post New Thread
Results 1 to 6 of 6
Scripts Thread, Running .exes from a network share in Coding and Web Development; Hi All, I've made a .NET program which won't run from a network drive because of the default security. The ...
  1. #1

    matt40k's Avatar
    Join Date
    Jun 2008
    Location
    Ipswich
    Posts
    4,342
    Thank Post
    367
    Thanked 624 Times in 509 Posts
    Rep Power
    156

    Running .exes from a network share

    Hi All,

    I've made a .NET program which won't run from a network drive because of the default security. The batch file fix is:

    cd C:\windows\Microsoft.NET\Framework\v2.0.50727\
    CasPol.exe -pp off
    CasPol.exe -cg LocalIntranet_Zone FullTrust
    Caspol.exe -pp on


    Anyone one know what this would be as a Group Policy?


    Cheers,

  2. #2
    deKay's Avatar
    Join Date
    Sep 2006
    Location
    Narrrfok
    Posts
    66
    Thank Post
    6
    Thanked 11 Times in 7 Posts
    Rep Power
    18
    The latest service pack for .NET 3.5 fixes this issue. Supposedly it fixes it for .NET 2.0 too.

  3. #3

    matt40k's Avatar
    Join Date
    Jun 2008
    Location
    Ipswich
    Posts
    4,342
    Thank Post
    367
    Thanked 624 Times in 509 Posts
    Rep Power
    156
    Unlikely, it's a security options to not run unsigned code on a "intranet".

  4. #4
    deKay's Avatar
    Join Date
    Sep 2006
    Location
    Narrrfok
    Posts
    66
    Thank Post
    6
    Thanked 11 Times in 7 Posts
    Rep Power
    18

  5. Thanks to deKay from:

    matt40k (6th August 2009)

  6. #5

    matt40k's Avatar
    Join Date
    Jun 2008
    Location
    Ipswich
    Posts
    4,342
    Thank Post
    367
    Thanked 624 Times in 509 Posts
    Rep Power
    156
    I stand correct. Thank you.

    Darn... Have the latest SIMSINF on the new server, which includes it, just need to change the sims setups directory to point to the new server, oh I have a .net app that does it on the network share...

  7. #6
    DrPerceptron's Avatar
    Join Date
    Dec 2008
    Location
    In a house
    Posts
    911
    Thank Post
    34
    Thanked 133 Times in 113 Posts
    Rep Power
    40
    That's good to know, good to know SP1 fixes it too though...

    if you still want it as a GPO... I assume you just the batch file in the netlogon folder or somewhere similar and call it as a startup script... I can't see any reason it wouldn't work...

SHARE:
+ Post New Thread

Similar Threads

  1. blocking .exes using group policy
    By Neville in forum Windows
    Replies: 2
    Last Post: 8th May 2009, 12:37 PM
  2. Running script from share - shortcut?
    By reggiep in forum Mac
    Replies: 0
    Last Post: 17th March 2009, 12:48 PM
  3. OS X Network Share for all users
    By theeldergeek in forum Mac
    Replies: 15
    Last Post: 4th December 2008, 07:16 PM
  4. Running Open Office from a network Share?
    By Kyle in forum General Chat
    Replies: 5
    Last Post: 9th November 2007, 11:43 AM
  5. Running Office 2007 from a network Share
    By BKGarry in forum Wireless Networks
    Replies: 15
    Last Post: 6th February 2007, 09:59 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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