Home
Microsoft 365
Linux
Windows
Powershell
Cloud Computing
    Citrix Xendesktop
    Citrix XenApp
Useful links
About
  • Home
  • Microsoft 365
  • Linux
  • Windows
  • Powershell
  • Cloud Computing
    • Citrix Xendesktop
    • Citrix XenApp
  • Useful links
  • About
ajni.IT -
Azure•Cloud Computing•Windows Server

Cannot Entra ID Join / Azure AD Join Computer error 8018000a

October 16, 2024 by AJNI No Comments

Having issue Azure AD joining a Windows 10 or 11 computer and getting error 8018000a? This script might help you. It deletes all keys except Context under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Enrollments

$EnrollmentsPath = “HKLM:\SOFTWARE\Microsoft\Enrollments\”
$Enrollments = Get-ChildItem -Path $EnrollmentsPath
$DiscoveryServerFullUrls = @(“https://wip.mam.manage.microsoft.com/Enroll”)
Foreach ($Enrollment in $Enrollments) {
$EnrollmentObject = Get-ItemProperty Registry::$Enrollment
if ($EnrollmentObject.”DiscoveryServiceFullURL” -in $DiscoveryServerFullUrls ) {
$EnrollmentPath = $EnrollmentsPath + $EnrollmentObject.”PSChildName”
Remove-Item -Path $EnrollmentPath -Recurse
& “C:\Windows\System32\deviceenroller.exe /c /AutoEnrollMDM”
}
}

References:

https://jocha.se/blog/tech/azure-ad-mdm-intune-error-8018000a

Reading time: 1 min
Azure•Cloud Computing•Windows Server

Exchange Online Restore a deleted User with Entra Connect/Sync

October 9, 2024 by AJNI No Comments

If you have deleted a user in Exchange Online that is synced from onprem and you need to restore it, you might not want to re-sync the local user. In that case you can restore the deleted user directly in Exchange Online and make a cloud only user.

Get the deleted mailbox by name and Exchange GUI:

Get-Mailbox -SoftDeletedMailbox | Select-Object Name,ExchangeGuid

Create a new cloud only user or shared mailbox and run this command:

Get-Mailbox -Identity <NameOrAliasOfNewTargetMailbox> | Format-List ExchangeGuid

Restore the deleted mailbox/user into the newly created cloud user:

New-MailboxRestoreRequest -SourceMailbox <SoftDeletedMailboxGUID> -TargetMailbox <NewTargetMailboxGUID> –AllowLegacyDNMismatch

References:

https://learn.microsoft.com/en-us/exchange/recipients-in-exchange-online/delete-or-restore-mailboxes

Reading time: 1 min
Citrix XenApp•Citrix Xendesktop•Hyper-V•VDI•VMware•Windows Server

Citrix Workspace App Session freeze and high response time

October 2, 2024 by AJNI No Comments

If you are having issues with some users having freeze issues and high response time in Citrix Director, this registry key might help you. It happens in conjunction with dedicated GPUs on notebooks. The key disabled GPU acceleration for Citrix Workspace App.

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Citrix\ICA Client\Graphics Engine] “HWacceleration”=dword:00000000

References:

https://support.citrix.com/s/article/CTX297140-screen-freezes-and-takes-a-few-seconds-to-return-to-normal-apps-also-flicker-when-open?language=en_US

Reading time: 1 min
Windows Client OS•Windows Server

Packet Capture in Windows without Wireshark

September 25, 2024 by AJNI No Comments

If you need to perform a packet capture under Windows without having to install Wireshark, here are some netsh commands:

netsh trace start capture=yes tracefile=c:\net.etl persistent=yes maxsize=4096 filemode=circular overwrite=yes report=no

When you are done with your capture do:

netsh trace stop

This will take some time.

You will see the files under C:\net.etl and net.cab

Reading time: 1 min
Citrix XenApp•Citrix Xendesktop•VDI

Citrix Netscaler Authentication with nFactor AAA

July 6, 2024 by AJNI No Comments

Classic Authentication Schemes will soon be deprecated in Citrix Netscaler and should be replaced with nFactor AAA.

Here is a quick tutorial on how to configure nFactor Authentication.

Security > AAA Application Traffic > Policies > Authentication > Basic Policies > RADIUS

Select Servers > Add

Name RADIUS_Server

Server IP xxxx

Secret

Also test the radius reachability

Security > AAA Application Traffic > Policies > Authentication > Basic Policies > LDAP

Select Servers > Add

Fill in all the information that apply to your domain

Security > AAA – Application Traffic, Policies, Authentication, Advanced Policies > Policy. Then, click “Add”

Do the same thing for RADIUS

Create AAA virtual server

Configuration > Security > AAA – Application Traffic > Virtual Servers

Import private certificate and root cert

Click on “No Authentication Policy”

Select Policy LDAP_Pol

Click on Select next to “Next Factor”

Add an authentication policy label

Continue

Policy Binding > Select RADIUS_Pol

Goto Expression > Select END and BIND the authentication Policy Label

Done

BIND

Continue

Add a login schema on the right side

Select “No Login Schema”

Select Policy

Bind and Done

Add nFactor to the Gateway virtual server

Citrix Gateway > Virtual Servers > select VIP > Add Authentication Profile on the right

Create > Ok > Done

If you get this error after logging in, you have to enable SSO on the Authentication Template

Go to Security > AAA Application Traffic > Login Schema > lschema_dual_factor_builtin > … Edit

Edit the profile again

Click on the pencil

> More > Check Enable Single Sign On Credentials > OK > OK

References:

https://community.citrix.com/tech-zone/build/deployment-guides/gateway-mfa/#_=_

Reading time: 1 min
Page 5 of 29« First...«4567»1020...Last »

Like what you are reading? Buy me a coffee.

Tip Of the Day

  • Add Alias to Windows Fileserver (Server 2019, 2022, 2025)

    1 month ago

Keep in touch

Oh hi there!
It’s nice to meet you.

Sign up to receive awesome content in your inbox, every month.

Check your inbox or spam folder to confirm your subscription.

Categories

  • AI & Deep Learning (1)
  • Azure (20)
  • Citrix XenApp (21)
  • Citrix Xendesktop (13)
  • Cloud Computing (40)
  • Coding (1)
  • Hyper-V (10)
  • Linux (8)
  • Microsoft 365 (26)
  • Powershell (21)
  • Security (7)
  • VDI (16)
  • Virtualization (21)
  • VMware (12)
  • Windows (21)
  • Windows Client OS (39)
  • Windows Server (92)

Archives

  • May 2025
  • April 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • April 2023
  • March 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • December 2020
  • November 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019

ajni IT © 2019