MapDrive => Копировать файлы как локальный пользователь => UnmapDrive. Взгляните здесь :
protected int MapDrive(){
NETRESOURCEA[] resources = new NETRESOURCEA[1];
resources[0] = new NETRESOURCEA();
resources[0].dwType = 1;
int dwFlags = 1;
resources[0].lpLocalName = _DriveLetter;
resources[0].lpRemoteName = _Path;
resources[0].lpProvider = null;
int ret = WNetAddConnection2A(resources, null, null, dwFlags);
return ret;
}
protected int UnmapDrive()
{
int ret = WNetCancelConnection2A(_DriveLetter, 0, true);
return ret;
}