How do I run Allegiance without administrator rights?
For some security reasons, some users want to work without administrator rights. This is a short HowTo, how you make Allegiance work without administrator rights.
Note This HowTo is only tested under Windows XP Professional, Windows Vista Home Premium (64 bit) and Windows 7 Professional (64 bit), but it should also work with any other version Windows XP, Vista and Windows 7. Screenshots were taken in Windows XP.
Step 1: NTFS rights
Allegiance needs to be installed on the system drive, but by default a normal user has no write rights on it (excluding My Documents). Allegiance and ASGS do need these rights, so you will need to change the NTFS rights of your Allegiance folder.
- Navigate to the folder you installed Allegiance in.
- Go up one folder.
- Right click that folder and open Properties.
- Switch to the Security tab and click on Advanced.
- In the Permissions tab, uncheck the Allow inheritable permissions from the parent box.
- Choose Copy in the dialog that pops up.
- Click Close in the Advanced Security dialog and return to the Security tab.
- Pick the Users group from the upper list.
- Under the Allow column, click on the Modify and Write checkboxes.
- Save the changes with Ok and close all the windows.
Step 2: Registry
Allegiance and ASGS save data in the registry, but the default user has no rights to edit these keys. We will need to also grant those permissions.
- Choose Run... from the Start menu.
- Input "regedit" and hit Enter.
- Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games\Allegiance
On 64 bit OS you need to navigate to he following key:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Allegiance
- Right click on the Allegiance 'folder' and access the Permissions dialog.
- Under the Allow column, click on the Full Control checkbox.
- Save the changes with Ok and close Registry Editor.
Step 3: UAC whitelisting
You may get a message, that ASGS is an unauthorized program.
Warning! Most Windows users will not need to complete this step. Try logging in with your limited account now. Only continue should you experience problem.
To get rid of that message you need to follow the following steps:
- Download Microsoft Application Compatibility Toolkit 5.5 and install it (you may need administration rights)
- Run Compatibility Administrator (you may need administration rights)
- Right-click on New Database (1) [Untitled_1], select Create New > Application Fix...
- Type in a name for your application (e.g. ASGS) and select your program: C:\Program Files\Microsoft Games\Allegiance\ASGSClient.exe and click on Next>
- Under Operating System Modes select None and click Next>
- Select NoVirtualization under Compatibility Fixes
- and select RunAsInvoker
- Click on Finish
- Repeat steps 4-8 with ASGSUpdate.exe
- Save your fix by clicking Save
- You may need to enter a database name (e.g. ASGS)
- Save your database file (e.g. C:\Program Files\Microsoft Games\Allegiance\ASGS.sdb)
- Close the Compatiblity Administrator
- Open command prompt (cmd) (you may need administration rights)
- Run sdbinst by typing sdbinst "C:\Program Files\Microsoft Games\Allegiance\ASGS.sdb"
- Now ASGS runs without UAC notification.