Modern accounting and taxation software often relies on legacy runtime components, Windows compatibility settings, registry access, and application-specific initialization methods. During a server storage migration, even when all files and NTFS permissions are copied successfully, certain applications may behave differently for specific users.
This article presents a real-world technical case study involving a Windows Server 2019 Remote Desktop Services (RDS) environment where only a few users encountered Runtime Error 91 while launching Genius software after migrating data from one hard drive to another. User names, group names, and system identifiers have been changed to protect privacy.
The organization upgraded its storage by replacing an older hard drive with a faster SSD.
The migration included:
Robocopy was used with security-preserving switches to ensure the new drive matched the original installation.
Initially everything appeared normal.
After two to three days, a few users reported that Genius would no longer start.
Only selected users experienced the issue while most users continued working normally.
Error displayed:
Run-time error '91'Object variable or With block variable not set
Later another affected user also reported:
Runtime Error 216
Several possible causes were considered.
Application folders were checked using:
icacls "D:\Application Folder"
Results confirmed:
No issues were identified.
Affected users belonged to custom departmental groups.
Working users and affected users were compared using:
whoami /groups
Both contained:
Only additional departmental groups differed.
Since many users in those same groups worked correctly, group membership was ruled out.
An affected user was temporarily added to:
Administrators
After logging off and back in:
This confirmed that simply belonging to the Administrators group was not the solution.
Next, Genius was started using:
Right Click
→ Run as administrator
The application opened successfully.
This proved:
The executable properties were examined.
Properties
→ Compatibility
One setting immediately stood out.
✔ Run this program as an administrator
After enabling this option for the affected user:
Although all application files and permissions had been migrated successfully, Windows was launching the executable differently for certain user profiles.
Enabling:
Run this program as an administrator
forced Windows to always start the application using an elevated administrator token.
This bypassed the initialization failure responsible for Runtime Error 91.
This is common with legacy desktop applications.
Possible reasons include:
Since only a few users experienced the problem, the issue was not related to installation files themselves.
During application migrations:
Never assume:
Always verify:
✔ Verify NTFS permissions
✔ Compare working and affected users
✔ Test application using Run as administrator
✔ Check Compatibility settings
✔ Verify registry access
✔ Compare group memberships
✔ Review recent storage migration
✔ Keep old drive available until testing completes
✔ Backup original application folder
✔ Contact software vendor before reinstalling
This case demonstrates that application issues after a storage migration are not always caused by missing files or incorrect permissions. Legacy desktop software may depend on elevated execution or user-specific initialization behavior.
By following a structured troubleshooting process—verifying permissions, comparing user environments, testing elevated execution, and checking compatibility settings—the issue was resolved without reinstalling Windows or restoring the original drive.
Keeping a backup of the original application installation until the environment is fully validated remains one of the most valuable safeguards during any server migration project.
#WindowsServer #WindowsServer2019 #RDS #RemoteDesktopServices #ServerAdministration #SystemAdministrator #ITSupport #TechnicalSupport #WindowsTroubleshooting #RuntimeError91 #RuntimeError216 #GeniusSoftware #AccountingSoftware #LegacySoftware #SoftwareMigration #HDDtoSSD #StorageMigration #Robocopy #NTFS #Permissions #ICACLS #WindowsSecurity #UAC #RunAsAdministrator #CompatibilityMode #WindowsCompatibility #Registry #ApplicationError #SoftwareRepair #ServerMigration #EnterpriseIT #WindowsAdmin #BusinessSoftware #DataMigration #FilePermissions #Infrastructure #ServerMaintenance #ITInfrastructure #SystemMigration #TechSupport #WindowsTips #ITCaseStudy #SoftwareSupport #MigrationProject #BackupStrategy #StorageUpgrade #ApplicationSupport #WindowsManagement #DesktopApplications #EnterpriseComputing