Friday, January 24, 2025

Useful options for triggering intune sync

 

$Shell = New-Object -ComObject Shell.Application
$Shell.open("intunemanagementextension://syncapp")

also 

Issue a restart for the Microsoft Intune Management Extension windows service.

 https://oliverkieselbach.com/2020/11/03/triggering-intune-management-extension-ime-sync/

Monday, January 20, 2025

Windows OS updates can cause the start menu to stop responding on Citrix systems.

 

Start menu may stop responding if KB5048685 installed on Windows 11 22H2/23H2 VDA

Windows OS system update removal

 

use this command to locate the suspect package name

DISM /online /Get-Packages 

identify the target package from the listed output then use this command to remove it

DISM /online /Remove-Package /PackageName:<PackageName(Identity)>


Thursday, November 14, 2024

Determine the local machine domain joined status

 

dsregcmd /status


Checks if machine is AADJoined etc

Thursday, October 24, 2024

Delete stored wifi networks from command line

 

Delete stored wifi networks from command line:

netsh wlan delete profile name=* i=*


quickie command to return the serial number (pre Windows 11 24H2)

wmic bios get serialnumber

Update:

C:\Windows\System\wbem\wmic.exe  has been removed from Windows 11 24H2.

Powershell command Windows 11 24H2 and older

get-wmiobject -namespace root/CIMV2 -class Win32_bios | select -expand SerialNumber

Thursday, September 21, 2023

Unexpected Domain Account lockouts

 

Domain Accounts can get locked out if the account password is changed but a previous logon to a box somewhere remains.

To locate the box which still has a logon, logon to a domain controller and filter the security log for events IDs 4740.  Account lockout events will reveal which computer has a logon which is causing the lockout.

Diagnosing Account Lockout in Active Directory | Netsurion