Question

Difficulty: MediumApplication Installation and Configuration Concepts

A system administrator is preparing to deploy an in-house developed software utility to corporate Windows 11 desktop workstations. During pre-deployment testing, the installer prompts for elevated credentials via User Account Control (UAC) and completes successfully under an administrator account. However, when standard domain users launch the installed application from their desktops, the application immediately crashes with a file access permission violation when attempting to write temporary working files. Which of the following configuration changes should be made to resolve this issue while adhering to security best practices?

  1. Modify the application configuration so that temporary files are written to the logged-in user's %LOCALAPPDATA% folder rather than the application's Program Files directory.Answer
  2. B
    Grant the standard domain users group Full Control NTFS permissions on the application installation directory located inside Program Files.
  3. C
    Configure the application shortcut to execute using administrator privileges via the System applet in Control Panel.
  4. D
    Upgrade the client operating systems to Windows 11 Enterprise edition to enable administrative privilege inheritance for standard domain accounts.

Answer

Modify the application configuration so that temporary files are written to the logged-in user's %LOCALAPPDATA% folder rather than the application's Program Files directory.
The correct answer addresses the root cause of the permission violation. In modern Windows operating systems, standard user accounts have read and execute rights in the Program Files directory but are blocked from creating or modifying files there. Applications designed for standard users should store temporary data, logs, and user settings inside the user's profile directory (such as %LOCALAPPDATA%), where standard users naturally hold write permissions.

Step-by-Step Solution

1
Analyze the file permission model in Windows operating systems.
Identified that Program Files and Program Files (x86) are restricted system directories where standard users possess read/execute permissions but lack write permissions.
Windows uses default access control lists (ACLs) on system directories to prevent unprivileged users or malware from altering executable files.
2
Evaluate storage locations intended for user-specific dynamic data.
Determined that standard users have full write permissions within their personal profile paths (e.g., %USERPROFILE%\AppData\Local or %LOCALAPPDATA%).
Applications must separate global read-only binaries from per-user writable data to function under standard user privileges.
3
Select the resolution that aligns with security best practices.
Reconfiguring the application to direct temporary working files to %LOCALAPPDATA% solves the crash without relaxing system directory security controls.
Maintaining default NTFS permissions on system directories prevents security risks while enabling proper application execution.

Key Concept

Application Data Storage Locations and User Access Permissions
Rate this question