You can use the ADDCONFIG entry type to change an integrated Windows server file in these ways:
To change an integrated server file, create an NWSD configuration file that contains the ADDCONFIG entry type as follows:
ADDCONFIG VAR = '<variable_name>', (conditionally required) ADDSTR = '<line to process>', (optional) ADDWHEN = '<ALWAYS|NEVER|<expression>>', (optional) DELETEWHEN = '<NEVER|ALWAYS|<expression>>', (optional) LINECOMMENT = '<"REM "|<comment_string>>', (optional) LOCATION = '<END|BEGIN>', (optional) FILESEARCHPOS = '<AFTER|BEFORE>', (optional) FILESEARCHSTR = '<search_string>', (conditionally required) FILESEARCHSTROCC = '<LAST|FIRST>', (optional) REPLACEOCC = '<LAST|FIRST|ALL>', (optional) TARGETDIR = '<BOOT|path>', (optional) TARGETFILE = '<CONFIG.SYS|<file_name>>', (optional) UNIQUE = '<NO|YES>' (optional)
For a detailed explanation of the ADDCONFIG keywords, use the following keyword links. You can also go back to NWSD configuration file format or on to the Change an integrated Windows server file with UPDATECONFIG entry type.