Weatherlights / Intune-Network-Drive-Mapping-Tool

Map on-premises network shares with Intune and the Microsoft Store for Business
40 stars 16 forks source link

Drives not mapping but logs seem ok #2

Closed bpmarine closed 2 years ago

bpmarine commented 2 years ago

Thanks for your handy tool, I'm hoping I can make it work!

My logs look ok, but the drives are not mapping for me:

<![LOG[Will now connect O to \\10.11.12.7\MAL]LOG]!><time="16:54:46.980-000" date="03-04-2022" component="DriveSettings" context="" type="1" thread="1" file=""> <![LOG[Will now connect P to \\10.11.12.7\Projects]LOG]!><time="16:54:46.981-000" date="03-04-2022" component="DriveSettings" context="" type="1" thread="1" file=""> <![LOG[Will now go to sleep.]LOG]!><time="16:54:56.997-000" date="03-04-2022" component="NetworkDriveMapping" context="" type="1" thread="1" file="">

I have checked the network paths directly in File Explorer and I can browse them without issues.

My ADMX template ingestion and the drive configs are on different policies. I'm using Enabled, Refresh Interval and Map Persistent with the /"enabled/"/ string, and only have these two drives in the Network Share Mappings settings. The logs suggest that everything is being read correctly, but it's not showing drives after many reboots and syncs via Company Portal.

Any suggestions would be appreciated! BTW, Windows 21H2

Weatherlights commented 2 years ago

Do you connect them using shared credentials?

Am 04.03.2022 um 18:05 schrieb bpmarine @.***>:



Thanks for your handy tool, I'm hoping I can make it work!

My logs look ok, but the drives are not mapping for me:

<![LOG[Will now connect O to \10.11.12.7\MAL]LOG]!> <![LOG[Will now connect P to \10.11.12.7\Projects]LOG]!> <![LOG[Will now go to sleep.]LOG]!>

I have checked the network paths directly in File Explorer and I can browse them without issues.

My ADMX template ingestion and the drive configs are on different policies. I'm using Enabled, Refresh Interval and Map Persistent with the string, and only have these two drives in the Network Share Mappings settings. The logs suggest that everything is being ready correctly, but it's not showing drives after many reboots and syncs via Company Portal.

Any suggestions would be appreciated! BTW, Windows 21H2

— Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWeatherlights%2FIntune-Network-Drive-Mapping-Tool%2Fissues%2F2&data=04%7C01%7Chauke%40hauke.us%7Cc60b06e6faa3448704aa08d9fe012e00%7Ca61560d4444a49898c8619f38e4b4f7a%7C1%7C0%7C637820103289216809%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7kVKbV3qthmki12EyL20JSfIiealKnLFjH0lYxlgvFY%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADYQ25JTBNA25TNZFKXN643U6I7FLANCNFSM5P6CHPYA&data=04%7C01%7Chauke%40hauke.us%7Cc60b06e6faa3448704aa08d9fe012e00%7Ca61560d4444a49898c8619f38e4b4f7a%7C1%7C0%7C637820103289216809%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=nPN33%2B872H%2BzPGrpyd5s4F%2BrUaCAVikQgDAXLk448D0%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Weatherlights commented 2 years ago

Hello

I created a new release that mainly improves logging. Please update and check the logs again and see if there are some additional informations. Please keep me updated :).

Best Hauke

bpmarine commented 2 years ago

Hi Hauke

Thanks very much, I will test later today and let you know.

Best regards Brandon

From: Weatherlights @.> Sent: 08 March 2022 13:10 To: Weatherlights/Intune-Network-Drive-Mapping-Tool @.> Cc: Brandon Mason @.>; Author @.> Subject: Re: [Weatherlights/Intune-Network-Drive-Mapping-Tool] Drives not mapping but logs seem ok (Issue #2)

Hello

I created a new release that mainly improves logging. Please update and check the logs again and see if there are some additional informations. Please keep me updated :).

Best Hauke

- Reply to this email directly, view it on GitHubhttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWeatherlights%2FIntune-Network-Drive-Mapping-Tool%2Fissues%2F2%23issuecomment-1061760042&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca75ea19d12fa4782bc5708da010500dd%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637823418241991806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=wouZAdSEWv7NRmGJrANJG1BOXf8NoRWsKYPexQ7sOdQ%3D&reserved=0, or unsubscribehttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMX7NAHQKJDWAM7TOKD7ZRLU65GT3ANCNFSM5P6CHPYA&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca75ea19d12fa4782bc5708da010500dd%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637823418241991806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7ZDKMsG6Y5ZXK1SDZnFyfobiVAV9j0xXOAzyWsnb9sM%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca75ea19d12fa4782bc5708da010500dd%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637823418241991806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=32%2FPd5sRXxAa9OBtS3zgnbFLe2jSRldJUElbzhQP6gY%3D&reserved=0 or Androidhttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca75ea19d12fa4782bc5708da010500dd%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637823418241991806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=uyypJosMfJPB9E2QF72vXkGt%2B1mVASxtHcWp5ba1A9M%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

