Installing NFS Auth on Windows 2003 R2 from command line
I am finally back here J in this year.
Recently, I have spent some time to find the steps to install NFS Auth on Windows 2003 R2 from command line; thought of sharing it here.
1. Ensure that the Windows 2003 R2 CD2 media is available in the CD ROM. If you have these files in a network share / any other location; installer will prompt you to show the path.
2. Create a txt file say answerfile.txt (may be in c:\windows) and put these line sin that:
[Components]
NFSServerAuth=on
3. Run this command:
sysocmgr /i:%windir%\inf\sysoc.inf /u:%windir%\answerfile.txt à this example assumes that the answer file is created in %windir%
BTW, sysocmgr is discussed in details in How to add or remove Windows Components by using Sysocmgr.exe.
Important parts from this knowledge based article
You can use the Sysocmgr.exe tool at a command prompt to add or remove Windows components.
You can use the following command-line switches with Sysocmgr.exe:
/i:path to Sysoc.inf file, where path to Sysoc.inf file is the full path to the Sysoc.inf file, for example: c:\windows\inf\sysoc.inf
/u:path to answer file, where path to answer file is the full path to the answer file that contains a list of items to add or remove.
/q - runs Sysocmgr.exe in quiet mode (without display pages); this will only work if the installer can find the required files in the CD ROM / any other previously known path
/r - suppresses reboot (if needed)