Solved

***How do I use the Loadstate and Scanstate commands in Windows?***

Posted on 2006-11-29
1
3,649 Views
Last Modified: 2012-08-14
Hi all,

I have heard of the loadstate and scanstate commands in Xp and this seems like a time saving feature and a very useful utility for Network admins. I have little knowledge of windows XP but would like to know how to use this feature also does anyone know of a  good tutorial on the web that can take me through this process.

Cheers.
0
Comment
Question by:blaadom
1 Comment
 
LVL 11

Accepted Solution

by:
theProfessa earned 250 total points
ID: 18038100
This information was found:
http://www.microsoft.com/technet/prodtechnol/winxppro/deploy/usermigr.mspx




ScanState.exe Syntax

This section explains the syntax and usage of ScanState.exe.

scanstate [/c /i input.inf]* [/l scanstate.log]  
 [/v verbosity_level] [/f] [/u] [/x] migration_path  

Table 1 Using ScanState.exe
Flag      Resulting Action

/c
      

Continues past filename_ too_long errors. Log files in Longfile.log.

/i
      

Specifies an INF file containing rules that define which user state data to collect. Multiple INF files can be specified.

/l
      

Specifies a file in which to log errors.

/v
      

Enables verbose output. The syntax is /v # where # is 1 to 7, with 1 being the least verbose, and 7 the most.

/u
      

Specifies that user settings will be migrated. This is a switch for troubleshooting only.

/f
      

Specifies that files will be migrated. This is a switch for troubleshooting only.

/x
      

Specifies that no files or settings should be migrated.

 
      

Note: The migration_path is a path to the location where files should be read/written.

For example:

scanstate \\fileserver\migration\elizabeth /i .\migapp.inf /i .\migsys.inf /I  
.\miguser.inf /i .\sysfiles.inf /i .\files.inf

By default, user settings, system settings, and files are migrated. Use the /u, /f, and /x flags only for troubleshooting. Multiple Migrate Rule INF files can be specified. If you specify more than one, the Sysfiles.inf Migration Rule INF file must be included.

LoadState.exe Syntax

This section explains the syntax and usage of LoadState.exe.

loadstate [/i input.inf]* [/l loadstate.log] [/v #] [/f] [/u] [/x] migration_path  

Table 2 Using LoadState.exe
Flag      Resulting Action

/i
      

Specifies an INF file containing rules to define what state to migrate. Multiple INF files can be specified.

/l
      

Specifies a file in which to log errors.

/v
      

Enables verbose output. The syntax is /v # where # is 1 to 7, with 1 being the least verbose, and 7 the most.

/x
      

Specifies that no files or settings will be migrated. This is a switch for troubleshooting only.

/u
      

Specifies that user settings will be migrated. This is a switch for troubleshooting only.

/f
      

Specifies that files will be migrated. This is a switch for troubleshooting only.

 
      

Note: migration_path is a path to the location from which the files should be read.

For example:

loadstate \\fileserver\migration\elizabeth /i .\miguser.inf  

By default, user settings, system settings, and files are migrated. The /u, /f, and /x flags should only be used for troubleshooting. Multiple migrate rule INF files can be specified.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now