Primsrv is a simple compiled winbatch script that will set the Primary Netware server as long as the user is logged in to the tree the server exists in. You must specify the server in UNC notation. It can take some time to connect to a server depending on your tree and it's complexity. If a server is already connected making it primary happens instantly.
All source code is included in the download in a folder named "source".Usage: primsrv <unc servername> <options>