Skip to main content

Notifications

Microsoft Dynamics SL (Archived)

ParentDirectory and INSTALLDIR Registry Entries being borked - Solved

Posted on by Microsoft Employee

I have also noticed that when applying hotfixes the installer clears the ParentDirectory and INSTALLDIR Registry Entries and then the MSDynamicsSL.exe fails to launch leaving behind a few windows event log messages about an app crash. I have only noticed this on Windows 8/8.1/10. I finally figured out how to avoid these registry entries from being cleared by creating a registry entry called EnableLinkConnections. This relates to a change in UAC in Windows 8/8.1/10. In previous versions of Windows if you disable UAC you can access mapped drives when running with elevated privileges, i.e. when run as administrator. In Windows 8/8.1/10, if you disable UAC, any drives mapped by the logged on user are not available when running a program with elevated privileges. You can verify by running command prompt and command prompt (admin) side by side.  I have done some testing with HF for Bug 36193. When run on  Windows 8/8.1/10 the installer runs with elevated privileges and when it is done SL will not launch. Checking the registry entries for ParentDirectory and INSTALLDIR shows they have been cleared. You can reset the ParentDirectory and INSTALLDIR Registry Entries and reinstall the hotfix to replicate the issue.  Setting the EnableLinkedConnections to 1 and rebooting and then installing the same hotfix installs without clearing the ParentDirectory and INSTALLDIR Registry Entries.

To configure the EnableLinkedConnections registry value

  1. Click Start, type regedit in the Start programs and files box, and then press ENTER.

  2. Locate and then right-click the registry subkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System.

  3. Point to New, and then click DWORD Value.

  4. Type EnableLinkedConnections, and then press ENTER.

  5. Right-click EnableLinkedConnections, and then click Modify.

  6. In the Value data box, type 1, and then click OK.

  7. Exit Registry Editor, and then restart the computer.

https://technet.microsoft.com/en-us/library/ee844140(v=ws.10).aspx

Be aware there is a hotfix for Windows 8/8.1 if you are running this. 

Just wanted to share what I have discovered and hope it helps. 

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans