Solved

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

Posted on 2006-11-29
1
3,662 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

628 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