Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2006-11-29
1
Medium Priority
?
3,697 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 750 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
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…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

721 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