jernstrom.org

Random stuff
  • rss
  • Home
  • About
  • Contact me
  • Poems
  • Bluescreen
  • Daily Dilbert

How to run a DotNet Framework 2.0 Application from a Network Share

Kimmo | February 3, 2010

admodify

Running a DotNet Framework 2.0 from a network share or an UNC path just plain doesn’t work. You get an error message such as the the one to the right.

I pretty much never thought much of it, because in some mysterious way I never encountered a situation where this might be an actual problem. Well. A couple a weeks ago a customer hit into this problem, and for a reason or another they really needed to run their application (not admodify.net!) from a network share.

Here’s a couple of links on the issue and remedy:

http://support.microsoft.com/kb/320268
http://msdn.microsoft.com/en-us/library/a0ke3k86(VS.71).aspx

However, for the brave one, here’s an example wildcard solution. Run it from a CMD prompt from within C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

caspol -m -ag 1 -url "file://\\*" FullTrust -exclusive on
Comments
No Comments »
Categories
Legacy, Windows
Comments rss Comments rss
Trackback Trackback

Visual Effects in Windows 2003/XP

Kimmo | October 30, 2009

This yet another dump of old stuff :-)

Over the years there have been a lot of talk about tuning the Visual Effects settings in a Terminal Server environment, more recently the same talk in XP VDI scenarios. I guess I never quite understood the fuzz, except that the common suggestion of VisualFXSetting”= (your preference) doesn’t really do anything

For clarification, this is what I’m talking about:

My Computer | Properties | Advanced
-> Performance | Settings | Visual Effects

Here’s a deliverable for some customer some time ago.
Oh yeah, it’s not my batch. I found the batch when I resarched the matter. I made slight modifications to meet the demand.  All credit to the original author.

VisualEffects.zip

Comments
1 Comment »
Categories
Kinda Virtual, Windows, jernstrom.org
Comments rss Comments rss
Trackback Trackback

Citrix License Server 11.5 WMI Fix

Kimmo | January 30, 2009

citrusDid you know that Citrix was originally supposed to be Citrus? Well, the name was already taken but that didn’t hinder them from, eventually, turning into sour. Anyhow that’s not the topic here. Broken WMI is, and that overlay product on top of TS/RDS commonly referred to as Citrix. 

//Update
Found an official Citrix article (ctx119767)  So now I might just go ahead and WMI myself silly ;-)

Original reference from Citrix Forums, courtesy of all.

Here’s some sample code (totals)  –> CitrixLicenseStatus

Comments
No Comments »
Categories
Kinda Virtual, Windows
Comments rss Comments rss
Trackback Trackback

Windows 7

Kimmo | January 16, 2009

Vista never was anything but the reincarnation of the Windows ME fiasco.

Windows 2008 (Vista ME, Server Edition) also took the hit, scarcely deployed and whenever possible discarded in favor of Windows 2003 R2.

That said. Again and again I find myself in the loosing minority, killer features never taking off, I killed a duck.

On the client side Seven beta is a no-brainer replacement of Vista ME (in corporate land – stay on XP, wait for 7). On the server side I wish that 2008 R2 can reinstate some trust so that we can move on.

 

  seven

ps. UAC is nowhere near reality. B1 sidebar replaced with pre-beta 6801 ditto, readily available elsewhere. x64 4801 backport is nowhere in the wild afaik.

Comments
No Comments »
Categories
Windows
Comments rss Comments rss
Trackback Trackback

CHM (HTML Help) file annoyance

Kimmo | April 5, 2008

Aside of the NTFS alternate data stream manipulation (aka. blocked content) that can be circumvented by GPO
User ConfigurationAdministrative TemplatesWindows ComponentsAttachment Manager there is the issue with CHM files over the network.

See http://support.microsoft.com/kb/896358

REGEDIT4
  1. [HKEY_LOCAL_MACHINESOFTWAREMicrosoftHTMLHelp]
  2. [HKEY_LOCAL_MACHINESOFTWAREMicrosoftHTMLHelp1.xHHRestrictions]
  3. "MaxAllowedZone"=dword:00000001
  4. "EnableFrameNavigationInSafeMode"=dword:00000001
  5.  
  6. [HKEY_LOCAL_MACHINESOFTWAREMicrosoftHTMLHelp1.xItssRestrictions]
  7. "MaxAllowedZone"=dword:00000001
Comments
No Comments »
Categories
Legacy, Windows
Comments rss Comments rss
Trackback Trackback

Batch remove %20 from filenames

Kimmo | March 29, 2008

Got tired of the %20 in downloaded files…

