Mapped drives set in Windows 7, 8, or 10 are missing in Sage 100
Products
Sage 100
Country
North America
Description
Mapped drives are not available when selecting a drive path in Sage 100, though UNC path works – when running the Sage 100 shortcut with “Run as Administrator” enabled and User Account Control is active in Windows 7, 8, or 10
Example: In Visual Integrator, choosing Export file or Import source file, or when doing an Export when printing, the mapped drives do not appear as a selection choice. Use the NET USE command to resolve.
Disclaimer
Operating System Warning
This solution requires advanced knowledge of your computer’s operating system. Contact your system administrator for assistance. Modifying your Windows Registry incorrectly can severely affect system operations. Sage is not responsible for operation issues caused by incorrectly modifying your Windows Registry. Always create a backup of your data before proceeding with advanced solutions.
Cause
This problem occurs because User Account Control treats members of the Administrators group as standard users (see Microsoft article link under Additional Information)
When a member of the Administrators group logs on to a Windows Vista-based and newer computer that has User Account Control enabled, the user runs as a standard user. Standard users are members of the Users group. If you are a member of the Administrators group and if you want to perform a task that requires a full administrator access token, User Account Control prompts you for approval. For example, you are prompted if you try to edit security policies on the computer. If you click Allow in the User Account Control dialog box, you can then complete the administrative task by using the full administrator access token.
When an administrator logs on to Windows Vista or newer, the Local Security Authority (LSA) creates two access tokens. If LSA is notified that the user is a member of the Administrators group, LSA creates the second logon that has the administrator rights removed (filtered). This filtered access token is used to start the user’s desktop. Applications can use the full administrator access token if the administrator user clicks Allow in a User Account Control dialog box.
If a user is logged on to Windows Vista or newer, and if User Account Control is enabled, a program that uses the user’s filtered access token and a program that uses the user’s full administrator access token can run at the same time. Because LSA created the access tokens during two separate logon sessions, the access tokens contain separate logon IDs.
When network shares are mapped, they are linked to the current logon session for the current process access token. This means that, if a user uses the command prompt (Cmd.exe) together with the filtered access token to map a network share, the network share is not mapped for processes that run with the full administrator access token.
Resolution
- Consider deselecting (unchecking) the “Run as Administrator” setting for the shortcut used to launch Sage 100
- Right-click the shortcut used to launch Sage 100
- Select Properties from the right-click menu
- Select Compatibility tab
- Deselect (un-check) the check box Run this program as an administrator.
- Note: If multiple users access this workstation, select Change Setting for all users
- Click OK to save changes
- Consider deselecting (unchecking) the “Run as Administrator” setting for the shortcut used to launch Sage 100
- Disable User Account Control settings (set to “Never Notify”) in Windows 8 or Windows 10
- Consider adding the mapped drive to Local Administrator profile using NET USE command (doing this may allow you to still make use of/enable/check the “Run as Administrator” setting):
- 1. Open an Administrator Command Prompt
- Click the Windows Start button
- In the Search or Run field, enter: CMD
- Right-click on Command Prompt
- Select “Run as Administrator”
- 2. Type: Net Use X:
- Example: Net Use M: \\Servername\sharepoint\
- Note: Never map directly into the “MAS90” directory. Map to a directory above it.
- 1. Open an Administrator Command Prompt
Support
If necessary, seek the assistance of Acute Data Systems to help provide assistance with this process.