Tag Archives: Windows Tutorial

Windows Tutorial for operating systems are particularly common on personal computers and servers.

Search Indexing Repair on RDS Server 2019 2022

Windows Server 2019 users find that when searching in RDS, the search indexing on the terminal server do not work while searching in remote desktop and in Outlook.

Symptom

Windows Server 2019 users reported that searching in Remote Desktop on the Terminal Server and searching in Outlook doesn’t showing any search results. The status “Indexing is not running” is displayed in the indexing options.

Search Indexing Repair on RDS Server, Indexing Options
The status “Indexing is not running” is displayed in the indexing options.

After checking the search indexing service “services.msc”, it is shown that Windows Search is running on the RDS Server 2019. When trying to Rebuild the index under Advanced “Rebuild”, the indexing remains unsuccessful even after this action.

Cause

Starting with Windows Server 2019, Microsoft has made changes to the Windows Search service. The per-user search index is now enabled by default. This search indexing also applies to RDS and Windows Server 2022.

That’s why, as an administrator, you won’t see any locations under Indexing Options > Change > Show all locations.

Administrators can disable the setting and restore the older indexing method for Windows Server and RDS by using the EnablePerUserCatalog registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search
DWORD EnablePerUserCatalog 0

Solution: Search Indexing for RDS server

The traditional indexing option “per user search indexing” is restored with the following action.

To do this, open a command prompt on the windows server as an administrator and execute the following command to add the registry DRWOD key EnablePerUserCatalog with the value 0.

REG ADD "HKLM\SOFTWARE\Microsoft\Windows Search" /v "EnablePerUserCatalog" /t REG_DWORD /d "0" /f

Now restart the “Windows Search” service or Reboot the Windows Server.

Now all locations are displayed (such as Outlook and/or OneNote). In addition, the number of indexed items should increase significantly.

Search Indexing Repair on RDS Server 2019 2022

Note: In Indexing Options > Advanced, the locations of the index can be specified and Rebuild if necessary.

Windows Search Indexing in Server 2019, 2022 using Multi-Session

Now, the default Windows Search service is able to roam all Windows Search index data on a per-user basis. The most significant change of per-user search indexing is that the Windows Search index is now stored per user in the user profile, under the following path:

C:\Users\%Username%\AppData\Roaming\Microsoft\Search\Data\Applications{UserSID}{UserSID}.edb

On each login, the Windows Search process creates a new instance of the search database for the user based on the existing EDB. If no EDB file exists, a new one is created by the Operating System.

Enable Windows Search Service on RDS Server

Log in to the Windows Server 2019 or 2022 and launch the Server Manager. Click Manage and select Add Roles and Features. Select Role based or feature-based installation option and click Next, walk through until the Features page, select the Windows Search Service checkbox and click Next. On the Confirmation page, click Install.

Now the windows search service just needs to be started, this is done from services.msc, open windows search properties, select startup type Automatic (Delayed Start), then click the Start button.

Windows Search Properties on Windows Server 2019
Windows Search Properties on Windows Server 2019

Install Windows Search Service in PowerShell

Using PowerShell is probably the quickest way to install the Windows Search service on a server. Launch the PowerShell as administrator. Run the following PowerShell command to install the Windows Search service on Windows Server.

Install-WindowsFeature Search-Service

Open Windows Indexing Options

To access the indexing options, enter “indexing” in the search field.

Alternatively, you can press the key combination Windows-Logo+R.
A new “Run” window will then open. Type the command control srchadmin.dll and select OK.

Open Windows Indexing Options

Windows Search Indexing

Indexing is the process of looking at files, email messages, and other content on your PC and RDS Server and cataloging their information, such as the words and metadata in them. When you search your Computer after indexing, it looks at an index of terms to find results faster.

When you first run indexing, it can take up to a couple hours to complete. After that, indexing will run in the background on your PC or RDS Server as you use it, only re-indexing updated data.

Note. if you are considering using single user search roaming or multi-user search roaming, follow this Microsoft article.

Clock with seconds display in Windows 11

The clock in the Windows 11 taskbar at the bottom right does not display the seconds. Even clicking on the date and time does not show a clock. With these settings you get the time back with seconds display, without apps and without registry hacks.

Most users don’t need a second display in their daily work. However, at the latest when you as a system administrator want to check the exact time on your laptop or desktop. It would be helpful if there was a time display with seconds indicated somewhere on the desktop. What was easy in Windows 10 by clicking on the clock at the bottom right. Windows 11 leaves users without a second display; on the clock, the seconds indication is hidden by default.

Solution: Clock with seconds display in Windows 11

There is a way to get back the clock with seconds display so that a clock with a digital time including seconds can be show in Windows 11. And all without any additional software and without tricky registry tweak.

Clock with seconds display at the bottom right of the taskbar.

Clock with second in taskbar on Windows 11

To do this, open Settings and navigate to Personalization -> Taskbar -> Taskbar behaviors (at the very bottom), enable by click the checkbox “Show seconds in system tray clock” again at the very bottom.

The time with seconds is now displayed in the taskbar system tray.

Next, press the Windows key Windows and the R key samless on the keyboard to open the Run window.

timedate.cpl

In the Run window, enter the commandtimedate.cpland click OK

Here is a real-time clock with a moving seconds, as well as the digital time including seconds. You can set the date and time using the Change date and time button.

Clock with seconds display in system tray on Windows 11

Open the Additional Clocks tab and click Show this clock, select the desired time zone if necessary and enter a display name. You can also set a second time zone.

Clock with seconds display in Windows 11 taskbar system tray

By clicking on date and time at the bottom right of the taskbar system tray, the time will now be shown above the calendar.

Clock open with click date and time in system tray

Addendum

Hint. using several time websites on the Internet. The website https://time.is/ shows the real time including the seconds display. And not the one that is set on the computer, but the actual time in the time zone. The time web service informs you when the time set in the taskbar differs from the actual time.