Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: [ActiveDir] GPO and Virtual PC
Prev Next
You are not authorized to post a reply.

AuthorMessages
robertsingersUser is Offline

Posts:571

07/25/2008 2:05 AM  
Would I be right in thinking that you can't control Virtual PC 2007 via
GPO. Specifically I want to redirect the "My Virtual Machines" machines
folder that gets created under "My Documents" back to the local hard
drive.

Robert Singers
Technical Systems Architect

Department of Building and Housing
Level 5, 86 Customhouse Quay, PO BOX 10 729, Wellington
DDI: +64 4 471 0432 Mobile: +64 21 451 925
Fax: +64 4 494 0290 Email: robert.singers@dbh.govt.nz
http:// <http:///> www.dbh.govt.nz

#############################################################################################
This e-mail message has been scanned for Viruses and cleared by NetIQ MailMarshal.
##############################################################################################

############################################################
PLEASE NOTE:

The information contained in this email message and any
attached files may be confidential and subject to privilege.
Any opinions expressed in this message are not necessarily
those of the Department of Building and Housing. All technical
opinions are offered on a ?no-liability? basis. This message
and any files transmitted with it are confidential and solely
for the use of the intended recipient. If you are not the
intended recipient, you are notified that any use, disclosure
or copying of this email is unauthorised. If you have received
this email in error, please notify us immediately by reply email
and delete the original and any attachment(s). Thank you.
############################################################

bdesmondUser is Offline

Posts:977

07/25/2008 11:22 PM  
You could use Process Monitor while you start VPC or the wizard that loads
this string or whatever, and then search the results for the 'My Virtual
Machines' string. Assuming it loads from the registry you could make a
custom ADM to change the path via GP.


Thanks,
Brian Desmond
brian@briandesmond.com

c - 312.731.3132

On Thu, Jul 24, 2008 at 8:36 PM, Robert Singers <robert.singers@dbh.govt.nz>
wrote:

