Microsoft KB Archive/283367

= Scanstate and Loadstate Ignore Environment Variables in INF Files =

Article ID: 283367

Article Last Modified on 1/15/2006

-

APPLIES TO


 * Microsoft Windows XP Professional

-



This article was previously published under Q283367





SYMPTOMS
When you perform a migration with the User State Migration Tools by using environment variables such as %systemdrive% or %homedrive%, Loadstate or Scanstate ignores the variables in INF files and the files are not copied as expected.



CAUSE
The environment variables %systemdrive% and %homedrive% are not read by Loadstate or Scanstate when the variables appear alone in customized INF files.



RESOLUTION
The actual drive letter must be included instead of the environment variable, or the specific file name must be included with the environment variable.

The following examples work:

C:\filename.txt

and

%systemdrive%\filename.txt

The following examples do not work:

%systemdrive%

or

%homedrive%



STATUS
This behavior is by design.

Additional query words: USMT Scanstate Loadstate

Keywords: kbenv kbprb KB283367

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.