I and useing wnetaddconnection2 to do some drive mapping buy it wont map to administration shares, ie. "c$". I think wnetuseconnection will but i can't get it to work. Does anyone have an example I could look at or some help on this one.

Thanks.