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] Environment variable in GP _Win2k3
Prev Next
You are not authorized to post a reply.

AuthorMessages
praveengthampiUser is Offline

Posts:25

03/24/2008 2:04 PM  
Hi All,

a) Do any one know how to set environment variables through Gp? To specified groups.
For e.g. I want all users have tmp and temp in a separated drive.
And service accounts have all variables in default place.
(because users running long SQL queries fill the C: with temp files and unnecessary alerts are generated.)

b) Is there any problem having service accounts having their profiles in another drive than C:? I've been advised not to do so.

Thanks in advance.
Pgt


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

danholmeUser is Offline

Posts:139

03/24/2008 2:24 PM  
Group Policy Preferences (new to VSP1 and XPSP2) will allow you to set
env vars through GP



From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of
praveen.g.thampi@accenture.com
Sent: Monday, March 24, 2008 8:05 AM
To: ActiveDir@mail.activedir.org
Subject: Environment variable in GP _Win2k3



Hi All,



a) Do any one know how to set environment variables through Gp? To
specified groups.

For e.g. I want all users have tmp and temp in a separated drive.

And service accounts have all variables in default place.

(because users running long SQL queries fill the C: with temp files and
unnecessary alerts are generated.)



b) Is there any problem having service accounts having their profiles in
another drive than C:? I've been advised not to do so.



Thanks in advance.

Pgt


darrenUser is Offline

Posts:181

03/24/2008 3:55 PM  
Right. The alternative is startup/logon scripts, but GPP is much easier if
you can deploy it.



As for service account profiles being on a separate drive, I'm not actually
sure how you would do this? I mean, you would have to manually move those
profiles because I don't know of a way to tell Windows that some profiles
are on one drive and some are on the other.



Darren





From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Dan Holme
Sent: Monday, March 24, 2008 11:24 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Group Policy Preferences (new to VSP1 and XPSP2) will allow you to set env
vars through GP



From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of
praveen.g.thampi@accenture.com
Sent: Monday, March 24, 2008 8:05 AM
To: ActiveDir@mail.activedir.org
Subject: Environment variable in GP _Win2k3



Hi All,



a) Do any one know how to set environment variables through Gp? To specified
groups.

For e.g. I want all users have tmp and temp in a separated drive.

And service accounts have all variables in default place.

(because users running long SQL queries fill the C: with temp files and
unnecessary alerts are generated.)



b) Is there any problem having service accounts having their profiles in
another drive than C:? I've been advised not to do so.



Thanks in advance.

Pgt


danholmeUser is Offline

Posts:139

03/24/2008 4:10 PM  
Sorry I missed the second ½ of the question.

Not sure WHY you'd want to do it, but you can:

Set the User Profile Path (same as you would for a roaming profile) to drive:\path\%username% (e.g. D:\ServiceProfiles\%username%)

Just like a roaming profile for the service account, only pointing to a local path. Be sure the service profile has permissions on the parent to CREATE the new profile for the first time-default permissions should do that, but TEST.



From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Darren Mar-Elia
Sent: Monday, March 24, 2008 9:52 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Right. The alternative is startup/logon scripts, but GPP is much easier if you can deploy it.



As for service account profiles being on a separate drive, I'm not actually sure how you would do this? I mean, you would have to manually move those profiles because I don't know of a way to tell Windows that some profiles are on one drive and some are on the other.



Darren





From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Dan Holme
Sent: Monday, March 24, 2008 11:24 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Group Policy Preferences (new to VSP1 and XPSP2) will allow you to set env vars through GP



From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of praveen.g.thampi@accenture.com
Sent: Monday, March 24, 2008 8:05 AM
To: ActiveDir@mail.activedir.org
Subject: Environment variable in GP _Win2k3



Hi All,



a) Do any one know how to set environment variables through Gp? To specified groups.

For e.g. I want all users have tmp and temp in a separated drive.

And service accounts have all variables in default place.

(because users running long SQL queries fill the C: with temp files and unnecessary alerts are generated.)



b) Is there any problem having service accounts having their profiles in another drive than C:? I've been advised not to do so.



Thanks in advance.

Pgt


praveengthampiUser is Offline

