Lorky`s Blog - Techno ressources and general informations for everyone !

Note

All blog links are archived here.

Intune Map Network Drive

October 26, 2023, 1:07 pm technology

Hi everyone

Today I wanted to share a method to be able to map network drive from Intune / Endpoint Manager.

The method is useful if you are in a hybrid setup, where some ressource are in the cloud and some other on premise.

If you have azure ad sync with a domain controller and your cloud, the SSO will work out of the box with the mapping. A exception to the SSO, if your users use PIN with Windows HELLO you will have other integration to do.

To start please go download the drive mapping custom ADMX.

Download link from the author site | An alternative link from github

After that we need to import the ADMX into Intune.

Go into Device

image-5.png?w=150

Go into configuration profiles

image-6.png?w=585

Select the correct ADMX to be imported

image-7.png?w=804

After that we can now create our profile with the news settings

Create one here named Map Drive

image-19.png?w=778

There we set the settings we want;

image-20.png?w=575

We can see the settings the ADMX give us;

image-21.png?w=1024

After that it should work correctly to map when the device is located inside the datacenter :)

Continue Reading...

Hi everyone

Today I wanted to share a small tip if you got HHCTRL filling your event log like crazy.

image-8.png?w=900

image-9.png?w=731

Findind the culprit can be done, but in case it's know and it dont impact anything you can disable the event log for the event that way with these registries key;

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\HTMLHelp\1.x\HHRestrictions
MaxAllowedZone = 00000001 (DWORD)
EnableNonInteractiveUser = 00000001 (DWORD)
EnableFrameNavigationInSafeMode = 00000001 (DWORD)

and

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions
MaxAllowedZone = 00000001 (DWORD)
EnableNonInteractiveUser = 00000001 (DWORD)
EnableFrameNavigationInSafeMode = 00000001 (DWORD)

That should do the tip to remove those entry as it can block other good information to appear easilly.

Continue Reading...

Hi everyone !

Today I wanted to share a small tip if you migrate some file share to sharepoint online as it's a essential part to migrate full cloud.

In the migration wizard as seen here; you could hit some warning that some files use incorrect filenames.

image-7.png?w=667

image-2.png?w=826

The migration wizard got some file that it does not like, aka;

Thumb.db's file or temporary Office's file, ~\$'s file prefix.

The command issued for your file share; Get-ChildItem -Path '\\server\path' -Filter '~\$*' -Recurse would give you a good idea what it can find.

A dir /s like that would work too;

image.png?w=97

If you download the analyse's log you will get log entries with that error code;

image-5.png?w=215

An easy fix if you don't want to migrate those filename is to replace in batch; like that way;

image-4.png?w=792

Get-ChildItem -Path 'z:\' -Filter '~\$*' -Recurse | Rename-Item -NewName { \$_.Name -replace '~\$', ' ' }

The option are too cna help in the batch migration advanced's option;

image-6.png?w=580

Some good information for regex in case you have other files that need updating in batch;

https://megamorf.gitlab.io/cheat-sheets/powershell-regex/

http://regexstorm.net/tester

Thanks everyone

Continue Reading...

Hi everyone !

Today I wanted to hare a small tip as it hit me today, and it made me loose so much time.

After a manual installation from an user, the problem I had for that user was

  • The Citrix Storefront published application refused to launch
  • No sign of life from a double click on a .ICA file
  • The reset of it's parameters change nothing, it still refuse to act

To diagnose the issue I went to the computer uninstalled the workspace, and reinstalled, still the same error of nothing happening, after a while I try one last option, right-click on the .msi and select to run as an admin.

Voila, the setup ask me even a question he was not asking me before. The UAC never prompted on the user credential and no error either.

The moral of the story, the workspace really work better when installed as a system account / run as admin.

As you can see below the receiver support to be installed as an user;

image-3.png?w=898

but the result is really not the same !

Continue Reading...

Hi everyone !

Today with the venue of more secure authentification method I still see user that does not configurer 2FA's method, or loose their identity inside the authentificator app way to easily..

I wanted to share the small tip to configure a simple backup of your credential, so if you wipe your phone it's really easy to come back from that in the auth app.

As such the key point if to select to create a backup copy;

In the Android app;

image-1.png?w=369

In the Apple app;

image.png?w=366

The key point to remember is when you reinstall the application, it must be empty of account, and you need to select the restore option !

image-2.png?w=371

Thanks everyone, it's all, it's just a small tip, and as you can see it's really easy to recover.

So reference text; Change your two-step verification method and settings and Back up and recover account credentials in the Authenticator app

Continue Reading...