> The Virtual PC 2007 new VM wizard by default creates the VMC and VHD
> files in <My Documents\My Virtual Machines>. This can be problematic when
> you have redirected My Documents to a share.
>
> This is better that VPC 2004 which IIRC placed them in the profile by
> default, leading to certain people prone to id10T errors complaining about
> their log on tacking half an hour when they had put a 2GB VHD into their
> roaming profile.
>
> So I was hoping there was a way to redirect <My Virtual Machines> back to
> the local disk, either via an adm or registry tattooing. I'm not looking at
> automatically moving existing VMCs and VHDs. Just in preventing future
> "mistakes".
>
> ------------------------------
> *From:* ActiveDir-owner@mail.activedir.org [mailto:
> ActiveDir-owner@mail.activedir.org] *On Behalf Of *Darren Mar-Elia
> *Sent:* Friday, 25 July 2008 12:25 p.m.
>
> *To:* ActiveDir@mail.activedir.org
> *Subject:* RE: [ActiveDir] GPO and Virtual PC
>
> Just so I'm clear, are you simply looking for a way of telling a VPC
> instance running on a desktop system to not store its VMs in My Docs by
> default, or are you also looking for something that will also move the
> existing VMs that have been redirected, back to the local machine?
>
>
>
> Darren
>
>
>
>
>
> *From:* ActiveDir-owner@mail.activedir.org [mailto:
> ActiveDir-owner@mail.activedir.org] *On Behalf Of *Robert Singers
> *Sent:* Thursday, July 24, 2008 5:11 PM
> *To:* ActiveDir@mail.activedir.org
> *Subject:* RE: [ActiveDir] GPO and Virtual PC
>
>
>
> I've checked User Shell Folders and Shell Folders and there's nothing. I
> looked under the VPC keys. I looked for an ini or xml file in the install
> directory. I did a "Windows Live" search and found people complaining about
> the lack of GPO integration with Virtual PC 2004. I didn't really find much
> on VPC 2007.
>
>
>
> I figured with the number of people here that use virtualisation and the
> fact that we're all likely to be GPO whores, that someone may have tried
> before :-)
>
>
> ------------------------------
>
> *From:* ActiveDir-owner@mail.activedir.org [mailto:
> ActiveDir-owner@mail.activedir.org] *On Behalf Of *Darren Mar-Elia
> *Sent:* Friday, 25 July 2008 10:56 a.m.
> *To:* ActiveDir@mail.activedir.org
> *Subject:* RE: [ActiveDir] GPO and Virtual PC
>
> Hi Robert-
>
> I think you might have a hard time doing this if you are currently using
> Folder Redirection to redirect My Docs. You might just want to check, for a
> given user account, under
> HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
> and see if My Virtual Machines is listed as a folder type there. If so, you
> could try changing its value to the default profile location, but my
> experience with pre-Vista and Folder Redirection is that if the parent
> folder is redirected, using this registry tweak to try and move sub-folders
> of it do not work.
>
>
>
> Darren
>
>
>
>
>
> *From:* ActiveDir-owner@mail.activedir.org [mailto:
> ActiveDir-owner@mail.activedir.org] *On Behalf Of *Robert Singers
> *Sent:* Thursday, July 24, 2008 3:16 PM
> *To:* ActiveDir@mail.activedir.org
> *Subject:* [ActiveDir] GPO and Virtual PC
>
>
>
> Would I be right in thinking that you can't control Virtual PC 2007 via
> GPO. Specifically I want to redirect the "My Virtual Machines" machines
> folder that gets created under "My Documents" back to the local hard drive.
>
>
>
> *Robert Singers*
> *Technical Systems Architect*
>
> *Department of Building and Housing*
> Level 5, 86 Customhouse Quay, PO BOX 10 729, Wellington
> DDI:* **+64 4 471 0432 * Mobile:* **+64 21 451 925*
> Fax:* **+64 4 494 0290 * Email:* **robert.singers@dbh.govt.nz*
> http://www.dbh.govt.nz
> ------------------------------
>
> This e-mail message has been scanned for Viruses and cleared by *NetIQ
> MailMarshal *
> ------------------------------
> ------------------------------
>
> *Please Note: *
>
> The information contained in this email message and any attached files may
> be confidential and subject to privilege. Any opinions expressed in this
> message are not necessarily those of the Department of Building and Housing.
> All technical opinions are offered on a 'no-liability' basis. This message
> and any files transmitted with it are confidential and solely for the use of
> the intended recipient. If you are not the intended recipient, you are
> notified that any use, disclosure or copying of this email is unauthorised.
> If you have received this email in error, please notify us immediately by
> reply email and delete the original and any attachment(s). Thank you.
> ------------------------------
> ------------------------------
>
> *Please Note: *
>
> The information contained in this email message and any attached files may
> be confidential and subject to privilege. Any opinions expressed in this
> message are not necessarily those of the Department of Building and Housing.
> All technical opinions are offered on a 'no-liability' basis. This message
> and any files transmitted with it are confidential and solely for the use of
> the intended recipient. If you are not the intended recipient, you are
> notified that any use, disclosure or copying of this email is unauthorised.
> If you have received this email in error, please notify us immediately by
> reply email and delete the original and any attachment(s). Thank you.
> ------------------------------
>

kenUser is Offline

Posts:171

07/26/2008 4:46 AM  
I have a feeling that it's not set in the registry - it's hard coded into the VPC application. Ben Armstrong explained how it works a while back in one of the MVP chats. I'll see if I can did it up.

Cheers
Ken

From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Brian Desmond
Sent: Saturday, 26 July 2008 1:19 PM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] GPO and Virtual PC

You could use Process Monitor while you start VPC or the wizard that loads this string or whatever, and then search the results for the 'My Virtual Machines' string. Assuming it loads from the registry you could make a custom ADM to change the path via GP.


Thanks,
Brian Desmond
brian@briandesmond.com<mailto:brian@briandesmond.com>

