Environment variables in Server 2003
 




IT Certification FAQ

 
|
Home
|
Microsoft
|
CISCO
|
CompTIA
|
Exam/Study FAQ
|
Employment FAQ
| Links  | Forums  |
Book Reviews


FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  ProfileProfile  Log in to check your private messagesPrivate messages  Log inLog in

Environment variables in Server 2003

 
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.general
Author Message
ZBon42
Guest





PostPosted: Sat Jul 28, 2007 12:36 am    Post subject: Environment variables in Server 2003 Reply with quote

My Windows Server 2003 boot drive is filling up and reporting low disk
space.

I need to move the User Profiles folders to another partition. What is the
best way to do this? I assume I should change the %USERPROFILE% system
variable but I don't know how to do this...

Please help.
Back to top
Pegasus (MVP)
Guest





PostPosted: Sat Jul 28, 2007 12:36 am    Post subject: Re: Environment variables in Server 2003 Reply with quote

"ZBon42" <nlx.bay@gmail.com> wrote in message
news:u6QtKHJ0HHA.3564@TK2MSFTNGP04.phx.gbl...
Quote:
My Windows Server 2003 boot drive is filling up and reporting low disk
space.

I need to move the User Profiles folders to another partition. What is
the best way to do this? I assume I should change the %USERPROFILE%
system variable but I don't know how to do this...

Please help.


The environmental variable %UserProfile% reflects the registry
setting for the current user profile folder. Changing this variable
(as suggested by your Subject line) won't do any good. In fact
moving all user profiles to a different drive would most likely be
futile: On a server they contain only the adminstrators' profiles,
and they should consume very little disk space.

The normal way to free up space on your server's system drive
is to move your users' home shares and the various other shares
to a different drive. You should reserve the system drive for
Windows and for your applications.
Back to top
Jeremy
Guest





PostPosted: Sat Jul 28, 2007 12:36 am    Post subject: Re: Environment variables in Server 2003 Reply with quote

It is easy on a new system and a bit of a pain on a system with a lot of
profiles.

The location of the root user profile location is in:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList in a value
called ProfilesDirectory

Then each user has a subkey of this key with their GUID. Inside each of
these keys is another value with the absolute path to their profile. I've
written a script that recurses through all of these and changes each one to
the new location, or you can do it manually. Then you just have to move the
files. I'd do a reboot prior to moving all the files just to make sure
their aren't any stuck profiles.

Let me know if you want the script.

Cheers,
Jeremy.

"ZBon42" <nlx.bay@gmail.com> wrote in message
news:u6QtKHJ0HHA.3564@TK2MSFTNGP04.phx.gbl...
Quote:
My Windows Server 2003 boot drive is filling up and reporting low disk
space.

I need to move the User Profiles folders to another partition. What is
the best way to do this? I assume I should change the %USERPROFILE%
system variable but I don't know how to do this...

Please help.

Back to top
Bruce Sanderson
Guest





PostPosted: Mon Jul 30, 2007 1:56 am    Post subject: Re: Environment variables in Server 2003 Reply with quote

See the More Information, Entire Folder section of
http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b236621 for
additional information.

--
Bruce Sanderson MVP Printing
http://members.shaw.ca/bsanders

It is perfectly useless to know the right answer to the wrong question.



"ZBon42" <nlx.bay@gmail.com> wrote in message
news:u6QtKHJ0HHA.3564@TK2MSFTNGP04.phx.gbl...
Quote:
My Windows Server 2003 boot drive is filling up and reporting low disk
space.

I need to move the User Profiles folders to another partition. What is
the best way to do this? I assume I should change the %USERPROFILE%
system variable but I don't know how to do this...

Please help.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.general All times are GMT
Page 1 of 1

 

Copyright © 2002-2006 Web-S-Sense Pty. Ltd. All rights reserved.

Powered by phpBB
Advertising | Policies/Disclaimers | Contact us | Link to us


Featured Sites: Free Antivirus and Antispyware Info | Free PC Support | MCSE Directory