Solved

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

Posted on 2006-11-29
1
3,645 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 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

18 Experts available now in Live!

Get 1:1 Help Now