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: Writing to the registry and VirtualStore


02 May 2011   #1

Windows 7 Ultimate 64
 
 
Writing to the registry and VirtualStore

Hi

I have an application that needs to move to Windows 7. The issue is that it writes to the registry (HKLM > Software => <Application Name>). The issue is with VirtualStore it redirects the registry write to the VirtualStore for each user. This would be fine but different users log into the same machine. This is a massive problem because one of the things the application uses the registry for is a counter. So ever users that logs in throws off the counter. Now I have only found three work around and don't like any;

1. Give all users owner rights to the registry keys in questions.
2. Run the application as administrator.
3. Run the application in Windows XP mode

Problem for option 1 is to get this approved through my IT security will be near impossible, at best a month long battle. Knowing the problem with option 1 option 2 seems like a pipe dream. The issue with option 3 the user base of this application could not handle it.

Is there any other way of doing this? Even if they are worse at least I can make a case for the "best of the worse".

Thanks.

My System SpecsSystem Spec
.

02 May 2011   #2

Windows 8.1 Pro (x64)
 
 

What is the purpose of this counter? Is it really necessary the users share this counter?
My System SpecsSystem Spec
02 May 2011   #3

Windows 7 Ultimate 64
 
 

It is very important. It generates an unique ID that if not unique generates lots of errors.
My System SpecsSystem Spec
.


02 May 2011   #4

Windows 8.1 Pro (x64)
 
 

I see. Maybe you should generate a unique ID some other way? Use a time based system or something like GUIDs Windows uses internally for creating unique IDs. Otherwise the only alternative I can see is breaking the application up and having a Helper Service running with high privileges. Similar to how Steam operates.
My System SpecsSystem Spec
02 May 2011   #5

Windows 7 Ultimate 64
 
 

The ID are displayed and have to typed in therefore a GUID is not an option, also there are 5 years of ID. Lastly (and most importantly) I can not change the code.

Not not familiar with Helper Service. Doing some google searches I am assuming you mean Application Host Help Service. Although it seems most results are how to disable. Any chance you point me in the right direction on how to configure and run?
My System SpecsSystem Spec
02 May 2011   #6

Windows 8.1 Pro (x64)
 
 

I referring to using a Windows Service: Windows service - Wikipedia, the free encyclopedia
The application would talk to the Helper Service for all administrative tasks, so the application itself would not need any.
My System SpecsSystem Spec
Reply

 Writing to the registry and VirtualStore




Thread Tools




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 06:47 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33