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

AD Replication Status Tool

$
0
0

Good Afternoon, 

    Is there anyway for me to see what objects were replicated during the last cycle using ADRST 1.0 or would anyone know of an app that will do that? 


Adding a subordinate certification authority to an existing infrastructure

$
0
0
I have a valid root certification authority based on windows server 2003.
I want to add a slave server to Windows Server 2012 and redirect all requests to it. And disable the root (enable only to reissue the main certificate).
Tell me how to properly configure a subordinate center and transfer all requests to it? (smart cards, user authorization, mail).
That there would be revoked certificates and issued
There is very little information on the Internet that has helped me.

Windows server 2008 standard R2 unable to boot to Windows with error STOP: c00002e2 Directory Services could not start because of the following error

$
0
0

Windows server 2008 standard r2 cannot boot into Windows.

Error:
STOP: c00002e2 Directory Services could not start because of the following error: The system cannot find the file specified.

Error Status: 0xc000000f

Please shutdown this system and reboot into Directory Services Restore mode. Check event log for more detailed information

Troubleshooting steps:

1. Able to boot into Directory Services Restore Mode and Check that all volume is Online and status is healthy

2. Try to do a repair of the boot file by booting up with Windows Server 2008 R2 DVD and selected command prompt > DiskPart. Can see the partitions and volumes.

However Volume C (Windows) Fs (File System) did not indicate NTFS. I have other volume in the raid config and it all shows NTFS under Fs (File System).

Continue to access Volume C and it says Access Denied.

Stuck on C drive Access Denied.

Could someone advise please?

Thank you


Microsoft DNS TTL Setting

$
0
0

Dear Team,

I have a Microsoft DNS server installed on Windows 2008 R2 SP1, in DMZ for all my company Systems

The Default TTL for all forward zones is 24Hours (1 day) . How can I change the Default TTL to 2 hours?

