![]() If you leave it running it will continue to eat up system resources on the host, and will be useless to the interactive users. So, you’ll want to make sure you do this during slow hours, and you will also want to set up a scheduled task on the VM to have it shut itself down after a certain period. Once your scheduled task has launched the VM, it will become unavailable to any other users who happen to log onto the host machine interactively and want to use it. Alternatively you can put it in a Powershell script (PS1) file and have the task run Powershell with that script as the argument. Then your scheduled task will just run that batch file. VMCXįile (VM configuration file) for the VM that you want. It’s easiest to create a batch file that simply launches the. Scheduled task to launch a VM as the local Administrator or otherĪccount you’ve configured. (local Administrator in my case) to Launch and Activation, AccessĪfter making these changes then you will be able to setup a On the Security tab select Customize and click Edit to add the correct user account.In the Property dialog, click on the Identity tab and select “The launching user”. Navigate to Component Services – Computers - My Computer – DCOM configuration – Virtual PC.Now run the Component Services management console (dcomcnfg.exe) and you should be able to modify some settings for Virtual PC.NOTE: DO NOT modify/change any permissions for the TrustedInstaller account as this is the default permission and could cause more problems later if changed or removed.Then under Permissions window, select the local Administrators group and under Permissions for Administrators select Full Control and click on Apply, then OK.Under Change owner to select the local Administrators group and click on Apply, then OK. Click the Advanced button in the Permissions window and select the Owner tab.It can run 'seamlessly' which means you can run XP apps within the VM under Windows 7 with complete compatibility and it looks like the apps are running under Windows 7 itself. "HKEY_CLASSES_ROOT\Wow6432Node\AppID key and select Permissions. One of the great things about Windows 7 is 'Windows XP Mode' which is basically that you get a copy of Windows XP that runs under Windows Virtual PC. This means you won’t be able to launch it as a background task without modifying the DCOM configuration. Details:īy default, Virtual PC is locked down so that it can only be run by an interactive user. Thanks to Zdenek Brydl for his breakthrough post on the Windows forums, which set me in the right direction. Below are the steps I went through to get this working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |