in reply to system() in Windows 2008

try to use
cmd /K "net use..."
this will create a new cmd process and execute the following command. Maybe there is some "magic" implemented in the cmd or the net command is now a built-it of the cmd.