Quantcast
Channel: Directory Services forum
Viewing all 31638 articles
Browse latest View live

User profile Service

$
0
0

Hi Team,

In my environment we are facing below issue,out of 100 systems we are getting 15 systems  below error . please suggest me what changes i should made. I am using server 2019.

Thanks in advance

Bhaskar G R


The specified account already exists.

$
0
0

HELP.

I am in a twist here as to what is going on and am unable to resolve.

History.

Two of our Domain Controllers Tombstoned due to network card issues.

I attempted to demote the controllers but had some access issues. I believe at least one of them is now ok and has demoted successfully (I believe). I tried to re-join the domain but kept getting "the specified account already exists" and it would not re-join. I checked DNS objects etc and there were no remnants of the server anywhere. Other Domain controllers cannot see this computer either.

I eventually deleted the Server completely and built another VM using the same credentials as the original. However, when I attempt to join the domain I get the same issue "the specified account already exists".

I really don't know what to do next and need to get this resolved soonest as we are due to migrate objects in AD to a different domain.

Please could someone offer any advice.

Thanks in Advance.

Regards.

how to prevent reuse of account names

$
0
0

The goal here is to prevent accounts from being created with the UPN of an account that existed in the past.  So if employee A leaves in 2015, that account ID should never be used again.  Is there a secure way of creating an empty, permanent account with no license that would successfully block new users from using the same name when they create their accounts?

Ronald Proschan


Ron Proschan

Replication access denied

$
0
0

Hi Support,

We have two Windows 2012 Standard DCs.

We did not make any recent changes.

When checked replication today we have seen the below error

Repadmin: running command /showrepl against full DC localhost

Default-First-Site-Name\AD1

DSA Options: IS_GC

Site Options: (none)

DSA object GUID: 653b6bb0-39bc-4610-a4a7-b08248b940d6

DSA invocationID: 86a9e6b9-5f25-47f9-9147-3d8a13a108f1



DsBindWithCred to localhost failed with status 5 (0x5):

    Access is denied.

The other DC, AD2 is fine. That dc is having inbound replication from the problematic DC. AD2 is the primary DC.

Please let me know how do I troubleshoot this.

Sysvol clean up

$
0
0

Hello All

I am planning to do the Sysvol cleanup in my domain.

Sysvol is configured in E drive in all the domain controllers. 

I want to delete the below files as part of clean up. Kindly suggest if I can delete this file from any one domain controller or I can delete it from PDC.

I am planning to use below simple script from PDC. Kindly advice if its a right method. Thanks!!

Script

$files=Get-Content"C:\Users\af6\Desktop\delete\book.csv"

foreach ($filein$files) {  

write-host“Deleted  $File-foregroundcolor“Red”;Remove-Item-Path$file-force-ErrorActionstop     

}

Note: I have up to date backup

E:\SYSVOL_DFSR\sysvol\Testing.test\scripts\Helper.cmd
E:\SYSVOL_DFSR\sysvol\Testing.test\scripts\UpdatMs.cmd
E:\SYSVOL_DFSR\sysvol\Testing.test\scripts\ADMS\DM-2.5.cab
E:\SYSVOL_DFSR\sysvol\Testing.test\scripts\ADMS\DMs-2.9.cab
E:\SYSVOL_DFSR\sysvol\Testing.test\scripts\ADMS\DMs-v2.4.cab
E:\SYSVOL_DFSR\sysvol\Testing.test\scripts\ADMS\DMs-v2.6.cab
E:\SYSVOL_DFSR\sysvol\Testing.test\scripts\ADMS\DMs-v2.7.cab
E:\SYSVOL_DFSR\sysvol\Testing.test\scripts\ADMS\s.2.10.cab

Enable Remote Desktop access for Domain user

$
0
0

On a newly setup Windows 2019 Server Essentials domain, a user requires to RDP into their workstation.

I have added the user to the Builtin Remote Desktop Users group but they are still unable to RDP into either the server or their workstation.

If I add them to the Builtin Administrators group they can RDP into the server, but not their workstation.

Any suggestions please?

Account policy settings not being enforced

$
0
0

Hello, we have a Password policy defined in the Default Domain Policy enforced in AD which is working on all our Windows 2008+ machines except recently deployed Windows 2016 machines.

On those machines which are in the appropriate OU, running gpresult /V shows that the Default Domain Policy is applied successfully.  Running RSOP also shows that it is enforced.  However, if I run "net accounts" from an Administrator command prompt it doesn't show the appropriate settings.  Additionally, access the Local group policy, doesn't show the settings, but they are greyed out.

