Hi Jeff,
Thank you for the reply.
This issue may occur if the MS04-011 has been applied. After MS04-011 has
been applied, users are not allowed to create or change the values of these
environment variables. Moreover, when a domain account is used, the logon
process now doesn't get the values from the registry but from what has been
set in the domain account profile. As a result, what is shown by the
"System Properties / Environment variables" user interface (which still
reads the registry) doesn't necessarily reflect the current values of the
environment variables. The correct way to get their right values in this
case, is to use the "set" command of the command prompt.
Environment variables %HOMEDRIVE% and %HOMEPATH% normally get their values
from the drive and path defined in the "Home Folder" part of the profile of
a domain user account. However, before the security update MS04-011
(Q835732), a user was allowed to create these environment variables
manually and set their values via the "System properties / Environment
variables" user interface. He could also achieve it by editing the
registry, under HKey_Current_Users\Environment (the two ways are identical
since the "System Properties / Environment variables" user interface
manages the values from the registry). Since the logon process got the
values of the environment variables from the registry, the value of
%HOMEDRIVE% and %HOMEPATH% shown by the "set" command always matched what
was shown by the "System properties / Environment variables" user
interface.
For more information, please refer to the following article.
841343 After MS04-011, environment variables %HOMEDRIVE% and %HOMEPATH% may
http://support.microsoft.com/?id=841343
Hope this helps!
Sincerely,
Jack Wang, MCSE 2000, MCSA, MCDBA, MCSD
Microsoft Partner Support
Get Secure! -
www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "jeffc" <
[email protected]>
| References: <
[email protected]>
<
[email protected]>
| Subject: Re: Startup directory of command prompt
| Date: Mon, 3 May 2004 11:11:03 -0400
| Lines: 20
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
| Message-ID: <
[email protected]>
| Newsgroups: microsoft.public.win2000.general
| NNTP-Posting-Host: bi01p1.nc.us.ibm.com 129.33.49.251
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13
.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.win2000.general:135081
| X-Tomcat-NG: microsoft.public.win2000.general
|
|
| | > Hi Jeff,
| >
| > The method of Eric should work. Also, the information is stored in the
| > following registry key.
| >
| > HKEY_CURRENT_USER\Environment
| >
| > If you need further assistance, feel free to let me know.
| >
| > Hope this helps!
|
|
| I tried this and it doesn't work. There is a key called Volatile
| Environment and the value of HOMEPATH keeps getting reset to my documents
| directory here. I have rebooted.
|
|
|