I am trying to find the trick for using wsname to rename Win 7 computers to the Novell username of the user.

wsname.exe /N:$USERID

When I run as logged in user (with admin rights) it fails with exit code 9 (no admin rights)
When I run as system is renames the computer SYSTEM (as expected)
When I run as dynamic admin is renames the computer DAUXXXXXX (as expected)

If I set the app to execute as WinXP compatible it works but prompts for UAC, even with the NOMASKs flag set. It is a different prompt than the normal UAC prompt though.

Anyone know of way to do this silently?