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 -
Windows Server

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

May 8, 2025 by AJNI No Comments

If you have an old fileserver name that you want to retain on your new server or simply would like to add a new name to your fileserver, these two lines of code might help you.

NETDOM COMPUTERNAME oldFileServerName /ADD newFileServer.contoso.local

ipconfig /registerdns

DNS CNAME is not needed, the computer account is going to add the entry in Windows DNS by itself.

References:

https://learn.microsoft.com/en-us/archive/blogs/josebda/multiple-names-for-one-computer-consolidate-your-smb-file-servers-without-breaking-unc-pathshttps://learn.microsoft.com/en-us/archive/blogs/josebda/multiple-names-for-one-computer-consolidate-your-smb-file-servers-without-breaking-unc-paths

Reading time: 1 min
Windows Server

Remove Azure Arc Setup on Server 2022

May 1, 2025 by AJNI No Comments

If you are annoyed by Azure Arc Setup icon, this command line will help you out.

Remove-WindowsCapability -online -Name AzureArcSetup~~~~

References:

https://learn.microsoft.com/en-us/archive/blogs/josebda/multiple-names-for-one-computer-consolidate-your-smb-file-servers-without-breaking-unc-paths

Reading time: 1 min
Windows Client OS•Windows Server

RDP freeze after login with Server 2025

April 24, 2025 by AJNI No Comments

Microsoft seems to add new bugs more than features to new Windows Server releases. If you are having a static picture after logon in Windows Server 2025, this GPO might help you. We do not really know why it happens, but this was a solution that worked for me.

Computer Configuration > Administrative Templates > Windows Components/Remote Desktop Services/Remote Desktop Session Host/Connections > Select network detection on the server > Use both Connect Time Detect and Continuous Network Detect

Some have suggested to set this configuration to “Turn off” but that did not help me out.

References:

https://www.reddit.com/r/sysadmin/comments/1irt8x3/rdp_issues_after_upgrading_to_server_2025/?rdt=55016

Reading time: 1 min
Windows Client OS•Windows Server

Find out which program deletes a file or folder with ProcMon

April 19, 2025 by AJNI No Comments

If you do not know which program or service is deleting your files or folders, ProcMon will help you do this. Firstly download it from http://live.sysinternals.com.

Once the program is executed add a new filter Operation is SetDispositionInformationFile

Afterwards add the file or folder that you want to monitor. Path contains FOLDERNAME. You can also insert the whole path to the folder. Afterwards hit ok.

Also, to avoid using a lot of ram, configure “Drop filtered events” in case ProcMon will run for some hours.

Now patiently wait until the event occurs. Enjoy!

References:

https://blog.zensoftware.co.uk/2013/03/06/support-queries-shared-using-process-monitor-to-see-when-files-are-being-deleted/

Reading time: 1 min
Windows Client OS•Windows Server

GPO/Registry to Disable Storage Sense (Windows 10/11, Server 2022 and 2025)

April 12, 2025 by AJNI No Comments

Storage Sense is a new feature that came with Windows 10 and tries to delete temp folders or unused OneDrive data. The feature is good but sometimes some programs, probably not that good designed programs create files in the user’s temp folder and do not function properly after those files get deleted by Storage Sense feature.

So in order to disable the feature, here are some registry keys and GPOs that might help you:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy
DWORD 04 Value 0

Group Policy:

Computer Configuration > Administrative Templates > System > Storage Sense > Allow Storage Sense Temporary Files cleanup and set to disabled.

References:

https://winaero.com/disable-storage-sense-delete-temporary-files-windows-10/

Reading time: 1 min
Page 1 of 291234»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 week 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