When browsing the book
Universal Command Guide: For Operating Systems
by Guy Lotgering (a gift I got from
René
Engelbart) I found some interesting commands:
ACINIUPD: utility to update the INI file.
| ACINIUPD | [ /e | /k ] [ /u ] [ /v ] ini_file section key new_value |
ACINIUPD.EXE is located in the "%SystemRoot%\Application Compatibility Scripts" directory on Windows 2000 (Advanced) Server systems.
As Christoph Geiser found out and mailed to me (thanks):
... the command runs only on W2K Server and not on W2K Pro!
... it only works fine with admin permission.
Only with the /u parameter you can use it with normal user rights.
... the syntax is something like:
ACINIUPD /e "d:\testdir\test.ini" "section1" test "5"
d:\testdir>type test.ini
[section1]
test=5
Microsoft® Windows 2000 Windows File Checker Version 5.00
© 1999 Microsoft Corp. All rights reserved
Scans all protected system files and replaces incorrect versions with correct Microsoft versions.
| SFC | [ /SCANNOW ] [ /SCANONCE ] [ /SCANBOOT ] [ /CANCEL ] [ /ENABLE ] [ /PURGECACHE ] [ /CACHESIZE=x ] [ /QUIET ] |
TSSHUTDN: Shut down a server in a controlled manner
| TSSHUTDN.EXE | [ wait_time ] [ /SERVER:servername ] [ /REBOOT | /POWERDOWN ] [ /DELAY:logoffdelay ] [ /V ] |
TSSHUTDN.EXE is located in the %SystemRoot%\System32 directory on Windows 2000 (Advanced) Server systems.
More Terminal Server commands can be found on my Terminal Server Commands page.