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

Windows Installer Wrapper Wizard (WIWW)

Kimmo | September 12, 2008

Here’s the short

Windows Installer Wrapper Wizard (WIWW) 0.2.0 can create Windows Installer msi wrapper files that will execute commands you specify in a wizard. Its intended use is allowing administrators to execute commands or install software using machine assigned or user published group policies…/

Article here
Backup copy: windows_installer_wrapper_wizard_020

Comments
4 Comments »
Categories
Free Stuff, Legacy
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

Vista/ 2008 Compound TCP and ECN

Kimmo | March 29, 2008

I better just dump this for reference before I forget about the whole thing….

You can check if your home router supports ECN with Micosoft Internet Connectivity Evaluation Tool

Summary below stolen from
http://technet.microsoft.com/en-us/library/bb726965.aspx

Compound TCP
For TCP connections with a large receive window size and a large bandwidth-delay product, Compound TCP (CTCP) in the Next Generation TCP/IP stack aggressively increases the amount of data sent at a time by monitoring the bandwidth-delay product, delay variations, and packet losses. CTCP also ensures that its behavior does not negatively impact other TCP connections. In testing performed internally at Microsoft, large file backup times were reduced by almost half for a 1 Gigabit per second connection with a 50 millisecond round-trip time. Connections with a larger bandwidth-delay product can have even better performance.

Receive Window Auto Tuning optimizes receiver-side throughput and CTCP optimizes sender-side throughput. By working together, they can increase link utilization and produce substantial performance gains for large bandwidth-delay product connections.

CTCP is enabled by default for computers running Windows Server 2008 and disabled by default for computers running Windows Vista. You can enable CTCP with the netsh interface tcp set global congestionprovider=ctcp command and disable CTCP with the netsh interface tcp set global congestionprovider=none command.

ECN Support
When a TCP segment is lost, TCP assumes that the segment was lost due to congestion at a router and performs congestion control, which dramatically lowers the TCP sender’s transmission rate. With Explicit Congestion Notification (ECN) support (RFC 3168) on both TCP peers and the routers in the routing infrastructure, routers experiencing congestion mark the packets as they forward them. TCP peers receiving marked packets lower their transmission rate to ease congestion and prevent segment losses. Detecting congestion before packet losses are incurred increases the overall throughput between TCP peers. Windows Server 2008 and Windows Vista support ECN, but it is disabled by default. You can enable ECN support with the netsh interface tcp set global ecncapability=enabled command.

Comments
No Comments »
Categories
Legacy
Comments rss Comments rss

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

Parted Magic – free alternative to Partition Magic

Kimmo | February 13, 2007

I actually used this on a HP DL360 (with a RAID set) through ILO over a WAN connection. Worked like a charm!

parted
 

Parted Magic is a ~30mb LiveCD/USB with it’s only purpose being partitioning hard drives. Although GParted and Parted are the main programs, the CD/USB also offers programs like partimage, TestDisk, fdisk, sfdisk, dd, ddrescue, etc…

Read more and download here

Backup copy (//090102) pmagic-3.4.iso.zip

Comments
No Comments »
Categories
Free Stuff, Legacy
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

OpenFiler

Kimmo | October 15, 2006

Openfiler is a browser-based network storage management utility. Linux-powered, Openfiler delivers file-based Network Attached Storage (NAS) and block-based SAN in a single framework. It supports CIFS, NFS, HTTP/DAV, FTP, and iSCSI.

Read more here

Comments
No Comments »
Categories
Free Stuff, Legacy
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 11th, 2010 March 11, 2010
  • Eric Sloof Releases a New Virtualization Tool - vmClient March 11, 2010
  • Secure mobile access to the cloud with StoneGate Virtual SSL VPN 1.4 March 11, 2010
  • Xangati Releases Xangati for ESX - Live Enterprise-wide Virtualization Visibility March 11, 2010
  • Citrix Releases Receiver 1.2 for Windows March 11, 2010
  • Citrix Releases Receiver for Mac v1.2 for Download March 11, 2010
  • Download Xangati for VMware ESX ? Virtualization Visibility / Management March 11, 2010
  • Citrix Releases Dazzle 1.1.1 for Download March 11, 2010
  • Citrix Releases Merchandising Server 1.2 Virtual Appliance for Download March 11, 2010
  • DroboElite Does VMware vSphere March 11, 2010
rss