home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 49 / cda49.iso / Demos / DriveImage / SID / README.TXT next >
Encoding:
Text File  |  2000-01-17  |  9.6 KB  |  250 lines

  1. PowerQuest(R) SIDchanger(TM)
  2. Version 3.00
  3.  
  4. Copyright 1997-1999, PowerQuest Corporation.
  5. All Rights Reserved. 
  6.  
  7. ---------------------------------------------------------------------
  8. TABLE OF CONTENTS
  9.  
  10. 1.  Overview
  11. 2.  Command line interface
  12. 3.  Instructions
  13. 4.  Running SIDchanger with Drive Image(R)
  14. 5.  Fixes in version 3.00
  15. 6.  Additional information
  16.  
  17.  
  18. ---------------------------------------------------------------------
  19. OVERVIEW
  20.  
  21. PowerQuest offers powerful solutions to ensure that the imaging of
  22. Windows NT workstations is fast, simple and secure.  This SID 
  23. replacement utility has been working consistently in our lab and at 
  24. selected beta sites.  However, because of the complex nature of this 
  25. solution, we will continue to test and update this utility to ensure 
  26. that it functions reliably.  When updates become available, they will 
  27. be posted on the download updates section on our web site.
  28.     
  29. PowerQuest has built a reputation for quality and expertise with 
  30. hard-disk utilities and wants, with your help, to build the very best 
  31. solution for Windows NT installations.  PowerQuest is attempting to 
  32. get Microsoft's cooperation to permanently solve the problem. 
  33.  
  34. Please note that SIDchanger does not work with Windows 2000
  35. Professional. If you use Windows 2000 Professional, you should use
  36. Microsoft's SysPrep Tool to ensure that cloned workstations have
  37. unique SIDs.
  38.  
  39. PowerQuest SIDchanger was developed for the following purposes: 
  40.  
  41.     1)  To identify the current computer SID and replace it with a
  42.         new SID.
  43.  
  44.     2)  To change the NT computer name.  Note: PowerQuest recommends
  45.         using PQ_COMPUTERNAME as the computer name when the original
  46.         computer is imaged to reduce the likelihood of incorrectly
  47.         modifying the registry files during computer name replacement.
  48.         However, in this version, any computer name may be replaced
  49.         with confirmation from the user.  The original and new
  50.         computer names must be of equal length.  If needed, the new
  51.         name will be automatically padded with '_' followed by as
  52.         many '0' characters as needed to synchronize the length.
  53.  
  54.  
  55. ---------------------------------------------------------------------
  56. COMMAND LINE INTERFACE
  57.  
  58.     sidchngr [/s] | [<part_id> <\windir> [/n] [/i] [/e] [/r]
  59.              [/ce[=oldName]]] [/cr=[oldName],newName]
  60.              [/a[=d[,d]]] [/b]]
  61.  
  62. Where:
  63.  
  64.     /s          Returns a list of partitions with part_ids
  65.  
  66.     part_id     ID of partition containing registry to change
  67.  
  68.     windir      Specifies the windows directory (e.g., \winnt)
  69.  
  70.     /n          No file system integrity check
  71.  
  72.     /i          Identifies the computer SID
  73.  
  74.     /e          Enumerates all instances of the computer SID
  75.  
  76.     /r          Replaces all instances of the computer SID
  77.  
  78.     /ce[=oldName] Enumerates all instances of the computer name
  79.                 (If oldName is not specified, PQ_COMPUTERNAME is used.)
  80.  
  81.     /cr=[oldName],newName  Replaces computer name oldName with newName
  82.                 (If oldName is not specified, PQ_COMPUTERNAME is used.)
  83.  
  84.     /a[=d[,d]]  Limits NTFS file system SID search to partitions listed
  85.                 (If none listed, only partition 'part_id' is searched.)
  86.                 (If not specified, all NTFS partitions are searched.)
  87.  
  88.     /b          Reboots the computer after successful completion
  89.  
  90.  
  91. ---------------------------------------------------------------------
  92. INSTRUCTIONS
  93.  
  94. Sidchngr.exe is a true DOS program and may be run from floppy or a 
  95. hard drive.  SIDchanger will not run in an NT DOS Session.  Follow 
  96. these steps to change the computer SID and computer name on your NT 
  97. workstation.
  98.  
  99. 1: Boot real DOS.
  100.  
  101. 2: Type "sidchngr /s"
  102.  
  103.    -    This will give you a list of partitions on your hard drive.  
  104.         The far right column contains partition IDs for each partition.
  105.         This ID will be used by SIDchanger to know which partition 
  106.         contains the NT system.
  107.  
  108. 3: Type "sidchngr <part_id> <\windir> /i"
  109.  
  110.    -    For example, "sidchngr 0 \winnt /i"
  111.  
  112.    -    This will identify the computer SID and display it on the 
  113.         screen.
  114.  
  115. 4: Type "sidchngr <part_id> <\windir> /e"
  116.  
  117.    -    This will enumerate all instances of the computer SID
  118.         and tell how many instances were found in the given
  119.         file or volume.
  120.  
  121. 5: Type "sidchngr <part_id> <\windir> /r"
  122.  
  123.    -    This will replace the computer SID with a new SID that is
  124.         statistically unique.
  125.     
  126. 6: Type "sidchngr <part_id> <\windir> /ce=oldCompName"
  127.  
  128.    -    This will enumerate all instances of the computer name
  129.         and tell how many instances were found in the given
  130.         file.
  131.  
  132.    -    If oldCompName is not specified, PQ_COMPUTERNAME will be used.
  133.  
  134. 7: Type "sidchngr <part_id> <\windir> /cr=oldCompName,newCompName"
  135.  
  136.    -    This will replace the old computer name with the new name.
  137.  
  138.    -    If oldCompName is not specified, PQ_COMPUTERNAME will be used.
  139.         The new name is required and a ',' character should precede it.
  140.  
  141.    -    If newCompName is shorter than oldCompName, the new name will
  142.         be automatically padded with '_' followed by as many '0'
  143.         characters as needed to synchronize the length.
  144.  
  145.         Confirmation of the name change is required before the
  146.         replacement occurs unless oldCompName is PQ_COMPUTERNAME and
  147.         newCompName is of equal length, or the command line option is
  148.         specified to override the confirmation.  (See Unattended Use
  149.         for details.)
  150.  
  151.         For example, "sidchngr 0 \winnt /cr=PQNAME,FRED" will result in
  152.         the new computer name "FRED_0".
  153.     
  154. Alternative for steps 4 - 7:
  155.  
  156. 8: Type "sidchngr <part_id> <\windir> /e /ce=oldCompName"
  157.  
  158.    -    This will enumerate all instances of the computer SID and the
  159.         computer name (combining steps 4 and 6 above).
  160.  
  161. 9: Type "sidchngr <part_id> <\windir> /r /cr=oldCompName,newCompName"
  162.  
  163.    -    This will replace all instances of the computer SID and the
  164.         computer name (combining steps 5 and 7 above).
  165.  
  166. Unattended Use:
  167.  
  168.    -    Overriding confirmation of computer name replacement
  169.  
  170.         Replacement of the computer name is accomplished by replacing
  171.         every occurrence of the old computer name found in the
  172.         registry files.  If the old name is NOT unique, the replacement
  173.         could adversely affect your system, possibly making Windows NT
  174.         unable to start up.
  175.  
  176.         For example, if the old name was IS, and the name will change
  177.         to PR, doing the replacement will replace every instance of IS,
  178.         without regard to case, found in the registry.  This will change
  179.         things like mapisrvr.exe to mapPRrvr.exe, PSDispatch to
  180.         PSDPRpatch, etc.
  181.  
  182.         Because of the possible consequences of this replacement,
  183.         you MUST confirm the replacement by re-entering the new
  184.     computer name when prompted for confirmation.  However, this
  185.         confirmation may take place on the command line by specifying
  186.         "/o=newCompName" as the final option.  The newCompName MUST
  187.         match the new name specified with the /cr option.
  188.      
  189.    Example: "sidchngr <part_id> <\windir> /r /cr=OldCompName,NewCompName
  190.           /o=NewCompName"
  191.  
  192.  
  193. ----------------------------------------------------------------------
  194. RUNNING SIDCHANGER WITH DRIVE IMAGE
  195.  
  196.  
  197.     SIDchanger can be run as an integrated part of the Drive Image
  198.     restore process by executing the proper commands in a batch file.
  199.  
  200.     The batch file 'sid.bat' should contain the following three lines
  201.     (not including the line numbers):
  202.  
  203.     1.  [dir\]pqdi.exe /cmd=f:\dir\script.txt /img=f:\dir\%1.pqi
  204.         /log=f:\dir\%1.log /err=f:\dir\%1.err
  205.  
  206.     2.  [dir\]sidchngr.exe  0 \winnt /e /ce=MIS000 >f:\dir\%1.enu
  207.  
  208.     3.  [dir\]sidchngr.exe 0 \winnt /r /cr=MIS000,%2 /b >f:\dir\%2.chg
  209.  
  210.         Note: %1 and %2 are DOS arguments to the batch file where
  211.               %1= <image file name> and %2= <new computer name>
  212.  
  213.     Example: > sid.bat PQImage prg024
  214.  
  215.     The above command would restore the image contained in the
  216.     PQImage.pqi file, enumerate the SID and the computer name (saving
  217.     the information to a log file), replace the SID, and rename the
  218.     computer PRG024 (logging that information as well), and reboot the
  219.     computer.
  220.  
  221.     Additionally, the "/o" option described above could be used in the
  222.     batch file so that no user intervention is needed. For example,
  223.     replace line 3 in Sid.bat above with the following:
  224.  
  225.         3. [dir\]sidchngr.exe  0 \winnt /n /r /cr=MIS000,%2 /b /o=%2
  226.            >f:\dir\%1.chg
  227.  
  228.     In this version, SIDchanger is not linked in directly with the
  229.     Drive Image executable, so PowerQuest can continue to update this
  230.     utility easily and quickly as new information becomes available.
  231.  
  232.  
  233. ---------------------------------------------------------------------
  234. FIXES IN VERSION 3.00
  235.  
  236.  
  237.    -    Added support for Windows NT Service Pack 4 (Added in 3.00)
  238.    -    Added ability to specify some important Drive Image switches
  239.         from the command line.  These include /IEB, /IFC, /IPE, /UEB,
  240.         and /USG.  See the Drive Image documentation for a description
  241.         of these switches.  (Added in 3.0)
  242.    -    Added reboot option after successful completion (Added in 2.00)
  243.    -    Added ability to limit search for the computer SID to the file
  244.         system in selected NTFS partitions.  (Added in 2.00)
  245.  
  246. ---------------------------------------------------------------------
  247. ADDITIONAL INFORMATION
  248.  
  249. For more information on the Windows NT SID issue, visit our web site
  250. at http://www.powerquest.com, or send e-mail to sid@powerquest.com.