Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to generate a unique QMId value in the registry-clonedworkstations

22 Jul 2014   #1
4gatch

Windows 7 Professional 32/64bit
 
 
How to generate a unique QMId value in the registry-clonedworkstations

I have multiple pools with hundreds of virtual desktops based off of a single base image. In order to recieve messages from a certain application per desktop the QMid needs to generate a new key for every desktop session. The QMid is found under HKLM<Software<Microsoft<MSMQ<Parameters<MachineCac he<QMId

The only solution I have found deals with not installing MSMQ on the base image and instead having a startup batch script to install MSMQ once the session is created and another VBS script to determine the computers name in AD then remove the msmq ocnfig object within.(Have not verified this actually works but sounds like it would)

***Would prefer not to have to use start up scripts***
This would require larger changes to our VMenvironment so I am
looking for a better solution if there is one?

Thanks!


My System SpecsSystem Spec
.
22 Jul 2014   #2
4gatch

Windows 7 Professional 32/64bit
 
 

I forgot to mention this is using VMWare
My System SpecsSystem Spec
23 Sep 2014   #3
rsweet

Windows 7 Enterprise 32-bit
 
 
Clear QMId

I had the very same need just today. The last thing we do before taking a new snapshot of a Gold image is run a batch file that stops services and deletes registry values for systems that we need to be unique (e.g. SCCM, Sophos). I added the following lines to that to accomplish unique QMIds:

Code:
net stop msmq

reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\MachineCache\ /v QMId /f

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\ /v SysPrep /t REG_DWORD /d 1 /f
The steps were determined from the following site: MSMQ prefers to be unique - MSMQ from the plumber&#39;s mate - Site Home - MSDN Blogs
My System SpecsSystem Spec
.

Reply

 How to generate a unique QMId value in the registry-clonedworkstations




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Can not generate SSPI context
I am having a problem just on this pc runnings windows 7 pro. When I try to retrieve data from a sql server express 2008 r2. I get the following: Can not generate SSPI context. I have no problems with other computers running win 7 pro. thanks
General Discussion
Generate Thumbs.db
How can I generate the thumbs.db so that it is stored locally in the folder - NOT in thumbcache_*.db inside C:\Users\User-Name\AppData\Local\Microsoft\Windows\Explorer I want the thumbs.db right inside the folder stored - like XP did. Is there a way to force this or create/refresh it on...
Performance & Maintenance
Auto generate a graph help
Can any one help me find an app that will help me do this? I want to automatically generate a line graph from a text CSV file that is automatically and constantly generated by another software I have running. Then I want the graph to be displayed/posted to a particular directory on my website,...
Software
Cannot generate .flv thumbnails
I'm running Win 7 Ultimate x64. I cannot seem to generate thumbnails for .flv videos. I've tried K-Lite, K-Lite Full and K-Lite Mega, always doing an advanced install, making sure all boxes relating to .flv and thumbnails were checked. I've tried Win7 Codecs and Shark 007. I've tried using both...
Music, Pictures & Video
How to turn OFF generate thumbnails
i want to turn off generate thumbnails.. they are no use in video files, ive seen the menu somewhere but cant remember where.. is it in media player classic
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:03.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App