473,473 Members | 1,489 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Can anyone shed some light on what my programmers want me to do?

They want me to: "Please research an AD setting that would allow us
to have .net programs on a network drive but not have to run the
caspol or gack commands, as we have done before"

They run: "CALL "%systemroot%\microsoft.net\framework
\v1.1.4322\caspol.exe" -pp off -machine -ag LocalIntranet_Zone -url
file:k:/* FullTrust -name AgilitydotNet"
Where do I even begin to look at making this change in the AD and or
Policies?
~Noob~

Aug 31 '07 #1
4 1356
Essentially what they are asking you to do is deploy .Net security policies
on your machines such that someone could run a .Net app from a network
drive. By default, that is not allowed an results in a .Net security
exception. When you install the .Net framework on a machine, it installs an
MMC snap-in called Microsoft .Net Framework Configuration--you should see it
under Administrative Tools. Within that snap-in you would select the option
to "Configure Code Access Security Policy". From there you can adjust
Framework security settings to allow any apps run from the Local Intranet
Zone to have Full Trust (or whatever is appropriate). From within that
dialog, there is an option to create a Deployment Package. Essentially what
that does is create an .MSI file that contains these security policy
settings. You would then take that resulting .MSI file and use GP Software
Installation policy to deploy it to your client machines. Once installed, it
will modify their .Net framework security settings on those machines.

Darren

--
Darren Mar-Elia
MS-MVP-Windows Server--Group Policy

Script Group Policy Settings with the GPExpert Scripting Toolkit for
PowerShell!
Find out more at http://www.sdmsoftware.com/products2.php

Visit the GPOGUY: http://www.gpoguy.com -- The Windows Group Policy
Information Hub:
FAQs, Training Videos, Whitepapers and Utilities for all things Group
Policy-related

"Noob" <jm********@phillipsmfg.comwrote in message
news:11**********************@g4g2000hsf.googlegro ups.com...
They want me to: "Please research an AD setting that would allow us
to have .net programs on a network drive but not have to run the
caspol or gack commands, as we have done before"

They run: "CALL "%systemroot%\microsoft.net\framework
\v1.1.4322\caspol.exe" -pp off -machine -ag LocalIntranet_Zone -url
file:k:/* FullTrust -name AgilitydotNet"
Where do I even begin to look at making this change in the AD and or
Policies?
~Noob~
Aug 31 '07 #2
Thank you very much.

Would I be able to have the CALL command in a script/bat that will do
the same thing? or would a msi file be the way to go
Aug 31 '07 #3
You could certainly use GP to run a computer startup script that calls that
command. I am assuming that that command persists--that is, that once you
set full trust using caspol.exe, that it will remain in place. I think
either approach is do-able. The MSI is obviously more complex but perhaps
more clean since it would only run once, as opposed to a computer startup
script that runs everytime you reboot the machine.

--
Darren Mar-Elia
MS-MVP-Windows Server--Group Policy

Script Group Policy Settings with the GPExpert Scripting Toolkit for
PowerShell!
Find out more at http://www.sdmsoftware.com/products2.php

Visit the GPOGUY: http://www.gpoguy.com -- The Windows Group Policy
Information Hub:
FAQs, Training Videos, Whitepapers and Utilities for all things Group
Policy-related

"Noob" <jm********@phillipsmfg.comwrote in message
news:11**********************@k79g2000hse.googlegr oups.com...
Thank you very much.

Would I be able to have the CALL command in a script/bat that will do
the same thing? or would a msi file be the way to go

Aug 31 '07 #4
Thank you for the help.
I will have to figure out what would be better. Maybe doing the
script for now to get them happy and then do the msi later to make it
stick

Aug 31 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: aaj | last post by:
SQL SERVER 2000 Hi all This is my first attempt at writing a stored procedure. I have managed to get it working but its unlikely to be the best way of handling the problem. While writing it I...
5
by: xperiencednoob | last post by:
I want a left-column menu bar and a right-column data area. The menu items (6 or so) are fixed-height and the space below them needs to expand. I've run into a strange situation only with IE6....
29
by: Roy Gourgi | last post by:
Hi, I am new to C#. I have the same time scheduling program written in C++ and it is 5 times faster than my version in C#. Why is it so slow as I thought that C# was only a little slower than...
0
by: Gareth | last post by:
I cannot find a reference anywhere to anyone having done this successfully... can anyone enlighten me on how you get a SSL login page working with ASP.NET and forms authentication. I have...
3
by: lindsay.manning | last post by:
I understand it is a beta and I am just wondering if this is a bug that will be fixed or if anyone might be able to shed some light on what is happenning? I am using VWD on WinXP Pro and SQL...
28
by: MLH | last post by:
The largest integer A97 can deal with is 2,147,483,647, as I understand it from HELP. I would be content to represent larger integers as strings. For example, "2147483648" would suit me fine. I...
0
by: ManConfusedByMouse | last post by:
Hi all, I AM HAVING PROBLEMS UNDERSTANDING THE UPDATING BEHAVIOR/TIMING OF A WINDOWS.FORMS.SCROLLBAR COMPONENT... quick apology for my sorry posterior if posting in wrong place -- haven't much...
169
by: JohnQ | last post by:
(The "C++ Grammer" thread in comp.lang.c++.moderated prompted this post). It would be more than a little bit nice if C++ was much "cleaner" (less complex) so that it wasn't a major world wide...
2
by: ianwr | last post by:
Hi, I wonder if anyone can shed any light on the following as i just can't explain it. A user is running an update on a 500m+ row table setting a column value, computing its value from...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.