bpmarine commented 2 years ago

Good morning Hauke

Here is the useful part of the log, hopefully this error code provides more insight:

<![LOG[Drive mapping failed with code: 1202]LOG]!>

Best regards Brandon

From: Brandon Mason Sent: 09 March 2022 09:59 To: Weatherlights/Intune-Network-Drive-Mapping-Tool @.>; Weatherlights/Intune-Network-Drive-Mapping-Tool @.> Cc: Author @.***> Subject: RE: [Weatherlights/Intune-Network-Drive-Mapping-Tool] Drives not mapping but logs seem ok (Issue #2)

Hi Hauke

Thanks very much, I will test later today and let you know.

Best regards Brandon

From: Weatherlights @.**@.>> Sent: 08 March 2022 13:10 To: Weatherlights/Intune-Network-Drive-Mapping-Tool @.**@.>> Cc: Brandon Mason @.**@.>>; Author @.**@.>> Subject: Re: [Weatherlights/Intune-Network-Drive-Mapping-Tool] Drives not mapping but logs seem ok (Issue #2)

Hello

I created a new release that mainly improves logging. Please update and check the logs again and see if there are some additional informations. Please keep me updated :).

Best Hauke

- Reply to this email directly, view it on GitHubhttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWeatherlights%2FIntune-Network-Drive-Mapping-Tool%2Fissues%2F2%23issuecomment-1061760042&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca75ea19d12fa4782bc5708da010500dd%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637823418241991806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=wouZAdSEWv7NRmGJrANJG1BOXf8NoRWsKYPexQ7sOdQ%3D&reserved=0, or unsubscribehttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMX7NAHQKJDWAM7TOKD7ZRLU65GT3ANCNFSM5P6CHPYA&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca75ea19d12fa4782bc5708da010500dd%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637823418241991806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7ZDKMsG6Y5ZXK1SDZnFyfobiVAV9j0xXOAzyWsnb9sM%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca75ea19d12fa4782bc5708da010500dd%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637823418241991806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=32%2FPd5sRXxAa9OBtS3zgnbFLe2jSRldJUElbzhQP6gY%3D&reserved=0 or Androidhttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca75ea19d12fa4782bc5708da010500dd%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637823418241991806%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=uyypJosMfJPB9E2QF72vXkGt%2B1mVASxtHcWp5ba1A9M%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

Weatherlights commented 2 years ago

Hey

did you use MapPersistent?

Best Hauke

bpmarine commented 2 years ago

Morning

Yes, Map Persistent > .

I just saw that the custom policy to map the drives has not successfully applied to my assigned devices. I have the admx ingestion as a separate policy from the four conjuration settings: Enabled, Refresh Interval, Map Persistent and Network Share Mappings. These four have not applied according to Endpoint.

Perhaps I have a syntax error on Network Share Mappings:

I can't seem to find any error log on Endpoint to see why it's failing to apply successfully as yet.

Brandon

From: Weatherlights @.> Sent: 10 March 2022 09:52 To: Weatherlights/Intune-Network-Drive-Mapping-Tool @.> Cc: Brandon Mason @.>; Author @.> Subject: Re: [Weatherlights/Intune-Network-Drive-Mapping-Tool] Drives not mapping but logs seem ok (Issue #2)

Hey

did you use MapPersistent?

Best Hauke

- Reply to this email directly, view it on GitHubhttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWeatherlights%2FIntune-Network-Drive-Mapping-Tool%2Fissues%2F2%23issuecomment-1063865379&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ce9be76f9303b4109227808da027b8f4e%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825026944534071%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=MJ1j96HprjzKEkCmAw13sV15K2X9xx0GtnxEeKFwXEQ%3D&reserved=0, or unsubscribehttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMX7NADC7DIZSSPK5MOJ4P3U7HA2JANCNFSM5P6CHPYA&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ce9be76f9303b4109227808da027b8f4e%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825026944534071%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=NRotDE1pRchQFnE0M%2BdliOSdplRBOfR%2FidGjSK%2Bt1q4%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ce9be76f9303b4109227808da027b8f4e%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825026944534071%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=1jlv9NSCtF%2F7xhBLWthHG4yqAVus5jHKlpdnihcHo8k%3D&reserved=0 or Androidhttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ce9be76f9303b4109227808da027b8f4e%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825026944534071%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=P6%2B4Shppi5BtFxmqYulvmZwyFOKR8d0PUV17Bfu1gY8%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

Weatherlights commented 2 years ago

Hey

you can check the the following registry key to see if your configuration is applied successfully: HKEY_CURRENT_USER\Software\Policies\weatherlights.com

Intune sometimes falsely reports that a setting is not applied (this has something to do with the "LineBreak" Formatting in the ADMX Template).

However: The error 1202 translates to ERROR_DEVICE_ALREADY_REMEMBERED (The local device name has a remembered connection to another network resource). For the start I would recommend you to disable MapPersistent (as a matter of fact you do not need it at all it is in there for legacy reasons). Afterwards I would recommend you to remove all existing network connections on your machine (or use a blank machine).

Also: Is there something else that maps drives on your machine (A script or anything) that could be in conflict?

Best Hauke

Weatherlights commented 2 years ago

Also check this guide here that has something nice ideas how to troubleshoot: https://appuals.com/how-to-fix-the-local-device-name-is-already-in-use-error-on-windows/

bpmarine commented 2 years ago

Thank you. The registry key is present. I have removed Map Persistent.

I have previously tried to map these drives using powershell scripts and https://www.anoopcnair.com/managing-network-drive-mappings-with-intune/ this guide.

There must be something left, though I have removed all Task Scheduler and registry keys I can find that seem relevant. Must have missed something.

I will try it on a clean machine when I get a chance.

From: Weatherlights @.> Sent: 10 March 2022 10:06 To: Weatherlights/Intune-Network-Drive-Mapping-Tool @.> Cc: Brandon Mason @.>; Author @.> Subject: Re: [Weatherlights/Intune-Network-Drive-Mapping-Tool] Drives not mapping but logs seem ok (Issue #2)

Also check this guide here that has something nice ideas how to troubleshoot: https://appuals.com/how-to-fix-the-local-device-name-is-already-in-use-error-on-windows/https://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fappuals.com%2Fhow-to-fix-the-local-device-name-is-already-in-use-error-on-windows%2F&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca5922b227d874efe9d6708da027da3b7%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825035882633417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=YZftAyuQMMtMjc%2BTtzCtUPAUaKCqluBGaKurWi%2FcC6o%3D&reserved=0

- Reply to this email directly, view it on GitHubhttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWeatherlights%2FIntune-Network-Drive-Mapping-Tool%2Fissues%2F2%23issuecomment-1063880471&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca5922b227d874efe9d6708da027da3b7%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825035882633417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vWvX5qUWZkduy03Q4CFIJR7ekeAyUpbOPk5Ae%2FEr44I%3D&reserved=0, or unsubscribehttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMX7NAE52Y4Y3ZC2KTPM7ELU7HCSDANCNFSM5P6CHPYA&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca5922b227d874efe9d6708da027da3b7%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825035882633417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=klHbRsZgHFSeDs3g8%2BR7kFtn5er0dhr1YsTgy%2FjsdzA%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca5922b227d874efe9d6708da027da3b7%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825035882633417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=BKPR335N18Ipg6TToDwq4zksH6joee7HZK8IVGCA%2Fxw%3D&reserved=0 or Androidhttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca5922b227d874efe9d6708da027da3b7%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825035882633417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=cW8rexeZgYV3rdz8fZWIcDW3u%2B48KJ%2B%2BHpMka3x%2BUUY%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

bpmarine commented 2 years ago

Success!

I checked HKEY_CURRENT_USER\Network for old drive mappings and had O and P listed. I deleted the registry keys, disabled and re-enabled the network, drives immediately mapped!

Thanks for your help, glad to report it's working. I really like the feature that checks multiple times for a connection and listens for change of network state. Really useful for mapping across my wireguard/netmaker setup.

Best regards Brandon

From: Brandon Mason Sent: 10 March 2022 10:21 To: Weatherlights/Intune-Network-Drive-Mapping-Tool @.>; Weatherlights/Intune-Network-Drive-Mapping-Tool @.> Cc: Author @.***> Subject: RE: [Weatherlights/Intune-Network-Drive-Mapping-Tool] Drives not mapping but logs seem ok (Issue #2)

Thank you. The registry key is present. I have removed Map Persistent.

I have previously tried to map these drives using powershell scripts and https://www.anoopcnair.com/managing-network-drive-mappings-with-intune/ this guide.

There must be something left, though I have removed all Task Scheduler and registry keys I can find that seem relevant. Must have missed something.

I will try it on a clean machine when I get a chance.

From: Weatherlights @.**@.>> Sent: 10 March 2022 10:06 To: Weatherlights/Intune-Network-Drive-Mapping-Tool @.**@.>> Cc: Brandon Mason @.**@.>>; Author @.**@.>> Subject: Re: [Weatherlights/Intune-Network-Drive-Mapping-Tool] Drives not mapping but logs seem ok (Issue #2)

Also check this guide here that has something nice ideas how to troubleshoot: https://appuals.com/how-to-fix-the-local-device-name-is-already-in-use-error-on-windows/https://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fappuals.com%2Fhow-to-fix-the-local-device-name-is-already-in-use-error-on-windows%2F&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca5922b227d874efe9d6708da027da3b7%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825035882633417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=YZftAyuQMMtMjc%2BTtzCtUPAUaKCqluBGaKurWi%2FcC6o%3D&reserved=0

- Reply to this email directly, view it on GitHubhttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWeatherlights%2FIntune-Network-Drive-Mapping-Tool%2Fissues%2F2%23issuecomment-1063880471&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca5922b227d874efe9d6708da027da3b7%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825035882633417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vWvX5qUWZkduy03Q4CFIJR7ekeAyUpbOPk5Ae%2FEr44I%3D&reserved=0, or unsubscribehttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMX7NAE52Y4Y3ZC2KTPM7ELU7HCSDANCNFSM5P6CHPYA&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca5922b227d874efe9d6708da027da3b7%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825035882633417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=klHbRsZgHFSeDs3g8%2BR7kFtn5er0dhr1YsTgy%2FjsdzA%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca5922b227d874efe9d6708da027da3b7%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825035882633417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=BKPR335N18Ipg6TToDwq4zksH6joee7HZK8IVGCA%2Fxw%3D&reserved=0 or Androidhttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7Ca5922b227d874efe9d6708da027da3b7%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825035882633417%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=cW8rexeZgYV3rdz8fZWIcDW3u%2B48KJ%2B%2BHpMka3x%2BUUY%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

Weatherlights commented 2 years ago

Ahhh nice that we got this one resolved :).

Well thank you very much for the feedback. If you like I really appreciate a nice comment in the Microsoft Store ;).

Thank you again and have a great day Hauke

bpmarine commented 1 year ago

Thanks Hauke

I certainly will do that. You too.

Best regards Brandon

From: Weatherlights @.> Sent: 10 March 2022 10:45 To: Weatherlights/Intune-Network-Drive-Mapping-Tool @.> Cc: Brandon Mason @.>; Author @.> Subject: Re: [Weatherlights/Intune-Network-Drive-Mapping-Tool] Drives not mapping but logs seem ok (Issue #2)

Ahhh nice that we got this one resolved :).

Well thank you very much for the feedback. If you like I really appreciate a nice comment in the Microsoft Store ;).

Thank you again and have a great day Hauke

- Reply to this email directly, view it on GitHubhttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWeatherlights%2FIntune-Network-Drive-Mapping-Tool%2Fissues%2F2%23issuecomment-1063914576&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7C99ac6d74057b42a3b20108da02830eb1%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825059152994191%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2B8eS0iPBDgOrY0DLjmWHMm%2FEDbf5khOJRoiHv1UnXKA%3D&reserved=0, or unsubscribehttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMX7NAFG3GELOB65RT4ZJETU7HHDRANCNFSM5P6CHPYA&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7C99ac6d74057b42a3b20108da02830eb1%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825059152994191%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Ep%2B%2BJFJfm2slEILDRuDbQO0Sr%2F0KXnBFgUGNuhczypQ%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7C99ac6d74057b42a3b20108da02830eb1%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825059152994191%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=BpE5%2BbHbdMlAItb3cYk9T8jFNza93wyv5AkXxTzE%2BkI%3D&reserved=0 or Androidhttps://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cbrandon.mason%40maritimearchaeology.co.uk%7C99ac6d74057b42a3b20108da02830eb1%7Ccc87074a34d3433b95980bc3a0fd6252%7C0%7C0%7C637825059152994191%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=NLvta%2FMcNvWyWu7gHTkbdyKjd0pSDJbEsIICe6GW1EA%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>