Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


ImageX Double-click and Right-click Mount Scripts

- - - - -

  • Please log in to reply
No replies to this topic




  • Patrons
  • 1,651 posts
  • Joined 31-July 04
  • OS:Windows 7 x86
  • Country: Country Flag
I have created a file type for ImageX files (.wim) such that when you double-click, you can get it to mount read-only, read-write automatically or to display info. Here are the registry entries that put a right-click command for Info, Mount read-only, and Mount RW. It runs the respective scripts which are available for download here:

Attached File  imagex_mountrw.cmd   1.13KB   67 downloads Attached File  imagex_mountro.cmd   1.13KB   51 downloads Attached File  imagex_info.cmd   95bytes   48 downloads

You need setx.exe command for it to work.

Double-click wim image for info.
Right-click --> Mount to mount image as read-only. Do again to unmount. If setx variable gets messed up, option to reset variable.
Right-click --> Mountrw to mount read-write. Do again to unmount and it will ask to commit or not.

(Any improvements are welcomed.

Windows Registry Editor Version 5.00


@="ImageX File"




@="\"C:\\Program Files\\Windows AIK\\Tools\\x86\\imagex_info.cmd\" \"%1\""




@="\"C:\\Program Files\\Windows AIK\\Tools\\x86\\imagex_mountro.cmd\" \"%1\""



@="Mount RW"

@="\"C:\\Program Files\\Windows AIK\\Tools\\x86\\imagex_mountrw.cmd\" \"%1\""


(Edit the paths to your script location.)

Edited by spacesurfer, 07 June 2007 - 05:24 PM.

[Modify Office 2007 / 2010 Ribbon UI] [Javascript Guide] [Methods of Typing in Gujarati] [My Math Pages]
[Boot Windows 7 from VHD] [Multi-boot Vista/XP and other OSes with Grub Menu] [Boot XP and Vista Independently]

Gigabyte GA-P35-DS3L, Intel Core 2 Duo E6550 2.33 GHz, ASUS Radeon EAH3450 256 MB, 6 GB Corsair RAM, Maxtor 300 GB + Seagate 400 GB HDDs, Windows 7 Ultimate 64-bit
IBM T42 Intel Pentium M 1.7 GHz, 1.5 GB RAM, Radeon Mobility 7500, 160 GB HDD, Windows 7 Ultimate 32-bit

How to remove advertisement from MSFN

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users