Questions tagged [managed-service-accounts]
The managed-service-accounts tag has no usage guidance.
36
questions
2
votes
1
answer
53
views
gMSA and Read Only Domain Controllers
Windows Server 2019 Environment
I have 2 writable DCs and 1 RODC out in a DMZ that will all need to use a gMSA for some software we are deploying. This is my first time ever making use of gMSAs / ...
0
votes
1
answer
77
views
Allow interactive login for group managed service account (gMSA)
I'm trying to troubleshoot an issue with a gMSA and the error is displayed interactively. psexec is blocked by sophos, which is quite a hasle to whitelist (would be the sure way to get an interactive ...
2
votes
1
answer
596
views
Removing MediaAdmin and ServerAdmin managed server accounts in Active Directory
Our Active Directory Domain contains two Managed Service Accounts, MediaAdmin and ServerAdmin:
I don't remember adding them, and Google tells me that they are related to the Windows Server Essentials ...
0
votes
0
answers
54
views
Apply RestrictToOutboundAuthenticationOnly after creating managed service account?
What does the PowerShell parameter -RestrictToOutboundAuthenticationOnly do to a group managed service account? Is it possible to apply this setting to an existing account?
Google has not been my ...
1
vote
1
answer
2k
views
Difference between Managed Service Account and Non Interactive Server Account in AD
Just out of Curiosity also I couldn't find the answers to this anywhere, I am learning AD LDAP and came across a scenario for using non interactive service account for binding LDAP. I am not able to ...
0
votes
1
answer
890
views
How to use gMSA account with Task Scheduler and Powershell to manage DHCP filters
I am struggling to keep DHCP filters in sync between multiple DHCP servers, each of them is running on a domain controller. I wrote a simple script to get filters from master DHCP server and push them ...
2
votes
0
answers
1k
views
Group Managed Service Account access to network share on remote server
We've got a service running using a Group Managed Service Account on a Windows Server 2016 host (HostA).
We're extending the functionality of this service so that it runs an R script which needs to ...
1
vote
1
answer
842
views
Group Managed Service Accounts (GMSA) and Read-Only Domain Controllers (RODC)
We have RODC in a DMZ site and we would like to use GMSA, but the problem is that since domain controllers are read-only, it seems that I have to set a password at the creation of a new account such ...
1
vote
1
answer
2k
views
Running powershell as service account without logon privilege
I'm trying to run a powershell script as a service account via task scheduler. It has to run as the service account (rather than the local system) to get required permissions to do some of the tasks.
...
0
votes
1
answer
85
views
Group Managed Service Account - Permanent Password?
Is there a way to manually manage gMSA (Group Managed Service Account) passwords?
Usually gMSA passwords are managed by Active Directory, but sometimes I need to manually manage the password (to use ...
0
votes
0
answers
137
views
IIS Worker doesn't run or crashes immediately
We have an IIS app hosted on Windows 2016 Server which runs fine, when running as Local User or Network Service. One of the customers is setting up the application to run on a Service Account (...
0
votes
1
answer
211
views
Can I run mongodb under a Managed Service Account
I'm trying to run MongoDB under a Windows Managed Service Account. This works fine for memcached on the same server, but when I run the MongoDB account I get this:
Windows could not start the MongoDB ...
0
votes
0
answers
241
views
Can a gMSA be used with Centralized Certificates?
I'm planning a rollout of IIS Centralized Certificates (on Windows 2016 servers), and attempting to determine if this would support a Group Managed Service account, or if I have to go with a regular ...
0
votes
2
answers
417
views
Managed hosting, VPS & RAM - Virtual Memory?
I'm talking to a web host that's just starting up. They have shared hosting and managed VPS's. With shared hosting I understand that they have a script checking if a process goes over memory limits ...
2
votes
1
answer
3k
views
Does Install-ADSericeAccount modify "NT SERVICE\ALL SERVICES"
I had a problem where newly created Managed Service Accounts did not have "Logon as a service" right. A GPO was excluding "NT SERVICE\ALL SERVICES" from "Logon as a service". This was fixed.
Am I ...
2
votes
0
answers
1k
views
Can I use a gMSA for stored credentials in a SSRS data source?
I have an instance of SQL Server 2016 Reporting Services service running under DOMAIN\reporting$ containing a data source that needs to query a database using the stored credential DOMAIN\database$. ...
4
votes
1
answer
3k
views
Install Service Account remotely to lots of servers
We have a new process I'm trying to implement, part one of my task basically is change the local administrator password every month and update the password vault with the new password for the ...
3
votes
0
answers
293
views
Install Windows Service using chef and have it run using a Group Managed Service Account
I'm trying to setup a number of dev servers using Chef. I need a Windows Service to run as a managed service account. I have the following in a recipe:
windows_service 'My Windows Service' do
...
0
votes
1
answer
2k
views
SQL Server with MSA cannot write to UNC share
I have SQL Server 2012 running in an Active Directory Domain environment. I set up a Managed Service Account for the SQL services to run under, as per this document. Since my domain functional level ...
5
votes
1
answer
2k
views
How can I get a Managed Service Account to use internet proxy settings from Group Policy?
I have a service running on a Windows 2012 R2 domain member server that requires internet access. The service is configured to run under a Managed Service Account and the account is granted local ...
1
vote
1
answer
218
views
Remove AD PS Module after installing gMSA on Windows Server 2012 R2
I installed a Group Managed Service Account on a Windows 2012 R2 Server. In doing so, I had to install the Active Directory module for Windows PowerShell Feature. Is it possible to uninstall that ...
1
vote
1
answer
6k
views
How to find owner of a aws account with account number
I inherited a couple of AWS environments. I have been recently doing security audits of s3 and found several policies with principals containing aws account numbers I don't know and nobody at my ...
2
votes
0
answers
902
views
Can I as a normal user run stuff under a managed service account?
Let's say I have remote access to a server which uses MSA's to run application pools and windows services. Can I as a normal (not elevated) user run program's under those MSA's?
For example
PsExec....
1
vote
0
answers
788
views
IIS App Pool won't start with gMSA identity if it is first used after the number of days in msDS-ManagedPasswordInterval
We have been using Group Managed Service Accounts (gMSAs) in our environment without issues until recently. We deployed several apps to production where the gMSAs had been created about 60 days ago ...
1
vote
1
answer
3k
views
Schedule Windows Task with Managed Service Account on DC
I have downloaded a script from TechNet and i am scheduling this with the MSA(Manage Service Account) on a DC. I get the error
Task Scheduler launched "{!@#!#!@#}" instance of task "\TasknamE" for ...
3
votes
1
answer
2k
views
Does a Managed Service Account require a domain?
Does a Managed Service Account require a domain?
I am trying to setup a standalone server (no domain) to add managed service accounts to assign for running services instead of creating local user ...
3
votes
1
answer
1k
views
Group Managed Service Accounts per service per server (Best practice?) and long names?
I've talked with a few colleagues about what might be best practice for using group managed service accounts in our environment.
It seems that ideally, we would create 1 gMSA per service (e.g. SQL ...
4
votes
1
answer
708
views
Giving permissions to Virtual Service Accounts on domain controllers
The service I'm implementing will run on a domain controller, so I'd like it to have minimal privileges.
Ideally, it would simply run as Local Service. However, it needs to be able to:
monitor ...
0
votes
1
answer
145
views
Added SQL Server 2008 R2 to domain, can't send email
I had a standalone machine running SQL Server 2008 R2 that I joined to a domain. I set up an MSA and set all of the SQL services to log in under it.
I can access the DB remotely and run queries, but ...
5
votes
1
answer
3k
views
How to tell when a managed service account password last changed
We have a managed service account running a service on a Windows 2012 R2 service. The service has a pattern of failing every 30 or 60 days (sometimes 30 days, sometimes 60 days).
One thought we had ...
2
votes
1
answer
1k
views
Using group managed service accounts on OS version < Windows 2012
Trying to leverage benefit of Group-Managed Service Accounts (gMSA) but have a mixed environment. My guide was this blog post: https://blogs.technet.microsoft.com/askpfeplat/2012/12/16/windows-server-...
11
votes
2
answers
28k
views
Run command with a Managed Service Account?
I've just granted permissions for a MSA (Managed Service Account) to some resources.
Can I verify it works, by running a cmd.exe process with the credentials of the MSA account, and check I have the ...
5
votes
1
answer
3k
views
How do I fix a non-starting "Microsoft Key Distribution Service"? (not to be confused with Kerberos KDS)
The Microsoft Key Distribution Service is not starting on my DC (kdssvc.dll) and when I look at the event log under Microsoft\Kdssvc, I see the events:
Event ID 4001
Group Key Distribution ...
2
votes
2
answers
10k
views
Group Managed Service Accounts: -PrincipalsAllowedToRetrieveManagedPassword
So the documentation for creating gMSAs says that the parameter "-PrincipalsAllowedToRetrieveManagedPassword" should restrict the ability of using the gMSA to the machines that are part of the ...
2
votes
0
answers
2k
views
How does one create a certificate request for a managed service account in Windows?
I have a managed service account which needs a certificate in its personal store for decryption. I tried opening the Certificates snap-in and pointing to the service, but when I right-click on the "...
5
votes
0
answers
574
views
Installing MSA (Managed Service Accounts) using Windows deployment tools
I have to install several new application servers (2012R2) for a project which will run IIS and MSMQ. I need to script the complete install, so I need to be able to change permissions on IIS ...