Posts:25

03/25/2008 5:16 AM  
Hi,

Thanks for the replies.



Group Policy Preferences applies to WIN2k8, I suppose? We are having 2K3 and Win2K servers.

Both a and b are required to avoid disc space concerns.



Regards,

Pgt

________________________________

From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Dan Holme
Sent: Tuesday, March 25, 2008 1:38 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Sorry I missed the second ½ of the question.

Not sure WHY you'd want to do it, but you can:

Set the User Profile Path (same as you would for a roaming profile) to drive:\path\%username% (e.g. D:\ServiceProfiles\%username%)

Just like a roaming profile for the service account, only pointing to a local path. Be sure the service profile has permissions on the parent to CREATE the new profile for the first time-default permissions should do that, but TEST.



From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Darren Mar-Elia
Sent: Monday, March 24, 2008 9:52 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Right. The alternative is startup/logon scripts, but GPP is much easier if you can deploy it.



As for service account profiles being on a separate drive, I'm not actually sure how you would do this? I mean, you would have to manually move those profiles because I don't know of a way to tell Windows that some profiles are on one drive and some are on the other.



Darren





From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Dan Holme
Sent: Monday, March 24, 2008 11:24 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Group Policy Preferences (new to VSP1 and XPSP2) will allow you to set env vars through GP



From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of praveen.g.thampi@accenture.com
Sent: Monday, March 24, 2008 8:05 AM
To: ActiveDir@mail.activedir.org
Subject: Environment variable in GP _Win2k3



Hi All,



a) Do any one know how to set environment variables through Gp? To specified groups.

For e.g. I want all users have tmp and temp in a separated drive.

And service accounts have all variables in default place.

(because users running long SQL queries fill the C: with temp files and unnecessary alerts are generated.)



b) Is there any problem having service accounts having their profiles in another drive than C:? I've been advised not to do so.



Thanks in advance.

Pgt



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

ZJORZUser is Offline

Posts:131

03/25/2008 8:03 AM  
well, it depends.... ;-)

The GPO settings can only be managed with W2K8/VistaSP1

However, they can apply to computers running 2008, Vista RTM/SP1, XPSP2 and 2003SP1/Sp2! (both x64 and x86)
see:
http://blogs.dirteam.com/blogs/jorge/archive/2008/03/21/group-policy-preferences.aspx

REMARK: E-mail address change: "@logicacmg.com" is now "@logica.com".

Met vriendelijke groeten / Kind regards,
Ing. Jorge de Almeida Pinto
Senior Infrastructure Consultant
MVP Windows Server - Directory Services

Logica Nederland B.V. (BU ISA Eindhoven)
( Tel : +31-(0)40-29.57.777
( Mobile : +31-(0)6-26.26.62.80
* E-mail : Jorge.de.Almeida.Pinto@logica.com

________________________________

From: ActiveDir-owner@mail.activedir.org on behalf of praveen.g.thampi@accenture.com
Sent: Tue 2008-03-25 10:17
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Hi,

Thanks for the replies.



Group Policy Preferences applies to WIN2k8, I suppose? We are having 2K3 and Win2K servers.

Both a and b are required to avoid disc space concerns.



Regards,

Pgt

________________________________

From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Dan Holme
Sent: Tuesday, March 25, 2008 1:38 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Sorry I missed the second ½ of the question.

Not sure WHY you'd want to do it, but you can:

Set the User Profile Path (same as you would for a roaming profile) to drive:\path\%username% (e.g. D:\ServiceProfiles\%username%)

Just like a roaming profile for the service account, only pointing to a local path. Be sure the service profile has permissions on the parent to CREATE the new profile for the first time-default permissions should do that, but TEST.



From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Darren Mar-Elia
Sent: Monday, March 24, 2008 9:52 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Right. The alternative is startup/logon scripts, but GPP is much easier if you can deploy it.



As for service account profiles being on a separate drive, I'm not actually sure how you would do this? I mean, you would have to manually move those profiles because I don't know of a way to tell Windows that some profiles are on one drive and some are on the other.



Darren





From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Dan Holme
Sent: Monday, March 24, 2008 11:24 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Group Policy Preferences (new to VSP1 and XPSP2) will allow you to set env vars through GP



From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of praveen.g.thampi@accenture.com
Sent: Monday, March 24, 2008 8:05 AM
To: ActiveDir@mail.activedir.org
Subject: Environment variable in GP _Win2k3



Hi All,



a) Do any one know how to set environment variables through Gp? To specified groups.

For e.g. I want all users have tmp and temp in a separated drive.

And service accounts have all variables in default place.

(because users running long SQL queries fill the C: with temp files and unnecessary alerts are generated.)



b) Is there any problem having service accounts having their profiles in another drive than C:? I've been advised not to do so.



