December 22, 2024

.NET: Microsoft .NET Framework 2.0 Configuration tool with only the .NET 2.0 Runtime

Have you ever tried to use the Microsoft .NET Framework 2.0 Configuration tool when you have only installed the .NET 2.0 Runtime?

Well, Microsoft in their infinite wisdom took this tool out of the runtime.

So if you need to modify the .NET 2.0 configuration on a box that only has the runtime, you are out of luck, unless you find a way around it. Keep in mind, this worked for me, and I will not be responsible if you use my methods, and cause an issue with your system.

I downloaded the .NET 2.0 SDK (which includes the config tool), and installed it on my machine.

I exported the following registry keys to a single .reg file, and made some changes to them.
HKCRCLSID{A22B5BA1-D8CF-4db6-BC91-CFC1A04E2469}
HKCRCLSID{D8FE614D-4851-4a72-998D-D1F2E750A050}
HKLMSOFTWAREMicrosoftMMCSnapIns{A22B5BA1-D8CF-4db6-BC91-CFC1A04E2469}

I updated the paths from “C:Program FilesMicrosoft.NETSDKv2.0Bin” to point to “C:WINDOWSMicrosoft.NETFrameworkv2.0.50727” instead.

I then copied the following files from my C:Program FilesMicrosoft.NETSDKv2.0Bin folder to a Windows 2003 box with only the .NET 2.0 Runtime installed on it.
gacutil.exe
mscorcfg.dll
mscorcfg.msc
mscormmc.dll
mscormmc11.cfg

The destination directory on the 2003 box was “C:WINDOWSMicrosoft.NETFrameworkv2.0.50727

I then imported the modified reg to my Windows 2003 box.

And then imported the mscorcfg.dll into the Global Assembly Cache, using this command:
“C:WINDOWSMicrosoft.NETFrameworkv2.0.50727gacutil.exe” /i “C:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorcfg.dll”

I also copied the .NET Framework 2.0 Configuration shortcut from my “Administrative Tools” to the “Administrative Tools” on the 2003 box, and updated the paths.

What do you know, I’ve now got the .NET Framework 2.0 Configuration tool on my 2003 box without having to install the entire .NET 2.0 SDK.

Not sure why Microsoft didn’t include this in the redistributable, as it is necessary if you want to make .NET 2.0 config changes.

6 thoughts on “.NET: Microsoft .NET Framework 2.0 Configuration tool with only the .NET 2.0 Runtime

  1. Hey Jase, Hello there from Cambridge England! I’ve got an uncle who lives not far from you. I remember visiting when I was just a kid, they had cockroaches like I’ve never seen in Texas where I grew up.

    Anyway, in the forum post: http://www.vmware.com/community/thread.jspa?messageID=424966&#424966

    you show how the VMFS3 contains the name of itself:

    # Disk DescriptorFile
    version=1
    CID=36aeb22b
    parentCID=ffffffff
    createType=”vmfs”

    # Extent description
    RW 4194304 VMFS “CLONEAPPSERVER1-flat.vmdk”

    # The Disk Data Base
    #DDB

    ddb.toolsVersion = “7172”
    ddb.virtualHWVersion = “4”
    ddb.geometry.cylinders = “261”
    ddb.geometry.heads = “255”
    ddb.geometry.sectors = “63”
    ddb.adapterType = “buslogic”

    I tried renaming my vmdk and am getting the error

    Error, a file was not found “

    I believe if I can change the entry near the top of my vmdk to correct it, I might be back in business.

    Is the data you gave in the post I link and that I pasted above seen with “vi”?

    cheers,
    Kevin

  2. Another solution is to create a security deployment package from a machine with the SDK.

    To create the deployment package..
    From a SDK machine (assuming you already have security setup – see ** below if security not opened up yet)
    Go to Control Panel > Administrative Tools > Microsoft .NET Framework 2.0 Configuration

    Expand My Computer
    Right click the “Runtime Security Policy” node and click “Create Deployment Package…”

    Run the generated msi package on the 2.0 runtime only computers. – finished

    ** If you don’t already have the permission opened up…

    We did this so each machine would trust our network drives.

    From a 2.0 SDK installed computer go to Control Panel > Administrative Tools > Microsoft .NET Framework 2.0 Configuration

    Expand My Computer
    Expand Runtime Security Policy
    Expand Machine
    Expand Code Groups
    Expand All Code
    Click the “LocalIntranet_Zone” node.
    In the right pane click the “Edit Code Group Properties” link.
    Select the last tab “Permission Set”
    Change the Permission Set Dropdown to “FullTrust”

    thats how we did it anyway

  3. Your workaround worked beautiful and I did not have to install the full SDK on any of our user’s workstations, thank you.

  4. Hi there after reading your excellent explanation on how to get the Framework v2.0 Config tool to work I used your registry entries and created an installer:

    http://www.oc3software.com/
    Downloads/
    Frmwrk_config_console_setup.exe

    I hope this helps other users who need to access the tool that microsoft ditched from v2.0.
    Not sure what the implications so I
    will post it for a time before taking it down. Anyone who wants
    to repost the install is free too.
    if you want to contact me my email is: juliusheath@gmail.com

  5. Jase im arvin and i live in asia thats why i have dumb English grammar hahaha anyways i downloaded .NET Framework v3.5… and i was wondering where to place it in C:WINDOWS/MICROSOFT.NET/ ….

    there were 2 folders there and a file i don’t know…

    the first folder’s name is .NET v1.1 and the other is .NET v1.0… so basically i dnt have any v2.0 … since I have a 3.5 there’s no need for 2.0 ryt? oh yeah the other file is some what a fixer thingy … the name is .NETFIXERblablabla and i think it isn’t useful and the file i downloaded was only the file itself … i mean it’s only .NET Framework v3.5 … no folders.. no attachments .. no other file but that … i wonder if i should make a new folder and rename it and then place the .net framework 3.5 there… pls tell me very soon. tnx

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.