I have to set up five laptops with four users on the them. Two of these users will need the same permissions on them but are used for different purposes. I use MMC snap-ins to edit permissions of Non-Administrators but I need to create a snap-in for the other two that should have identical settings. I don’t want to have to manually enable settings for both users individually; I would like the users in a Local Group so I can create a Local Group Policy Object with the settings I want applied to them.
Creating a user group in gpedit.msc doesn’t work because the created user group doesn’t appear as an option in the Add Snap-In window and I can’t use Group Policy Management because these are standalone machines - not domain machines.
From what I can tell: you can’t. You have to do your settings for all users individually.
Related
On premises AzDevOps Server 2019, version Dev17.M153.5. I have restricted default access rights to agent queues on every single project in every single collection - removed the default set (Release Admins/Build Admins/Project Admins), added some other lines (Server Admins).
Now, ever once in a while, intermittenly with no pattern that I can see, those three permissions keep coming back automagically. On different projects, through no human actions (all the humans who have the rights for that have been told), those three lines with the Administrator role reappear on the default agent queue ACL.
Is that a known behavior in AzDevOps? Any way to opt out?
EDIT: here's what it looks like. The first three lines don't belong.
EDIT: as per the advice, I'd try to track it down using the activity log. I went and made a dummy change to default queue security elsewhere. There was a log record with command SecurityRoleAssignments.SetRoleAssignments. I then filtered the activity log on the collection where the permissions have reverted, and searched for the same command. No instances. The log ends around 7/14, which is likely before the event.
This should be caused by Inheritance permission. By default, the option Inheritance is turned on and the following groups are added to the Administrator role of 'All agent pools': Build Administrators, Release Administrators, Project Administrators.
If we turn off the option Inheritance, we can remove the default permission groups (Release Admins/Build Admins/Project Admins).
If we turn on the Inheritance, the permission group will be inherited again and the default permission groups will come back, please check the option and confirm that inheritance is always off. Please also confirm with all the humans who have the rights to update the option.
Uodate1
Login {Azure DevOps Server URL}/_oi/_diagnostics/activityLog, we can see the Activity Log and check who added the permission groups, please check it.
Installed Azure DevOps 2020. A couple of weeks in, no such behavior.
Concluding it was a bug in AzDevOps 2019 all along that they've quietly fixed.
I have been tasked with copying users and groups from one domain to another.
These are two 2012 domains, without a trust. (Prod → model → dev domains). Passwords are not a concern (all will be reset). This will be written in powershell running on a member server of the source domain (if that matters).
My question is, should I
copy all of the groups, then copy the users adding them to the newly created groups as each one is copied, or
copy the users, then create the groups adding the memberships as each group is created, or
copy all the users, then all the groups, then go back thru the users (or groups) to confirm memberships are processed?
My gut leans me to #1, but would #2 be a better option (and is #3 really even a consideration?)
Note: This is not a directory migration. I understand users will have new SID's, and profiles. Rather, this is to set up as identical as I can lab environment.
Create your Users first as no nesting membership concerns. Create your groups and add membership, you can be sure your User membership is correct on this first pass but not nested group membership. Rescan groups for missing (group) membership and record how many groups were modified, repeat until no further modifications are required. Done.
This is basically the strategy you use with Microsoft Active Directory Migration Tool (ADMT).
You could create groups first, but your code would start with groups then users and then back to groups again. Not that this is a necessary a problem.
We did this approach in our test and dev for a while but eventually moved to Veeam Virtual Labs (Isolated Sandbox).
Is there a command (or powershell cmd) that I can run that will check a specific GPO setting exists for the domain? For example we need to check that the Guest account in Windows is disabled using GPO.
Thanks
Group Policy is flexible and can apply different settings depending on the user/computer combination, so there is no way to check every single GPO combination in an entire domain.
You can check the settings being applied to a specific user/computer combination using either Group Policy Results and Group Policy Modeling
If your GPO configuration is simple enough you could check every combination, but it's not practically possible on large/complex domains.
We have a bunch of reports in our server that are shared among many users. The reports implement data filtering based on user attributes so the same report will show different data to different users. Each user gets a login to our server and the ROLE_USES gives them read-only access to the shared reports.
Our problem is that users can see, edit and even delete each other's scheduled jobs. According to the documentation "Typical users only see the jobs that they have defined themselves; administrators see the jobs defined by all users.". But that doesn't seem to be the case.
One of the workaround seemed to be to create separate roles for the users and then make copies of the reports. We have tried that. Two users, each having access to different sets of reports. When they go to the "View" -> ""Schedules" menu, they still see all scheduled job, even the ones that are for the reports that they have no access to!
I would really appreciate is someone had any clue where to look. We've been searching through many JasperReports configuration files but can't find any clues...
We are using Community Edition 6.2.1 of JasperReports Server.
Analysis
Usually you want to separate the users into different groups. Those groups can be used to assign rights. So lets assume you've got two different groups, Finance and Operations. The following rules should get created:
RULE_FINANCE
RULE_OPERATIONS
Regarding the setup for the users, just assign the new roles to the users.
NOTE: Keep in mind that ROLE_USER always needs to be assigned to a user for it to function correctly. Do not remove this role from users. Where applicable, you can remove rights on e.g. folder for this user, though.
Using the roles
Now every role or group should be able to see only the reports, folders or schedules the role or group has created.
The jasperadmin, which is the highest level admin of the Community Edition, is always able to see all schedules, reports and folder for all users and could deactivate the schedules in any case.
I need a smart code sharing tool that can be installed on windows machines.
It should enable a students club to do the following:
Enable EASY folder and file sharing over lan network, (can work without internet)
Manage access levels for individuals AND GROUPS (read, write, create, delete files)
Add folders to watch list then scan and update automatically
Optionally:
4. Code comparing
5. featured code editor integrated
Please dont point to me applications that only work via typing commands, students get scared ;)