Click to See Complete Forum and Search --> : Problem to make connection as an administrator


kmashif
May 27th, 2004, 10:35 AM
I am using WNetAddconnection2() API to make a connection with a remote machine. It works fine when i use any user id and password..but when i use the user id "administrator" and valid password of that remote machine then it could not stablish connection..Is there any special requirements to connect as an administrator.

kuphryn
May 27th, 2004, 12:01 PM
Are you sure there is an "administrator" user?

Kuphryn

kmashif
May 28th, 2004, 11:04 AM
Now i have found the problem..When a connection is already exist with that machine as manually connected as a different user like"guest"..then connect as an "administrator" not work..Now i want to cancell the "guest" connection by "WNetCancelConnection2"..it not works, caz i have connect that machine by manually logged in..So how can i cancel the existing connection so that i can log in as an adiministrator.
Thanks