How to Modify Boot.ini Using SysdiffID: Q163914
|
When you use Sydiff.exe in your deployment of Windows NT Server and Windows NT Workstation, you may notice that it does not propagate the changes to the Boot.ini file, even though it does note the modifications to the file between the /snap command and the /diff command.
This happens because the Boot.ini file has the file properties hidden, system, and read-only.
To allow Sysdiff to modify the Boot.ini file, you will need to change the properties of the Boot.ini file. Use Attrib.exe to change the properties; Attrib.exe can be found in your %Systemroot%\System32 subdirectory. To use Attrib.exe to change the properties of the Boot.ini file:
[Commands]
".\attrib c:\boot.ini -s -r -h"
".\Rundll32 setupapi,InstalllHinfSection DefaultInstall 128
.\diff.inf
".\attrib c:\boot.ini +r +s +h"
[Commands]
".\Attrib c:\boot.ini -s -r -h"
".\sysdiff /apply /m .\%diff_file%"
OemPreinstall = Yes
Additional query words: unattend automated
Keywords : kbsetup ntsetup
Version : 4.0
Platform :
Issue type :
Last Reviewed: February 9, 1999