Questions tagged [managed-service-accounts]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 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 ...
1
vote
0answers
96 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
1answer
238 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 ...
0
votes
0answers
29 views

How can a process executed by a group Managed Service Account utilize a proxy when reaching out to the internet?

We have computers on an air-gapped network that will require Visual Studio to be installed and updated. Since the Visual Studio installer is highly customizable, Microsoft did away with the offline ...
0
votes
0answers
119 views

Enable-IISSharedConfig with gMSA account

I am trying to enable IIS shared configuration on Windows Server 2019. I want to use a gMSA account for content access to the shared configuration folder. When I run Enable-IISSharedConfig -...
0
votes
1answer
652 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
1answer
34 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
0answers
26 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
1answer
60 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
0answers
68 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
2answers
172 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
1answer
1k 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
0answers
593 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
1answer
2k 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
0answers
192 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
1answer
933 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 ...
4
votes
1answer
1k 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
1answer
166 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
1answer
3k 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
0answers
458 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
0answers
483 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
0answers
1k 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
1answer
1k 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
1answer
849 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
1answer
522 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
1answer
112 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
1answer
2k 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
1answer
950 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-...
10
votes
2answers
18k 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
0answers
2k 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
2answers
7k 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
0answers
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
0answers
549 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 ...