Windows 10 – User Profile Service Event ID 1534 Error

December 27, 2018

You might run into the User Profile Service Event ID 1534 Error.

Spamming your Event Viewer log, like this …

image

GUID refers to the tileobjserver and probably tiledatasvc.

It seems that tiledatasvc was removed in 1809 Upgrade. The removal of the Reg Keys is manual clean-up going forward.

 

Solution :

Open the registry and go to :

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileNotification\TDL

Check the GUID in the the CLSID Reg Key

 

image

Next go to :

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\ProfileNotification

 

image

 

Export these TLD Keys and next DELETE it.

Reboot the PC and check again.

 

Success !

Advertisements

Windows 10 – New SSD Disk use MBR or GPT Initialization ?

December 26, 2018

I’ve got hold of a new SamSung 860 EVO 1 TB SSD disk.

 

image

This disk is lightning fast up to 6 Gbps internal speed.

While this disk can be used to replace 2.5” internal disks.

 

You can buy a SATA III to USB connector, so you can use it as an external SSD HDD.

image

Once connected, you will need to go to the Disk Management

And you will see the unallocated disk of 1 TB SSD in my case.

image

It will bring up the popup to Initialize the Disk

You will need to choose between MBR or GPT ?

 

MBR is the old fashed Master Boot Record standard that dates back from the DOS ages.

So best choose the new GPT option that is also compatible with Linux and Apple… Winking smile

 

Success !


Windows Server 2016 – ServerEssentials DesignatedActiveDirectoryServerDown Event ID 1280 Error

December 20, 2018

After removing a DC and cleaning up the metadata I still got errors relating to DesignatedActiveDirectoryServerDown ?

I rechecked all settings and had still some references in the DNS.

But even after removing all of this it was still complaining ?

image

Solution :

Open the registry and go to :

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Server\ADContext

image

Key ConnectedDc was pointing to old DC server.

Correct the value and pointed the key to current  DC :

Correct the registry entry by overwriting with the proper value of the local server.

Restart the dashboard for the change to take effect.

Next go on searching for more references in the registry

image

https://support.microsoft.com/en-us/help/332199/domain-controllers-do-not-demote-gracefully-when-you-use-the-active-di

If there is an entry for Src Root Domain Srv, right-click the value and then click Delete.

This value must be deleted so that the domain controller sees itself as the only domain controller in the domain after promotion.

Remove these registry key

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\NTDS\Parameters\Src Root Domain Srv 
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\NTDS\Parameters\Src Root Domain Srv 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters\Src Root Domain Srv 
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\NTDS\Parameters\Src Srv objectGuid 
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\NTDS\Parameters\Src Srv objectGuid 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters\Src Srv objectGuid
Reboot the server and check again.

Enjoy!


Windows Server 2016 – Disk Event ID 153 Errors

December 18, 2018

I got a lot of Disk Errors Event ID 153 every day when using Windows Backup. Every day at the same time more or less.

image

Analysis :

First we need to find out which one is Disk 4 ?

Open the registry and go to : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\disk\Enum

 image

You will see that I had 4 Disk, of which the number 4 is a USB Memory card storage…

It will match up with the Server Manager Disks

image

Next start the Command Line using Admin Privileges

And run this command

set DEVMGR_SHOW_NONPRESENT_DEVICES=1

devmgmt.msc

image

Go to Portable Devices and see check the Drive letters

In my case it is G: drive ?

On the GENERAL tab you can read that the device is NOT ENABLED

image

Using WMIC to get more info on the Event ID PDO name Device\00000xxx ID

image

Use this command to get all drivers detailed information :

 

wmic /output:c:\temp\drivers.txt path Win32_PnPSignedDriver

And look for the device number in the column PDO

image

If you don’t find it, it means it is a STALE device that can be removed.

See here on how to…

Solution :

In our case we had to disable the INTERNAL SD Card Slot using the BIOS.

Use these steps on an HP server :

UEFI System Utilities and Shell Command Mobile Help for HPE ProLiant Gen9 Servers and HPE Synergy

Going to System Utilities – by pressing F9

Enabling or disabling the Internal SD Card Slot

Procedure :

1. From the System Utilities screen, select System Configuration > BIOS/Platform Configuration (RBSU) > System Options > USB Options > Internal SD Card Slot and press Enter.

2. Select a setting and press Enter:

a. Enabled—The server can access the internal SD card slot.

b. Disabled—The server cannot access the internal SD card slot.

3. Press F10.

Enjoy!


Windows Server 2016 – Remote Desktop TermDD Event ID 56 Error

December 18, 2018

On a Server running Remote Desktop Services you can encounter the TermDD Event ID 56 Error

image

Solution :

1. Open the Remote Desktop Session Host Configuration

2. Double click RDP-Tcp in the Connections block

image

3. Go to General tab change the Security layer pull down box from Negotiate to RDP Security Layer.

The issue is caused by the latest Security Update related to CredSSP encryption oracle remediation.

See here

Enjoy


Windows Server 2016 – Disk Signature Issues Event ID 58 & VDS Basic Provider Event ID 1 Error

December 12, 2018

On a Virtual Machine Host after doing a P2V. you can encounter the Event ID 58 & Event ID 1 Errors

image

Error Message :

“The disk signature of disk 5 is equal to the disk signature of disk 0.”

Use the Device Manager to see the Hidden Devices

image

Next download the DevNodeClean Utility

This will list all Orphaned Devices on your VM

Run this command :

devnodeclean /n

image

You will see many Registry Keys that WOULD BE removed, but are now only listed.

image

User the /r parameter to delete the registry key…

BE SURE you have always good backups to fall back on in case you need it !


Enjoy !!


Office 365 – Retrieve User Password Expiration Date

December 4, 2018

Sometimes it will be handy to scan your O365 User base on next Password Expiration Date.

This is done using PowerShell, like this.

First connect to your tenant and execute this script :

CLS

$cred = Get-Credential "your.credentials@company.com"

Connect-MsolService -Credential $cred

$domain = Get-MsolDomain | where {$_.IsDefault -eq $true}

$PasswordPolicy = Get-MsolPasswordPolicy -DomainName $domain.Name

$Account = "Account.ToCheck@company.com" # Change HERE !!

$UserPrincipal  = Get-MsolUser -UserPrincipalName $Account

$UserPrincipal | fl PasswordNeverExpires

$PasswordExpirationDate = $UserPrincipal.LastPasswordChangeTimestamp.AddDays($PasswordPolicy.ValidityPeriod)

Write-host "Password will Expire on : $PasswordExpirationDate"

$StartDate = (GET-DATE)
$DaysLeft = NEW-TIMESPAN -Start $StartDate -End $PasswordExpirationDate
$DaysLeft = [math]::Floor($DaysLeft.TotalDays)

Write-host "Password will Expire in # Days : $DaysLeft"

$UserPrincipal | select DisplayName, LastPasswordChangeTimeStamp,@{Name=”PasswordAge”;Expression={((Get-Date).ToUniversalTime())-$_.LastPasswordChangeTimeStamp}} | sort-object PasswordAge -desc

image

If you want to change the Password Policy to NEVER EXPIRE use this codereset

Set-MsolUser -UserPrincipalName $Account -PasswordNeverExpires $true

If you want to RESET the Password, use this code

Set-MsolUserPassword -UserPrincipalName $Account -NewPassword "PassWord"

Enjoy !