i was at an office this morning trying to remove the anti virus and install avg and security essentials as well as installing SP3. three of the six machines worked fine but the other three came up with the error message you do not have permission to install this software even when run as administrator.
does anyone know what this is and how i can get round this?

Dani AI

Generated

described three of six XP machines failing with "you do not have permission to install this software" even when running installers as Administrator. and correctly pointed at permissions and antivirus leftovers as likely factors. The error on XP is usually environmental — either ACLs or policies are denying the installer, a protection hook (AV/host protection) is blocking writes, or the Windows Installer subsystem itself is misconfigured. The checklist below shows safe, ordered diagnostics and fixes that avoid redoing the same work on machines that already installed correctly.

  • Quick facts to collect first: are the problem PCs domain-joined or standalone, and what exact user account was used to run the installer (local Administrator vs. domain user)? Differences here explain why some machines succeed and others fail.
  • Test whether the installer can run under the SYSTEM account (this bypasses most user-token permission issues). Use Sysinternals PsExec to open a SYSTEM shell, then launch the installer from that shell:
    psexec -i -s cmd.exe

    If SYSTEM can install, the problem is an ACL or group policy; if SYSTEM fails too, suspect driver/service hooks or a damaged installer subsystem.

  • Repair Windows Installer registration (safe and reversible):
    msiexec /unregister
    msiexec /regserver

    Watch the Application/System event logs for MsiInstaller or Access Denied entries — they point to the resource (file or registry key) being blocked.

  • If ACLs look wrong, reset only the specific targets the installer needs (Program Files, Windows\Installer, and relevant HKLM keys). For large or complex ACL repairs, use Microsofts SubInACL tool or a permission-reset script, and always back up the registry before changing ownership/permissions.
  • If an AV or endpoint agent is present, use the vendor removal utility (not just uninstall from Control Panel) or temporarily disable/unload its drivers before trying again. Also check for Group Policy or Software Restriction entries applied by a domain.

Cautions: back up registry/ create a restore point before ACL edits, and avoid wholesale permission changes (they create new security problems). If these steps do not reveal the cause, capture Process Monitor traces during an install to see which access is denied and post the exact Access Denied operation for targeted help.

Recommended Answers

All 3 Replies

are you an administrator?

To set user permissions in Windows XP, you need to reboot in Safe Mode.To do this, click on Start.Then click on Run.The Run window will appear.In the textbox in the Run window type in the following: Msconfig Then press Enter or click on OK.The Msconfig window will appear.It allows you
to configure how your computer runs.Click on the General tab in the Msconfig
window if it is not already selected.Under “Startup Selection” click on the
little circle next to “Diagnostic Startup.”A little green dot will appear in the
circle next to “Diagnostic Startup.”Click on Apply.Then click on OK.
Now your computer is set to startup in Diagnostic Mode, also known as Safe Mode.
Click on Start.Then click on Turn Off Computer.Then click on Restart.When
your computer restarts, it will restart in Safe Mode, instead of restarting
normally.Safe Mode will look different then Normal Mode in several ways.The
cool looking blue and green Windows XP Startbar will be replaced by an old
fashioned grey startbar.Your custom desktop background image will be replaced by
a boring single color.And windows may appear really large since Safe Mode
operates in low resolution.Don’t worry; your computer will be back to normal
once you restart in Normal Mode.
So, if a login screen appears when Safe Mode loads, click on any account with
Administrative rights.In some version of Windows XP, only accounts with
administrative rights will be listed in the Safe Mode login screen.Once logged
in, double click on My Computer or right click on Start and then left click on
Explore to access Windows Explorer.Then go to whatever file or folder you want
to set user permissions for.Then left click on Properties.The Properties
window will appear.In the Properties window, click on the Security tab.You’ll
see a list of the user accounts on your computer, and underneath those user
accounts you’ll see a list of user permissions.First click on a user account
that you want to set permissions for.Look at the list of permissions.Next to
each permission are boxes under the Allow Column and under the Deny Column.If
there’s a check mark in a box under the Allow Column, then the permission listed
to the left of the box is allowed.If there’s a check mark in a box under the

i think if any anti virus run before remove it and also from registry some time some file stored here than your installation may be successful

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.