Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

An error has occurred while applying security settings. Users is not a valid user or group. #2

Closed
MightTower opened this issue Apr 20, 2016 · 11 comments
Labels

Comments

@MightTower
Copy link

During installation of CodeXL (in the "Start services" step) the error "An error has occurred while applying security settings. Users is not a valid user or group." pops up. Retry does not change anything. The setup is canceled. I have a WIndows 7 64 bit (german) Version.
For me adding a new Group (in lusrmgr.msc) with name "User" and my account as a user in this group solves the problem. I think this maybe a localization problem since in German the group is called "Benutzer", but I am not sure.

@klausklaus
Copy link

Confirming the problem for the german version of Windows 7 64 bit.
(CodeXL_Win_2.0.12406 installer)

@ilangal-amd
Copy link
Contributor

Thanks for this report.
Can you help provide the installer log file to investigate this issue?

@klausklaus
Copy link

klausklaus commented Apr 20, 2016

MSI33392.TXT

Here is the .LOG file. (Renamed to .txt for github)

@nnorm
Copy link

nnorm commented Apr 20, 2016

Same issues here on Windows 10 Pro. 64 bit (French) (CodeXL_Win_2.0.12406.exe). Just before quitting the installer I found the main binary file (CodeXL.exe) and the program seems to works fine. If explained how to I can provide a log file of the installation. I tried MightTower solution but it didn't worked (maybe I have done it wrong?). Hope you find the solution quickly. :)

@elect86
Copy link
Contributor

elect86 commented Apr 20, 2016

I had the same, it's because we are not using an english Win

Follow this and add an Users group with your user in it

@nnorm
Copy link

nnorm commented Apr 20, 2016

Thanks! It worked. It didn't the first time because I was missing the "s" at the end of the group name. Hope this issue will soon be fixed. Thanks again! :)

@ilangal-amd
Copy link
Contributor

Thanks for the reports and sorry for the issue. The log helped to find the root cause, I will update when a solution will be ready.

@ilangal-amd ilangal-amd self-assigned this Apr 20, 2016
@miskeletor
Copy link

I had the same issue on Swedish Windows 10 Home.
The solution suggested by elect86 doesn't work on home edition but i found another one.

Start a CMD as administrator, then create the group and add your user:

net localgroup Users /add
net localgroup Users <user_name> /add

@sergioafeo
Copy link

sergioafeo commented May 8, 2016

Renaming whatever the localized version of the users group to "Users" allows the installation to continue and succeed. Concretely, for the german version of windows, renaming the "Benutzer" user group to "Users" does the trick. Should work similarly for all other localizations. With the advantage of not having to create an additional group just for this program and its potential confusion power.

Most likely the group name is hardcoded in the installer, this should be done in windows through the SID: S-1-5-32-545. See here: https://support.microsoft.com/en-us/kb/243330

@julihocc
Copy link

Same issues here on Windows 10. 64 bit (Spanish) (CodeXL_Win_2.0.12406.exe).

@ilangal-amd
Copy link
Contributor

Issue was fixed and released in version 2.1 windows installer.

Ilan.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

8 participants