Question 2: I have tried to reduce the TTL for individual forward zones to 2 hours through SOA tab, both Minimum (Default TTL and TTL for this record, but getting reset to default overnight.

Kindly suggest

Thanks and advance

GC replication from FSMO Server

$
0
0

Hello Team,

I need urgent help on AD replication. Current environment has 5 GC servers where one of the server "server1" has all the FSMO roles installed. I have to configure add one more GC server "Server6" which is not in direct communication with FSMO server. I can enable communication with Server1 which has FSMO roles installed for promoting server6 to AD but it will not be permanent. I want to understand if the communication is required from Server6 to Server1 only to promote AD or it requires in future as well? What will happen if Server6 is not in direct connection with server6? Server6 will communicate with server5 which is also a GC server for replication. 

Kindly suggest.

Are there any C++/C# API's available to perform actions that can be done through DCDIAG?

account lock out policy not working

$
0
0

Hi expert

after applying below policy in domain level 

we get below result in affected server 

result : account lock out not working and user never lock .

please give me hand to fix my issue 


Computer Migrations with ADMT and Windows 2012 R2 DCs

$
0
0

I was having trouble with ADMT migrating computer accounts between a Windows 2003 child domain and a parent domain with Windows 2012 R2 DCs but at Windows 2003 functional level.  Computer accounts fail with the error:

2015-04-30 15:34:02 ERR2:7711 Unable to retrieve the DNS hostname for the migrated computer 'WCCSSBC2.child.domain.com'. The ADSI property cannot be found in the property cache.

(hr=0x8000500d)

After some more digging and trying to work around the issue, it seems that ADMT is just exhibiting a symptom of a larger issue in Windows 2012 R2.  I found the link below that suggests that Windows 2012 R2 has a problem with SPNs when you try to move the same computer name across domains, and the workaround is to install a lower Windows version DC and point ADMT to it.

http://community.spiceworks.com/topic/596864-admt-3-2-intra-2012r2-domain-split

So to do that, I needed to move a Windows 2003 member server from one domain to another, so in Computer Properties I changed the domain from the child domain to the parent domain.  The move failed with this message:

---------------------------

Computer Name Changes

---------------------------

The computer failed to join the domain "domain.com". Please contact your domain administrator and indicate that the computer failed to update the dnsHostName and/or servicePrincipalName (SPN) attribute in its Active Directory computer account. Once the problem is resolved, you may join the computer to the "domain.com" domain.

---------------------------

OK  

---------------------------

So, what I did was move the computer from the child domain to WORKGROUP, rename it, then move it to the parent domain.

Is there a workaround for this issue other than installing a downlevel domain controller? 

Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."


Fetching the enabled attribute with ADObject.

$
0
0

Enabled attribute only lies in the AD User Object class as it falls under 'user account control' . I have a query that needs to fetch all the members of the AD group consisting of AD User as well as AD Groups (a group is a member of another group). So, to list all the members I have to get the attributes using Get-ADObject command so what I am doing is this:

Get-ADObject -Filter {ObjectGUID -eq '16e76214-6306-4359-9dde-91c9d98accc8'} -Properties *| Select Name, Enabled, useraccountcontrol

What I want is if the Enabled is present in the attributes it should give either True/False value and if it is a group it should be Null as there is no 'Enabled' attribute. Instead I am getting some weird number which I found out to be a code for the account status and whether the password is expires or never expires. Like 512, 66050

I just want to get member name & enabled value. In every case enabled is coming blank.

Delegate user to join computer to a specific OU

$
0
0

Hello everybody,

I make a delegation of AD to a specific user that is abroad. He is able to join PC to domain. The thing is that i want to redirect the computers join with his username to a specific OU=abroad and not to Default OU=computers (cause he will manage only the specific OU=abroad)

Somebody got an Idea?

thanks

Move Computer based on site code , powershell script

$
0
0

Hello

I need help creating a script that can move my computers to the right organizational unit

All my computers are named as follows: D (for desktop) + Site Code (4 numbers) + Computer Number (2 numbers) ===> D.0000.01

D000001 to P000010 ===> Site A
P001001 to P001010 ===> Site B
P002001 to P002010 ===> Site C

I need a PowerShell script that does the following:
1- Find all Active computers in AD that are not servers or domain controller
2- Depending on the site code, move the computers to the correct organizational unit
3- If the computer is already in the correct organizational unit, do not do anything.

Examples :

--------------

Computers named P000001 till P000010 MUST BE moved to CN=Site A, DC=test,DC=IT

Computers named P001001 till P001010 MUST BE moved to CN=Site B, DC=test,DC=IT

Computers named P002001 till P002010 MUST BE moved to CN=Site C, DC=test,DC=IT

Thanks


partager

Disabled Users Script

$
0
0

Does anyone know a power shell script that can go through AD and find all disabled user accounts and also output details like City and OU that I can output to a .csv? I have searched all over and cannot find a script like this. Any help is greatly appreciated.

Thanks.


Chad Guiney

retrieving and writing to a container object with powershell

$
0
0

Hello,

i ran into an issue when i got the request to copy a description attribute from one container object to another container object. 

The problem here is that the description string is very long and doesn´t even get displayed correctly in Active Directory Users and Computers.. The only place where the attribute gets displayed correctly is in adsiedit.msc..

When using

get-adobject -Identity "CN=PDP,CN=TestApplication,CN=Program Data,DC=contoso,DC=dir" -Properties Description -Server contoso.dir 

I only get one line of the multivalued Description attribute. However when using dsquery.. it is possible to retrieve the whole string which is somehting like this:

08TkXgU0XZIXpJTXwgTXXLRSXTRVXgSklXRSIpXgkpXgk6XXNl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p1X2VyXXJvXGVjXX5XXi5zXGloXX1kXnMuXmV0IXX1X2VyXXJvXGVjXX5XXi5zXGloXX1kXnMuXmV0XgkJOkZpXmX1XmVQXmluXXXoIk1PTXQgQUtJTiXXRUxUIXNVQiXS;"

My issue now is that i see no possibility to write this string to a container object.. I supposed it must be possible with dsmod but there is no category "container" for dsmod.. And powershell is giving me following error when i try to place this string into the description

Does someone maybe know a solution to my problem?

lsass.exe terminates unexpectedly and restarts 2008 R2 Domain Controller

$
0
0

Hi,

The 2008 R2 DC restarts intermittently. Please see the event log below. Could you please suggest how to fix ?

Log Name:      System
Source:        USER32
Date:          8/15/2019 4:17:02 PM
Event ID:      1074
Task Category: None
Level:         Information
Keywords:      Classic
User:          SYSTEM
Computer:      Server1.mydomain.com
Description:
The process wininit.exe has initiated the restart of computer Server1 on behalf of user  for the following reason: No title for this reason could be found
 Reason Code: 0x50006
 Shutdown Type: restart
 Comment: The system process 'C:\Windows\system32\lsass.exe' terminated unexpectedly with status code -1073740940.  The system will now shut down and restart.

Thanks..!

Using scheduled tasks to export AD user reports?

$
0
0

Hey guys,

I have an application admin co-worker who wants to import some of our AD user information daily into that application.  The only way I can think to automate this is to script a get-aduser going out to a file that the co-worker can import each day.  If anyone can think of a better solution to export AD user information to an application(it does not have a native ldap connection setup), let me know.

So I have the powershell command, but ideally I would love to run it out through a scheduled task using a gMSA.  I know how to run a scheduled task with a gMSA, but it appears that if any user launches a get-aduser command besides a domain admin, you must use the (get-credential) option in that command, which is tough with a gMSA.

Does anyone have any suggestions for a simple and secure way to accomplish this task?  I might try dsquery and see if I can get it to work under a MSA(that has appropriate read permissions), but not sure if I can manage the output fields as good as I can with powershell

Thanks,


Dave







Removing list of users from AD Group

$
0
0

I have searched everywhere and cannot find a way to run this script using the users UPN. The .csv file that gets imported only looks for samaccountname. How can I run this with the .csv file having a list of users userprincipalname instead of samaccountname? I need to bulk remove users from an AD group. Any help is greatly appreciated.

Import-CSV "Listofusers.csv" -Header users | ForEach-Object {Remove-ADGroupMember -Identity "GROUPNAME" -members $_.users}

Thanks.


Chad Guiney

Should I install LAPS on a Domain Controller?

$
0
0
We have installed LAPS on all of our computers. Should it be installed on the Domain Controller as well? 

Add existing Active Directory to Atlassian JIRA

$
0
0

Hello everyone,

I am trying to add my existing AD to Atlassian JIRA login system, but I am not sure how to do it, there are lots of fields pre configured, and I dont know if any of those are incorrect, because while I was testing I was receiving this error:

[LDAP: error code 49 - 80090308: LdapErr: DSID-0C090404, comment: AcceptSecurityContext error, data 525, v1773]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090404, comment: AcceptSecurityContext error, data 525, v1773] 

Who seems that there is something went wrong while it was doing login.

Anyone knows what can be doing this issue?

Fields configured by me:

And fields pre-configured when I choosed that it was a Microsoft AD:

How to Prevent Authenticated Users from Joining Workstations to a Domain

$
0
0

Microsoft Article LINK

There are two approaches to do this as per article above. 

Which one is safer and more straightforward to implement.

Objective is same.


Shahid Roofi

How to query in active users with multiple conditions

$
0
0

Hi All,

I am in the process of querying the inactive users with multiple conditions using power-shell.

can some one suggest what is the best method.Using powershell cmdlets or Powershell ADSI adapter?

Please advice.

Viewing all 31638 articles
Browse latest View live


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