c - 312.731.3132
On Thu, Jul 24, 2008 at 8:36 PM, Robert Singers <robert.singers@dbh.govt.nz<mailto:robert.singers@dbh.govt.nz>> wrote:
The Virtual PC 2007 new VM wizard by default creates the VMC and VHD files in <My Documents\My Virtual Machines>. This can be problematic when you have redirected My Documents to a share.

This is better that VPC 2004 which IIRC placed them in the profile by default, leading to certain people prone to id10T errors complaining about their log on tacking half an hour when they had put a 2GB VHD into their roaming profile.

So I was hoping there was a way to redirect <My Virtual Machines> back to the local disk, either via an adm or registry tattooing. I'm not looking at automatically moving existing VMCs and VHDs. Just in preventing future "mistakes".

________________________________
From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org> [mailto:ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org>] On Behalf Of Darren Mar-Elia
Sent: Friday, 25 July 2008 12:25 p.m.

To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org>
Subject: RE: [ActiveDir] GPO and Virtual PC


Just so I'm clear, are you simply looking for a way of telling a VPC instance running on a desktop system to not store its VMs in My Docs by default, or are you also looking for something that will also move the existing VMs that have been redirected, back to the local machine?



Darren





From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org> [mailto:ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org>] On Behalf Of Robert Singers
Sent: Thursday, July 24, 2008 5:11 PM
To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org>
Subject: RE: [ActiveDir] GPO and Virtual PC



I've checked User Shell Folders and Shell Folders and there's nothing. I looked under the VPC keys. I looked for an ini or xml file in the install directory. I did a "Windows Live" search and found people complaining about the lack of GPO integration with Virtual PC 2004. I didn't really find much on VPC 2007.



I figured with the number of people here that use virtualisation and the fact that we're all likely to be GPO whores, that someone may have tried before :-)



________________________________

From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org> [mailto:ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org>] On Behalf Of Darren Mar-Elia
Sent: Friday, 25 July 2008 10:56 a.m.
To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org>
Subject: RE: [ActiveDir] GPO and Virtual PC

Hi Robert-

I think you might have a hard time doing this if you are currently using Folder Redirection to redirect My Docs. You might just want to check, for a given user account, under HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders and see if My Virtual Machines is listed as a folder type there. If so, you could try changing its value to the default profile location, but my experience with pre-Vista and Folder Redirection is that if the parent folder is redirected, using this registry tweak to try and move sub-folders of it do not work.



Darren





From: ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org> [mailto:ActiveDir-owner@mail.activedir.org<mailto:ActiveDir-owner@mail.activedir.org>] On Behalf Of Robert Singers
Sent: Thursday, July 24, 2008 3:16 PM
To: ActiveDir@mail.activedir.org<mailto:ActiveDir@mail.activedir.org>
Subject: [ActiveDir] GPO and Virtual PC



Would I be right in thinking that you can't control Virtual PC 2007 via GPO. Specifically I want to redirect the "My Virtual Machines" machines folder that gets created under "My Documents" back to the local hard drive.



Robert Singers
Technical Systems Architect

Department of Building and Housing
Level 5, 86 Customhouse Quay, PO BOX 10 729, Wellington
DDI: +64 4 471 0432 Mobile: +64 21 451 925
Fax: +64 4 494 0290 Email: robert.singers@dbh.govt.nz<mailto:robert.singers@dbh.govt.nz>
http://www.dbh.govt.nz<http://www.dbh.govt.nz/>


You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > [ActiveDir] GPO and Virtual PC



ActiveForums 3.7
Friends

Friends

VisualClickButoton
Members

Members

MembershipMembership:
Latest New UserLatest:MrPTSai
New TodayNew Today:0
New YesterdayNew Yesterday:0
User CountOverall:5234

People OnlinePeople Online:
VisitorsVisitors:40
MembersMembers:0
TotalTotal:40

Online NowOnline Now:

Ads

Copyright 2009 ActiveDir.org
Terms Of Use