Thanks to all for your time and efforts.

The script seems to work just fine in NT 4.0 I use a dummy account with admin rights but it is safe for the users since they see whatever i want them to see

Still having trouble with Win 95 / 98 ( the password parameter ) in the \IPC$
Any other ideas?