Home Applications The last write wins – NO, it does not, we do!

The last write wins – NO, it does not, we do!

The last write wins – NO, it does not, we do!

Last week I published a blog post around ProfileUnity named: The future looks bright for User Environment and Workspace Management, which, looking at the numbers was very well received – if you’ve missed it you can find it here. Today I’d like to focus on a more specific, and well-known issue that has been with us for many years and does tend to cause some headaches from time to time: the last write wins. Again, this will underline the power and flexibility that ProfileUnity brings to the table.

Last write wins, you say?

If you have been I IT for some time you’ve probably come across the last write wins’ ‘challenge’ once or twice. Before we head over to how ProfileUnity can help, I’ll start with a brief explanation.

During user logon, the user profile is copied down to the local machine the user is logging on to, this will include a file named NTUSER.DAT. The NTUSER.DAT contains the user’s registry settings (HKCU) which are unique for every user. Among other things, it will hold the users’ personal application settings.

According to Microsoft, the NTUSER.DAT is a “central hierarchical database” that contains information about the software, hardware and user profiles contained on a computer.

If we take traditional Roaming Profiles as an example, when a user logs off the NTUSER.DAT file will be copied back to a central file share, from where it was loaded to begin with. If during the session, the user has made any changes to its profile, the existing NTUSER.DAT file will be overwritten (timestamps are compared). Something, which under ‘normal’ circumstances is what we want to happen, otherwise we would lose the changes made. When a so-called mandatory profile is used this doesn’t apply since all users will share the same NTUSER.DAT, renamed to NTUSER.MAN. Nothing is written back to the network share.

What happens

However, the problem with the NTUSER.DAT is that it is seen and treated (by the Operating System) a single file, while it holds settings for all our individual user/application settings. Since the NTUSER.DAT (almost) always changes, it will (almost) always be overwritten on logoff, as highlighted above as well. When a user has multiple sessions on multiple machines, the user’s profile will also be loaded at least twice. If changes are made in both sessions, let’s call them session 1 and 2, one will eventually overwrite the other.

Read the entire article here, The last write wins – NO, it does not, we do! | Liquidware Blog

Via the fine folks at Liquidware.

Liquidware Liquidware™ provides industry leading platform-agnostic desktop solutions for hybrid Windows desktop environments including Citrix® XenApp/XenDesktop, VMware Horizon View®, Amazon WorkSpaces and physical Microsoft® Windows PCs. The company’s Stratusphere solution delivers visibility into desktop environments and supports assessment, design, monitoring and diagnostics (Health Checks). ProfileUnity provides just in time delivery of User Profiles, application and user rights management and context-aware policies. FlexApp delivers advanced Application Layering. The solutions are available in an extremely cost-effectively priced bundle called Liquidware Essentials. Liquidware products are Citrix Ready, VMware-certified, and are available through a global network of partners.

Featured Resources:

Related Articles:


White Papers

    Application Lifecycle Management with Stratusphere UX – White Paper

    Enterprises today are faced with many challenges, and among those at the top of the list is the struggle surrounding the design, deployment, management and operations that support desktop applications. The demand for applications is increasing at an exponential rate, and organizations are being forced to consider platforms beyond physical, virtual and cloud-based environments. Users […]


      Download Commvault VM Backup and Recovery: end-to-end VM backup, recovery and cloud management

      Commvault’s ability to provide end-to-end VM backup, recovery and cloud management creates a significantly better way to build, protect and optimize VMs throughout their lifecycle. Our best-in-class software for VM backup, recovery and cloud management delivers a number of significant benefits, including: VM recovery with live recovery options; backup to and in the cloud; custom-fit […]

      On-Demand Webinars

        What’s Going on in EUC Printing – A Technical Deep Dive!

        The IGEL Community and ThinPrint invite you to watch the following technical deep dive webinar. The agenda is to technically bring you up to speed on what’s going on in the EUC Printing space today along with a deep dive into new methods, technologies, printing scenarios and a discussion on why printing still matters. You […]

        Latest Videos

          Views All IT News on DABCC.com
          Views All IT Videos on DABCC.com
          Win big $$, visit ITBaller.com for more info!

          Visit Our Sponsors