Lately, my company's desktops have been using the Entra ID, which is connected to Azure AD. Before that, all these desktops were connected to an on-premise AD and a Lansweeper server also part of the on-premise AD. The Azure AD and on-premise AD are not trusted to each other and hence, causing a deployment problem as I will elaborate below. 1. A simple task like copying a file, the process always failed because of wrong credentials. I'm even using the desktop's local administrator account for the scanning credential. 2. If connected to the Lansweeper shared folder \\lansweeper\defaultpackageshare$ from the desktop, it will prompt for credentials.
The above issues only happened after the desktop was used with Entra ID. Appreciate it if someone could guide me how to solve it.
@AL13 Try clearing saved credentials in Windows Credential Manager.
The issue of being prompted for credentials when accessing an on-premises share after moving to Microsoft Entra ID (formerly Azure AD) is common and occurs because the device is no longer authenticating against the local Active Directory (AD) in the same way, breaking the seamless Kerberos authentication that typically handles these requests. Even with "Everyone" access, the device is trying to use Entra ID credentials for a resource that expects on-premises AD authentication.
Here are potential solutions:
Primary Solution: Enable Microsoft Entra Kerberos
The recommended long-term solution is to enable Microsoft Entra Kerberos authentication for hybrid identities. This allows Entra ID-joined devices to obtain Kerberos tickets from the cloud to access on-premises resources.
Sync on-prem AD DS accountsto Microsoft Entra ID usingMicrosoft Entra Connect(ensuring password hash synchronization is enabled).
Enable Microsoft Entra Kerberosauthentication for hybrid identities and configure a cloud trust between your on-premises AD DS and Entra ID.
Deploy a GPO or Intune policyto the workstations to "Enable Allow retrieving the Azure AD Kerberos Ticket Granting Ticket during logon".
Workaround 1: Use Windows Credential Manager
A temporary fix that works for many users is to manually add the on-premises AD credentials to the Windows Credential Manager.
OpenControl Paneland search for "Credential Manager".
SelectWindows Credentials.
ClickAdd a Windows credential.
ForInternet or network address, enter the UNC path of the share (e.g.,\\Server\ShareName) or just the server name (e.g.,\\Server).
ForUser name, enter the on-premises username (e.g.,DomainName\Usernameorserver\user).
ForPassword, enter the corresponding password.
ClickOK.
Workaround 2: Check Network Profile Settings
Sometimes, Windows misidentifies the network location, causing authentication issues.
Ensure the problematic computer's network profile is set toPrivate(rather than Public). This can sometimes affect how Windows handles authentication to local resources.
Workaround 3: Adjust the Share Permissions (Less Secure)
While you mentioned "Everyone" access is set, you may need to explicitly verify theNTFS permissionsandShare permissionsto ensure there are no implicit "Deny" rules or conflicts. This is less recommended as it bypasses granular security controls.
If the issue persists, the problem may be tied to how the Primary Refresh Token (PRT) is handled when the device is on the local network, and dedicated Microsoft Support may be required for deeper investigation into backend configurations
At this moment, I have adopted your workaround 1. With this method, the client can access Lansweeper Default Shared folder without asking a credentials. But I have to think how to do a mass set-up over a few hundreds PCs.
I have faced another problem with the Entra ID machine which I can execute a simple task such as open notepad. The error "System Account Result: Package timeout reached. Stopping deployment executable: Successful. Timeout: (60sec). Credential: (.\sadmin). ShareCredential: (lansweeper\guestacct)."
The sadmin acount is the local administrator account in the Entra ID machine. I also created the sadmin account into the Lansweeper as a local administrator. Any idea how to solve it. Thank you