@echo off
  1. setlocal EnableDelayedExpansion
  2. for /f "delims=" %%I in ('dir /b ^| find "%20"') do (
  3. set var01=%%I
  4. set var02=!var01:%%20=_!
  5. call :ren
  6. )
  7. :ren
  8. ren %var01% %var02%

mycmd

Comments
No Comments »
Categories
Legacy, Windows
Comments rss Comments rss
Trackback Trackback

How to connect to console session with RDC 6.1

Kimmo | February 21, 2008

With Remote Desktop Connection 6.1 (RDC) some things have changed.
That you now need to use mstsc /admin to connect to the console session is common knowledge….
However, when using .RDP files we used to add “connect to console:i:1″ in the .RDP to connect to the console session, well turns out that this no longer works….

Long stroy short, here’s what you need to do:

Before…
mstsc /console = “connect to console:i:1″ in .RDP file

After…
mstsc /admin = “administrative session:i:1″ in .RPP file

Comments
1 Comment »
Categories
Kinda Virtual, Legacy, Windows
Comments rss Comments rss
Trackback Trackback

Sharepoint v3 Forms Authentication

Kimmo | January 2, 2007

Allrite, so this is the way to implemt forms with
System.Web.Security.ActiveDirectoryMembershipProvider

sharepoint_v3_forms

…and this the way to do it with
System.Web.Security.SqlMembershipProvider (with roles)

sharepoint_v3_forms_sql

…you need to have the membership provider in web.config for central admin

Comments
No Comments »
Categories
Legacy, Windows
Comments rss Comments rss
Trackback Trackback

Troubleshooting Tools for Citrix Environments

Kimmo | October 30, 2006

A nice list of troubleshooting tools over at citrx.com

Read more here

Comments
No Comments »
Categories
Kinda Virtual, Legacy, Windows
Comments rss Comments rss
Trackback Trackback

Ext2 Installable File System For Windows

Kimmo | January 30, 2006

Allrite, so I bought this LaCie Ethernet Disk mini 300GB to have as backup unit and to store some of the kids movies and some music. The damn thing however came delivered with fat32 filesystem (max file size=4gb but just 2gb over network + other shortcoming of fat32)

Now there was the option to format the thing with EXT3 file system; however that EXT3 thing would certainly not be readable from USB cable connection from my Windows thingies. Enter Ext2 (ext3 too!) driver for Windows and all is great again

Complete reading and writing access to files and directories of volumes with the Ext2 or Ext3 file system.
Supports features which are specific to the I/O-system of Windows: Byte Range Locks, Directory Notfication (so the Explorer updates the view of a directory on changes within that directory), Oplocks (so SMB clients are able to cache the content of files).
Allows Windows to run with paging files on Ext2 volumes.

Read more and download here
Backup copy here (v. 1.11a //090102)

Comments
No Comments »
Categories
Free Stuff, Legacy, Windows
Comments rss Comments rss
Trackback Trackback

« Previous Entries

Search jerntrom.org

Recent Posts

  • How to run a DotNet Framework 2.0 Application from a Network Share
  • Slow on Updates…Being Confused…
  • Visual Effects in Windows 2003/XP
  • Set Default Optimized Values for Windows 2003
  • Vm, Vm, My Ware!

Categories

  • Free Stuff
  • jernstrom.org
  • Kinda Virtual
  • Legacy
  • Life
  • Windows

Archives

  • February 2010
  • January 2010
  • October 2009
  • September 2009
  • August 2009
  • January 2009
  • September 2008
  • April 2008
  • March 2008
  • February 2008
  • February 2007
  • January 2007
  • October 2006
  • May 2006
  • March 2006
  • February 2006
  • January 2006
  • February 2005

RSS Desktop Virtualization

  • Today's New Virtualization Related Community Videos - March 10th, 2010 March 10, 2010
  • Microsoft will overhaul virtual licensing, RDP March 10, 2010
  • Parallel’s Summit 2010: Cloud Computing & the SMB Opportunity March 10, 2010
  • Citrix's XenApp 6 debuts March 10, 2010
  • Citrix Announces Citrix XenApp 6 - Download Available March 24th March 10, 2010
  • VMware Releases vCenter Site Recovery Manager 4.0.1 and 1.0 U1 Patch 5 Maintenance Releases March 10, 2010
  • VMware Releases vCenter Update Manager PowerCLI utility for Update Manager 4.0 U1 March 10, 2010
  • Are we going to run out of Internet addresses this year? March 10, 2010
  • Showing Off the New DABCC Virtualization News Player for the iPhone Video Podcast - DABCC TV - Episode 27 March 10, 2010
  • Introducing the DABCC Virtualization News Player for the iPhone Podcast - DABCC Radio - Episode 114 March 10, 2010
rss