I have removed one of the machines from the OU where this is defined to a test one which blocks inheritance and the settings are available in local policy to change, but are set to Windows defaults.I have gone through all the Group Policies to see if the settings are defined elsewhere and they are not.

The scope of the Default Domain Policy covers the machine.

Does anyone have any idea why the password policy isn't applying correctly? and how to fix it?

Thanks

Gerrard

Service account permission

$
0
0

Hi guys,

Scenario: I have a service account that is granted permission to run a script on a server. I've noticed that when other users who are non-domain admin sometimes use the credentials for the account to run a script they get access is denied.

I come in and run the same exact script with the same service account credentials and it works. Funny part is once I run it and it works then when they try it works again till they have the issue again. The account is not locked, disabled or anything like that whenever this happens. Password is set to never expire.

This does not make sense to me because they are doing "run as" and using the same credentials I'm using.

Is there a permission that is needed from AD or maybe on the server for other users to be able to use the credentials?




Schema Master role owner is down need to recover

$
0
0

I came to know that schema master role holder is down however, PDC and other FSMO role holders are up and running. What will be the best course of action?

Schema Master role owner is a VM, can I restore from snapshot or shall I need to seize this role to other server?


Window Server - Não sobe o servico de Logon de Rede

$
0
0

Boa tarde

Estou com windows server 2012 R2, que parou o serviço de logon de rede, com isso parou o meu AD e todas aplicações que rodam com o AD, a hora que tento iniciar o servico me da o erro 1075.

Alguem ja resolveu este problema????

Is Windows 2019 released or not?

$
0
0
Hi,

Is it already available to use Windows 2019 to change my domain controllers?

Is the procedure for installing in a domain and changing DCs the same as what we usually do?

- Promotion new DCs
- Transfer functions

Thank you.

Installation of new 2016 servers to replace the 2008.

$
0
0
Hi,

We have a domain that already has a 2016 server in the forest and there are still two servers 2008 left.

I want to remove these 2008 and install new 2016 servers.

I will do the promotion myself and transfer the functions to the new ones.

Are there any other tasks that need to be performed? How to update GPOs? Etc...

Thank you.

Active Directory Sites and Services Replication Problem

$
0
0

Good Day Sir / Ma'am

    I have a big problem with our AD. I came thru all the forums and yet  I have not solve our problem. Please refer below

     When I try to replicate now the ZAMECO2AD under the domain-server2 this happen

And when I try to replicated 693.... under the ZAMECO2AD this happen

Please help. It bugs me for almost two weeks. Thank you.. 

Active Directory Migration Tool ERROR

$
0
0

Please help

I'm receiving this error during migrating this user to another AD

ERR2:7422 Failed to move source object 'CN=al'. hr=0x8007207d An attempt was made to modify an object to include an attribute that is not legal for its class.

CA not updating revocation list of superseeded CA certificates

$
0
0

Hello,

I have a Enterprise Sub-CA running on Server 2012R2. The root is an offline CA. I have a history of 6 CA certificates (0-5) of which 4 & 5 are revoked. There are still many valid certificates issued by certificate no. 3 in the field. The problem is, that the CA is not issuing revocation lists for certificate no. 3 anymore and therefore I'm getting certificate errors. The CA is issuing revocation lists for ca certificates no. 0,2 and 5 though. I don't mind no. 1 as there were no certificates issued by this certificate, but I have to have revocation lists for CA certificate no. 3. The revocation lists are not issued automatically or if triggered by hand.

Any idea?

Thanx

__Leo


Unable to create user accounts until DC is restarted

$
0
0
We have experienced 3 times lately where we have been unable to create user objects in Active Directory.  The first two had the same errors.  I'm not sure if the third one is related or not.

I have 4 DC's, two in each of two sites.  One of the Domain Controllers, DC1, has all the FSMO roles  They are all Windows 2012 R2, but the Domain and Forest Functional Level is at Windows 2008 R2 until later this week.  We have a single domain forest.  We have about 650-700 actual users, so even with shared and special user ID's, we probably have less that 2000 user objects.  Not a large Active Directory structure.

While I first noticed the problem when working in Exchange, this is an AD problem.  Almost 6 weeks ago, I suddenly was unable to create a user account when trying to create an Exchange mailbox.  The error in Exchange was "Exchange couldn't find any usable connections to the Active Directory server DC1.domain."

In the System log on DC1, there were numerous Event ID 16642 error events from Directory-Services-SAM:
“The account-identifier allocator was unable to assign a new identifier. The identifier pool for this domain controller may have been depleted. If this problem persists, restart the domain controller and view the initialization status of the allocator in the event log.”  After finding very little about troubleshooting this error, I restarted DC1.  Once DC1 came back up, I was able to create user objects again.

