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

Important

To filter the blog, please use theses tag:
General news. Website related post website. parental-control about technology. technology post.

Note

All blog links are archived here.

Hi everyone

Today I wanted to share a tip, as if I read reddit or ui's forum it seem a really complex task to change a WAN IP.

After multiple error and guess I now found the correct solution for that.

First we log locally if we can.

After we need to remove the NAT'ing definition for the public IP we will change; to set none

image-11.png?w=1024

If we have multiple network, it's to be done for all of them, as seen below I have two to change;

image-13.png?w=1024

If we forget that step the unifi will complaint about the IP being used in the Default network.

After we pause all Site-to-Site VPN.

If we forget that step the unifi will complain that it can't change the gateway.

After all those steps, now we can change the public IP :)

image-10.png?w=764

Continue Reading...

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...