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 force File and registry virtualization

16 Aug 2011   #1

Windows 7 Enterprise x64
How to force File and registry virtualization


I have a program which tries to write data to %windir%. I can make this program work if I open Windows Task Manager, right click the program's process and check the "UAC Virtualization". However, I dont want to do this every time I run the program, so is there a way to auto-enable the virtualization for this program?

I'm running Win7 pro/enterprise 64bit.

My System SpecsSystem Spec

14 Sep 2011   #2

Windows 7 Enterprise x64

Anyone? Still havent found a solution for this one, seems to be quite a tricky one. Cheers!
My System SpecsSystem Spec
16 Sep 2011   #3

MS Windows 7 Ultimate 64-bit SP1

Which program you are using needs virtualization?

I think Thinapp is one of a solution to your problem. Thinapp entirely virtualises file and registry. You can control which portions to virtualise and not.

Thinapp from VMWare is used for creating portable applicatons. These applications run in a virtual environment and do not copy or modify any system folders and registry.

Similar programs also exist on internet ....
My System SpecsSystem Spec

19 Sep 2011   #4

Windows 10 Pro (x64)

Are you running under the Administrator account or do you have UAC lowered to a very low level? If you push UAC's slider to the top and run under a account that is not the Administrator account (not to be confused with Administrators group). And if the application is not ran with administrative privileges it should automatically be virtualized.

Otherwise you could just use Sandboxie.
My System SpecsSystem Spec
20 Sep 2011   #5

Windows 2000 5.0 Build 2195

I've been wondering about this myself. I created a seperate Program Files folder on a seperate disk [D:] by copying the Program Files folder from C: along with the ACLs. Thing is, the folder on D: doesn't get virtualized even though it carries the exact same permissions as the folder in C:. Thus, if a program with user access wants to write something on the folder it would err since Windows denies it.

Is Sandboxie free? Any free alternatives or workarounds?
My System SpecsSystem Spec
20 Sep 2011   #6

Windows 10 Pro (x64)

Sanboxie has a free to use version, limited feature set, after 30 days does pester you to upgrade but not required.
Q. Is Sandboxie freeware or shareware?

A. Sandboxie is shareware software. The free version is missing a few features which are available in the paid version. After 30 days of use, the free version displays reminders to upgrade to the paid version, but remains functional. For personal use, you are encouraged, but not required, to upgrade to the paid version.
My System SpecsSystem Spec
22 Sep 2011   #7

Windows 2000 5.0 Build 2195

Thanks btw logicearth!
My System SpecsSystem Spec
24 Sep 2011   #8

Windows 8.1 x64

To make an application run natively but always use File and Registry Virtualization (called "FARV", fyi), you build an AppCompat shim using the AppCompat toolkit, and install that .sdb on all machines you need that app to run with file and/or registry virtualization. You can do similar things with Application Virtualization with App-V 4.6. Links below:

File Virtualization with Shims
Registry Virtualization with Shims
Making Applications Compatible with Windows 7 in a Virtualized Environment
My System SpecsSystem Spec

 How to force File and registry virtualization

Thread Tools

Similar help and support threads
Thread Forum
Bitlocker key problem: Brute Force or recovering the key file?
Hello, I have full disk encryption with BitLocker. The key file for windows partition was on my USB disk, other drives were protected by password and also they're set to automatically unlock. Yesterday, I found my USB disk corrupted. When I performed chkdsk on it, everything went fine...
System Security
Force delete registry key for USB device
Here's the situation... I recently replaced two aging XP machines with a pair of brand-new machines running 7 professional x86. These machines are used on an assembly line to test USB scales that we manufacture. We test hundreds of scales each day on both machines. The issue with these machines is...
Hardware & Devices
Had to force shut down, BSOD after. Created dump file restarts okay.
HP DV7 6143cl Windows® 7 Home Premium with Service Pack 1 (64-bit) I had something hang up and prevented shutdown so I forced shutdown and of course a blue screen occurred afterwards. A couple of days before the 'hang up - forced shutdown - blue screen' I noticed high CPU usage and the fan...
BSOD Help and Support
How is Parallels virtualization different from normal virtualization?
I started thinking about our computers.. why we cannot run two operating systems on the same computer at the same time - without virtualization. We have plenty of Ram these days and often 2 or 4 Central Processing Units. Surely someone could come up with a way to make this work. So I started...
how to force any *.sdf file to open with My program ?
hi how to force any *.sdf file to open with My program ? for example: every *.sdf file will open with this program: d:\MyProg.exe i need any registry value for this how to do it ?
General Discussion
Help editing a .inf file to force 1600 x 900 resolution
Hey all, I just got a new external monitor for my laptop and I'm having trouble making it display its native 1600x900 resolution. No problem with the 60 hz though. Some more details on my components are below. I tried about everything I could find to fix the issue. No driver updates worked,...
Graphic Cards

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 18:47.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App