Thanks in advance.

Pgt

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


florianUser is Offline

Posts:18

03/26/2008 6:03 AM  
Howdie!



No, it does not apply to Windows Server 2008 only. What you need is have the
new Group Policy Preference CSEs (Client Side Extensions) and install them
on the clients:

http://support.microsoft.com/kb/943729



To manage the Preference Features, you need to have a Windows Server 2008 or
RSAT installed on a Windows Vista box.



Cheers,



Florian





From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of
praveen.g.thampi@accenture.com
Sent: Dienstag, 25. März 2008 10:17
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Hi,

Thanks for the replies.



Group Policy Preferences applies to WIN2k8, I suppose? We are having 2K3 and
Win2K servers.

Both a and b are required to avoid disc space concerns.



Regards,

Pgt

_____

From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Dan Holme
Sent: Tuesday, March 25, 2008 1:38 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Sorry I missed the second ½ of the question.

Not sure WHY you’d want to do it, but you can:

Set the User Profile Path (same as you would for a roaming profile) to
drive:\path\%username% (e.g. D:\ServiceProfiles\%username%)

Just like a roaming profile for the service account, only pointing to a
local path. Be sure the service profile has permissions on the parent to
CREATE the new profile for the first time—default permissions should do
that, but TEST.



From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Darren Mar-Elia
Sent: Monday, March 24, 2008 9:52 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Right. The alternative is startup/logon scripts, but GPP is much easier if
you can deploy it.



As for service account profiles being on a separate drive, I’m not actually
sure how you would do this? I mean, you would have to manually move those
profiles because I don’t know of a way to tell Windows that some profiles
are on one drive and some are on the other.



Darren





From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Dan Holme
Sent: Monday, March 24, 2008 11:24 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3



Group Policy Preferences (new to VSP1 and XPSP2) will allow you to set env
vars through GP



From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of
praveen.g.thampi@accenture.com
Sent: Monday, March 24, 2008 8:05 AM
To: ActiveDir@mail.activedir.org
Subject: Environment variable in GP _Win2k3



Hi All,



a) Do any one know how to set environment variables through Gp? To specified
groups.

For e.g. I want all users have tmp and temp in a separated drive.

And service accounts have all variables in default place.

(because users running long SQL queries fill the C: with temp files and
unnecessary alerts are generated.)



b) Is there any problem having service accounts having their profiles in
another drive than C:? I've been advised not to do so.



Thanks in advance.

Pgt

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.


praveengthampiUser is Offline

Posts:25

03/27/2008 1:22 AM  
Hi Florian,

Thanks for confirming that ☺

Regards,
Pgt
________________________________________
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Florian Frommherz
Sent: Wednesday, March 26, 2008 3:29 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Environment variable in GP _Win2k3

Howdie!

No, it does not apply to Windows Server 2008 only. What you need is have the new Group Policy Preference CSEs (Client Side Extensions) and install them on the clients:
http://support.microsoft.com/kb/943729

To manage the Preference Features, you need to have a Windows Server 2008 or RSAT installed on a Windows Vista box.

Cheers,



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx
You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > [ActiveDir] Environment variable in GP _Win2k3



ActiveForums 3.7
AdventNet Banner
Friends

Friends

Namescape
Members

Members

MembershipMembership:
Latest New UserLatest:kosciesza69
New TodayNew Today:3
New YesterdayNew Yesterday:1
User CountOverall:4319

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

Online NowOnline Now:

Ads

Copyright 2008 ActiveDir.org
Terms Of Use