Early last week, I experienced the same thing with the same errors.  I restarted DC1 again, and again I was able to create objects normally.

I was off last Friday, but received an email from a colleague that we were again unable to create user objects.  They restarted DC1 and were able to create users again.

I looked through the Event logs on DC1 and did NOT find the Event ID 16642 from Directory-Services-SAM.  I did not find anything in the Application or System log that looked like an explanation for this inability to create users on Friday morning. This time, I looked at the Directory Service log and saw error Event ID 1519 repeated many times: 
"Internal Error: Active Directory Domain Services could not perform an operation because the database has run out of version storage." 

I saw a Microsoft blog about version storage at "https://blogs.technet.microsoft.com/askds/2016/06/14/the-version-store-called-and-theyre-all-out-of-buckets/".  This blog discussed increasing the maximum size of the version store, but it related the need for this with information that would be found in error Event ID 623.  DC1's log does not contain Event 623.

Unfortunately, the Directory Service log went back only a few days, so I could nor look for what might have been in there during the time frame of the first two instances of being unable to create users.

Can anyone offer me any help with what I need to do to prevent this situation from recurring?

Thank you very much for your help with this.

How to make LDAP SSL call using DsBrowseForContainerW API

$
0
0

Hi, 

I am using DsBrowseForContainerW( ) to load all container (OUs ) from given domain.

 Internally Its using LDAP Non SSL call to read data from domain controller. But I want to use LDAP SSL communication to read data  from Domain Controllers.

How can I achieve this?

case-1 : ADsPath  = "LDAP://Domain100.Lab/DC=Domain100,DC=Lab"   working fine and LDAP Non SSL calls

case-2 : ADsPath  = "LDAP://dc12.Domain100.Lab:389/DC=Domain100,DC=Lab"   working fine and LDAP Non SSL calls

case-2 : ADsPath  = "LDAP://dc12.Domain100.Lab:636/DC=Domain100,DC=Lab"   NOT working fine 

LDAP Non SSL port = 389

LDAP SSL Port = 636

Code :

DSBrowseInfo dsbi = new DSBrowseInfo();
dsbi.cbStruct = System.Runtime.InteropServices.Marshal.SizeOf(dsbi);
dsbi.pszCaption = caption;
dsbi.pszTitle = title;
dsbi.pszRoot =  ldapPath;
dsbi.pszPath = sResult;
dsbi.cchPath = 1024;
dsbi.hwndOwner = hwnd;

if (user != null && user.Length > 0)
{
dsbi.pUserName = user;
dsbi.pPassword = password;
dsbi.dwFlags |= DSBI_HASCREDENTIALS;
}
int ret = DsBrowseForContainerW(ref dsbi);

In case-3, its giving error as unable to connect to domain with given user name and password.

Please help me to solve the issue. How can achieve LDAP SSL communication by using DsBrowseForContainerW() api.

Thanks & Regards

Prasad


DNS - Server addressess

$
0
0

Hi All,

I am having some difficulty with client machines not logging into the nearest Domain Controller at their local site. For example some of our client machines in HQ connect to a satellite site some distance away. Dito for some clients on satellite sites who sometimes connect to other satellite sites. Information from client machines has been gathered via CMD and SET command, the logonserver shows Domain controller.

Our sites and services have been verified, configured correctly and have the appropriate IP Subnets setup. The costs etc are all setup as per Microsoft recommendation.

I am now looking at DNS configuration on the Server network cards. The way it is set-up now is that we apply a static IP address on all  servers and click the Radio button "Use the following DNS server addresses:". The addresses we use are the local DNS server and a DNS server that points to the replication DNS server, for example: a Satellite Server would have its own DNS IP settings configured as Preferred and the HQ DNS IP Settings would have the Alternative settings set. I am beginning to doubt if these setting are correct as it seems everything in Sites and Services is correct.

Any help or advice on how I can overcome this problem would be very gratefully received.

User Permission

$
0
0

Hi everybody, 

I would like to created a kind of restricted policy that make the user power  :

- Joining computers to domain in network 

- adding/removing users to/from a groups 

- access to all shared folders on network ( READ ONLY )

I appreciate in advanced.

Regards

Yashica

Need to create user account with user's password reset permission only

$
0
0

I need to create user account (or service account) and this user should permitted to change users password. only that option need to be created. So is there any option to enable this. what are the GPO should assigned to the user. I'm looking for the support for this. 

Thank You

Viewing all 31638 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>