When you are using the virtualization feature of the operating systems of Windows Vista or Windows 7 then you might experience a situation in which you would have the file and registry virtualization issues. There are many different scenarios in which these would occur. You would not be able to locate any file or folder which you had just created. Or when you try to upgrade the application then you might experience an unexpected behavior of a particular program. In the fourth scenario the condition would be when you uninstall the application then the files of the application would be still present on the computer on which you have installed the application.

Reason for the problem

There can be different reasons for this problem. Firstly it could be due to the reason that the application tries to create the files or the folders which would be outside certain specified folders that are virtualized. The files which are created by the application and are stored in the folder of %programfiles% would be directed to some other folder than the virtual store folder of the user. It can also be due to the reason that the application uses any such file which is actually not supported for the virtualization.

Problem with installing, upgrading or using application and resolution

In the first case you can get an error message when you would be installing, upgrading or using any particular application. You would also get various error messages in which it would be written that the access to this program had been denied. Also, the application would misbehave and would not work in a manner in which it was expected to function. You might get the error message which would be like that it cannot create the folder under C:MyAppTemp or under C:MyAppTempoutput.dat. You can also get the error message which would be as “error writing to MyFile.exe”. This problem would occur if you try to do the actions such as create links in the virtualized locations, use EFS to encrypt the files, try to view compressed files or you use the command prompt for copying the .exe, .sys or the .dll file.

You should know if this is the kind of issue you are having or not. To do so you should look in the event viewer for filecreatevirtualexclude events. First click on start and then in the start search box type eventvwr, and then click on the eventvwr.exe programs list. Expand the applications and services log and then expand Microsoft, windows, Uacfilevirtualization and then select operational.

Resolving the issue

To resolve this kind of problem you should reinstall the application in the %programfiles% if it is not already present over there. Use the account of the administrator to do so. First click on the start menu then in the start search box type cmd and click on cmd.exe in the programs list. Right click cmd and run as administrator. Type MyAppsPath/MyApp and then press enter. Also, change the security settings of the folder of application. Right click on that folder and click properties. On security tab click edit then click your user account then click allow under permissions for users and then click OK.