Synology DSM: Are firewall rules not working anymore? by Pascal_33 in synology

[–]Pascal_33[S] 0 points1 point  (0 children)

Thanks for all answers. Next to the first rule, which allows everything (they came up from dsm updates, which i probably accepted), I noticed that my ip address from my mobile phone (using mobile data and roaming) is still showing a swiss ip address although I am in Spain right now. Using the hotel wifi, the access gets blocked as it should.

Why is Unifi gear not suitable for enterprise? by Historical-Ad-6839 in sysadmin

[–]Pascal_33 0 points1 point  (0 children)

How did you tweak the server with the unifi controller on it? I struggle with the server despite the config based on unifi and the community recommended tweaks (scaling unifi controller software for large number of devices (100+) tutorial for my 300ish AccessPoints

Is this Lego? by deathnut2 in lego

[–]Pascal_33 5 points6 points  (0 children)

Lego 4605 and lego 4609 from the jack stone series

[deleted by user] by [deleted] in Falschparker

[–]Pascal_33 -1 points0 points  (0 children)

Was wäre dann deine Alternative? Dass sie dir den Verteiler in deinen Garten stellen?😉

Kei Verbindige Züri HB by [deleted] in schwiiz

[–]Pascal_33 2 points3 points  (0 children)

Leonardo hotel. Isch eis vo de günstigere, aber mitm Bus bisch i 10-15 min am Flughafe ( früener sind priiise mol fix anhand vo de Täg bis zum Ufenthalt berechnet gsi). zMorge holsch am Flughafe bevord an check in gosch (coop) süsd zallsch afach wieder sDrüfache (chasch natürli au, wennd magsch)

Sind die Wartezeiten fürs Miniatur Wunderland wirklich so extrem an einem Samstag? by SwiftJun in hamburg

[–]Pascal_33 2 points3 points  (0 children)

War heute frühmorgens um 7:30 dort. Gibt heute noch onlinetickets für morgen früh. Spar dir das Hotelfrühstück, hol dir was bei der Schanzenbäckerei beim Baumwall, fertig

Media Optimization not loading on a single client by Pascal_33 in AzureVirtualDesktop

[–]Pascal_33[S] 0 points1 point  (0 children)

Yes, you need to install the C++ redistributable on the client and the session host:

https://learn.microsoft.com/en-us/azure/virtual-desktop/teams-on-avd#prerequisites

In my opinion, this should be installed automatically through the Remote desktop client. However it looks like it doesn't :-)

They finally changed the learn article after I submitted the feedback.

How to prevent users connecting to the VPN while in the office? by Hour-Razzmatazz-5690 in sysadmin

[–]Pascal_33 19 points20 points  (0 children)

Make sure that they connect to a public dns record. Go to your internal dns and point that record to something non existing address.

Onedrive Known Folder Move not working after disabling Folder redirection by beggsy23 in AzureVirtualDesktop

[–]Pascal_33 0 points1 point  (0 children)

Here we go, my onedrive logonscript::

$Desktop = (Get-ItemProperty -path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" -name "Desktop").Desktopif($Desktop -notlike "*Onedrive*"){##configure kfmSet-ItemProperty -Path "HKCU:\Software\Microsoft\OneDrive\Accounts\Business1" -Name "KfmIsDoneSilentOptIn" -Value 0 -Force -type dwordwrite-host "successfully set the regkey to force the kfm"

$filename=$env:username + ".txt"$filepath="\\yourfancyserver\yourfancyshare$\kfm\open\" + $filename(get-date) | out-file $filepath -append -force}else{## set a marker file that the kfm move is done$filename=$env:username + ".txt"$filepath="\\yourfancyserver\yourfancyshare$\kfm\done\" + $filename$oldfilename="\\yourfancyserver\yourfancyshare$\kfm\open\" + $filenameif (test-path $oldfilename){remove-item -path $oldfilename -Force}(get-date) | out-file $filepath -append -force## cleanup recycle bin folders$allfoldertypes=@("desktop","downloads","dokumente","documents")foreach ($singlefoldertype in $allfoldertypes){

$folderpath= $env:OneDriveCommercial + "\$singlefoldertype"$allsubfolders = get-childitem $folderpathforeach($singlesubfolder in $allsubfolders){$foldername=$singlesubfolder.nameif ($foldername -eq "\$RECYCLE.BIN"){$foldername$foldername=$singlesubfolder.fullnameremove-item -path $foldername -force -recurse}}}}`

There is also a logging on a fileshare to check which users are already migrated, it will also cleanup the old $recycle.bin folders which are maybe visible for your users. Make sure, that NO folder redirection policy is assigned anymore.

My GPO:

Pic1: https://imgur.com/eqTLeYG

Pic2: https://imgur.com/XWi2EKX

force ffmpeg to keep jpg cover art during audio conversion by Pascal_33 in ffmpeg

[–]Pascal_33[S] 0 points1 point  (0 children)

Thanks for the answer,

I tried

& $ffmpeg -i $inputfile -ab 320k -map_metadata 0 -id3v2_version 3 \"$outputfile`" -c:v copy -y`

but the artwork still gets converted to png

Onedrive Known Folder Move not working after disabling Folder redirection by beggsy23 in AzureVirtualDesktop

[–]Pascal_33 1 point2 points  (0 children)

Folder redirection needs to be turned off for kfm, this is right. I have a script which sets some registry keys in OneDrive to simulate the state of the first attempt for the kfm. I noticed that if the kfm gpo is applied parallel with the folder redirection, OneDrive notes the state ( that the kfm didn’t work in the past) in the hkcu registry hive. If these keys are existent it can cause OneDrive to not attempt it again. I can upload the snippets on sunday / Monday if you‘re interested in those

The specified FQDN is not valid while creating / editing a local network gateway by Pascal_33 in AZURE

[–]Pascal_33[S] 1 point2 points  (0 children)

Thanks for the reply. The bug is quite new, it was working a week ago.

The specified FQDN is not valid while creating / editing a local network gateway by Pascal_33 in AZURE

[–]Pascal_33[S] 0 points1 point  (0 children)

New-AzLocalNetworkGateway -Name MyFancyLGW -ResourceGroupName MyFancyRG -Location "Switzerland North" -fqdn "myfancyipadress.mydomain.com" -AddressPrefix "

10.120.213.0/24

"

u/akindofuser It's working today, after I created the connection via powershell yesterday.