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

Time settings for PDC emulator

$
0
0

Hello,

I need to change the time settings for the domain. It is a single domain forest, and I will be using a list of IPs for time servers. Below is the command, I plan to set the AnnounceFlags reg key to 5 Does this seem OK (combining the 0x9 setting with the 5 for AnnoucneFlags)?

w32tm /config /manualpeerlist:"10.10.38.165,0x9 10.12.1.35,0x9 10.34.1.6,0x9 10.76.203.241,0x9" /syncfromflags:MANUAL /reliable:yes /update


ADMT migration

$
0
0

Hi Experts,

Currently, we are using ADMT to migrate computers from source forest to destination forest.

However, we have 100 Mac joined to the source domain also and200 surfaces which in workgroup status. Does any one know how can i migrate these Mac and Surfaces as well to the destination domain. How would i solve this kind of situation

Regards,

Sky

Generate a certificate for paloalto firewall

$
0
0

Hello ,

did you know how can generate a certificate for a paloalto firewall from my AD CS 2012 R2 ?

Regards

Can you reset/modify/unlock same members of account operators?

$
0
0

Hi,

we have a helpdesk team that is under Account Operators group. They can unlock/reset password of users on different OU group, but cannot unlock users belonging on same group. Is this because, account operators is a built in group??

PasswordLastSet

$
0
0

I am trying to get PasswordLastSet property from CSV list, I have this script, but it´s not working.

import-csv .\user.csv | ForEach-Object {get-aduser -filter * -properties passwordlastset -Identity $_.samaccountname}| ft Name, passwordlastset | Export-CSV .\results.csv -NoTypeInformation


GPO override/chagne for local user only - help

$
0
0

Hello,
I have users in domain MSB, but computers (where users log in) are in different domain MSA. I cannot change that, it by design.
I needed to setup profile redirect, drive mappings, etc. These settings are part of user policy, so I had to enable loopback processing. This works fine as expected.
How can I disable policy (e.g. profile redirect) processing for local users only? I need to have local user on these computers since they are portable.
Can you recommend me possible solutions? I have an idea to run logon script where some settings can be changed for local user, but I am not sure whether this is proper solution.
Thanks in advance!!

Group policy not able to applied on clients system

$
0
0

Dear Support,

We are unable to applied group policy on clients system so please help us to resolve the same.

Regards,

Itsupport

Event ID 5014 ( Error: 9033 - Error: 9036 )

$
0
0

Dear All, 

We did migrate our domain controller from 2012 r2 to 2016, and we did migrate from FRS to DFSR, all sys folders "policies ans scripts"are replicated fine but there is an warning message in event viewer:

5014 (  The DFS Replication service is stopping communication with partner DC3 replication group Domain System Volume due to an error. The service will retry the connection periodically) , Additional Information: Error: 9033 (The request was cancelled by a shutdown) , Additional Information: Error: 9036 (Paused for backup or restore) . 

Our DCs design:

Site1: DC1 - DC2

Site2: DC3 - DC4

DC1 having the warning id 5014, DC3 doesn't have it. I did run health check from DFS management and there is no error. I did backup AD manually "NTDSUTIL", I did check sysvol folder for all policies and scripts and they are updated and i even created a .txt file inside policies folder and replicated with the other DC "from DC1 to DC3". We are not running any backup at this time. Currently DFS management contains all DCs with their sysvol folders only, no other shared folder are created yet. I found the following link to disable TCP off loading but i didn't find that key and im not sure if i have to create a new key:

https://social.technet.microsoft.com/Forums/ie/en-US/01dc55f1-ff54-4c25-aca4-6122f0f654c5/dfs-event-id-5014?forum=winserverDS

Any advice.

Thank you


Create an automated PowerShell Script to Add all standalone Workstations into AZURE with a click .

$
0
0

Objective : To Create an automated PowerShell Script to Add all standalone Workstations into AZURE with a click .

Add users manually into Azure , provide credentials per email to users , user the Migration Tool in a DC in Azure to migrate all profiles and delete all Local Administrator Profiles, login with the new Company Credentials (Name.Surname@company.com)

Pre-Requisites

  • Create a new profile for users (name.Surname@company.com)
  • Migrated all LDAP Information from JumpCloud to Azure LDAPs
  • Create all New OU in a Managed DC in Azure
  • Created Roles for Azure Application Deployment
  • Created a new Repository for MS Migration Tool

Post Requisites

  • All users are storing files in Local Profiles (Admin) from their Workstations
  • Start Migration Wizard from PowerShell , move all the files to new profile , I will create a new Profile in Azure (name.Surname@company.com) and the users will be able to login.
  • Install Google Drive and ESET Antivirus from Powershell or Download a package from Windows Store or Intune (Azure Suscription)
I started a new project on GitHub for this : GitHub

Cheers

Pablo Villaronga | Azure Cloud & Infrastructure Engineer   
Email: Pvillaro@outlook.com


Pablo N Villaronga MCP, MCSA, MCTS:TS:Windows 7 ,


Problems with SID history between domains in forest trust

$
0
0

Hi everybody.

I've got a problem while migrating my domain ressources to another one.

Source domain is A.local (Windows 2008 R2). Target is B.com (Windows 2016).
There is a trust between the two forests, bidirectional and transitive. 

I use ADMT to migrate users and groups. While migrating these objects, I check the "Migrate SID History" button. 
Before that, I have desactivated the SID filtering between my forests with this command : 

- from the source domain : Netdom trust A.local /domain:B.com /enablesidhistory:yes /usero:administrator /passwordo:*

- from the target domain : Netdom trust B.com /domain:A.local /enablesidhistory:yes /usero:administrator /passwordo:*

When I try to access a share from the target domain, with a user who have share and security permissions, there is an error. I cannot access. 
If I modifiy the share settings to allow access to everyone in the source domain, access is ok for my user in the target domain.

And more, If on my source domain share, I put share permissions to the target user (or group), it's not working. If I do the same thing in the target domain, putting share permissions to the source user, everything is working fine. 

I've disabled / enabled SID history and SID filtering, nothing changed. Same things after broke and new creation of the trust.

I have checked the user account in the target domain, the SID history is correctly written in the users attributes.

No firewall or AV software on any DC. 

Does someone have an idea?  

Change msDS-UserAccountDisabled using command line for ADAM/ADLDS

$
0
0

I'm having trouble with this command and need some help.  I've been trying to create a powershell command to grab the logon time of a user account in our ADLDS instance and I finally did that.  Sample

Get-ADObject -Server 'localhost:389' -SearchBase 'CN=Users,CN=WAP,DC=IBTS-WAP,DC=COM' -Filter 'lastlogontimestamp -like "*"' -properties DisplayName,lastlogontimestamp | ? {(((Get-date) - ([datetime]::FromFileTime($_.lastlogontimestamp))).TotalDays -gt 90)} | select DisplayName, `
    @{Name="LastLogonTimeStamp";Expression={([datetime]::FromFileTime($_.LastLogonTimeStamp))}},`
    @{Name="pwdLastSet";Expression={([datetime]::FromFileTime($_.pwdLastSet))}} | export-csv C:\temp\useraudit3.csv -NoTypeInformation

Now I'm trying to figure out how to disable an account.  I know I have to change the attribute msDS-UserAccountDisabled to true, but I can't figure out the syntax.

I'm guessing it's something like this but it's not working out.

Set-ADObject -Server 'localhost:389' -SearchBase 'CN=Users,CN=WAP,DC=IBTS-WAP,DC=COM' -Identity 'CN=a,CN=Users,CN=WAP,DC=IBTS-WAP,DC=COM' 

ADLDS is quite the pain because regular AD commands don't work quite the same.

Thanks,

Can't Demote Windows 2012 R2 DC - DCPROMO - Access is denied. Account is in "Enable computer and user accounts to be trusted for delegation"

$
0
0

Hello!

   I have two Windows Server 2012 R2 DC's which I'd like to demote from a domain leaving two Windows Server 2019 DC's to remain as the sole DC's.  When I try to demote the 2012 R2 DC's I get a message "The operation failed because: The Active Directory Domain Services Installation Wizard (DCpromo.exe) would not configure the computer account <2012 DC> on the remote Active Directory Domain Controller <2019 DC>.  Verify that the user running dcpromo.exe is granted the "Enable computer and user accounts to be trusted for delegation" user right in the Default Domain Controllers Policy.  The error was: Access is denied".

   I tried both my domain admin account and the domain Administrator account and both get this same error.  Both of these accounts are added to the "Enable computer and user accounts to be trusted for delegation" user right in the Default Domain Controllers Policy.  

   "repadmin" shows that everything is replicated between all DC's.  In fact the only hint that I see of any AD problem is that in the Group Policy Management  is that from "Detect Now" on the status page, the two older DC's show that replication in progress.  (And this never changes).

   Anyone have any idea what I should look at?  I suppose I could just do a "Force" on the DCPROMO demotion and then clean up the metadata by following the steps to manually remove a failed DC.

   I appreciate anyone's help!

dave

On-Prem UPN being changed by DC's SYSTEM account

$
0
0

Hi,

I'm in the process of configuring a Server 2012 r2 DC in preparation for O365 SSO with Azure AD Connect.  The domain only has 1 DC and the functional level is also set to 2012 r2.  As part of this I am changing the UPN for the on-prem accounts to match their email address as follows:

Firstname: Test

Surname: Account

Original Username: TestA

Original UPN: TestA@Domain.domainname.co.nz

SMTP address: test.account@domainname.co.nz

I've added in domainname.co.nz as a suffix and can see it as an option, but when I change the on-prem UPN to be test.account@domainname.co.nz it works correctly and still allows the user to logon, but a short time later I find the UPN reverts itself back to testa@domain.domainname.co.nz.

I've turned on auditing to work out how/when this was happening and can see that an event 4738 is raised from my admin account when I initially change the UPN, and shortly after (always at the same time of the hour, at 37 mins past) this is changed back by the system account, as shown below:

A user account was changed.

Subject:
Security ID: SYSTEM
Account Name: servername$
Account Domain:DOMAIN
Logon ID:        0x208C31D6

Target Account:
Security ID: DOMAIN\testuser1
Account Name: testuser1
Account Domain:DOMAIN

Changed Attributes:
SAM Account Name:-
Display Name: -
User Principal Name:testuser1@DOMAIN.DOMAINNAME.CO.NZ

I've checked for scheduled tasks, any services running under this account, and other apps on the server and can't find anything.  Has anyone come across this before or have any advice on what else can be checked?  It happens regardless of which OU the account is in.

Thanks in advance!



Odd process is running named 30000

$
0
0

Hey guys, this screenshot is caputured by autoruns on our AD machine, we notice that one odd process named 30000 was attempting to running command"cmd.exe /c "cd /d "%USERPROFILE%" & start cmd.exe /k runonce.exe /AlternateShellStartup", but luckly. the file is not found. would you please advice if this is expected or not? or have u see this symptom before? Thanks for your advice.

Event ID 4 with replication and authentication failures

$
0
0

We have a Windows Server 2012R2 domain controller which generates the error below when attempting to connect to a working domain controller in AD:

The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server server$. The target name used was ldap/server.domain.local. This indicates that the target server failed to decrypt the ticket provided by the client. This can occur when the target server principal name (SPN) is registered on an account other than the account the target service is using. Ensure that the target SPN is only registered on the account used by the server. This error can also happen if the target service account password is different than what is configured on the Kerberos Key Distribution Center for that target service. Ensure that the service on the server and the KDC are both configured to use the same password. If the server name is not fully qualified, and the target domain (domain.LOCAL) is different from the client domain (domain.LOCAL), check if there are identically named server accounts in these two domains, or use the fully-qualified name to identify the server.

Site replication is configured to a domain controller which generates the above error when it tries to establish a connection. This is resulting in replication not succeeding. The DC can connect to certain other DCs and not to others.

Repadmin /showreps generates:

******* 1 CONSECUTIVE FAILURES
Last error: 1396 (0x574):
            The target account name is incorrect.

Naming Context: DC=DomainDnsZones,DC=domain,DC=local
******* WARNING: KCC could not add this REPLICA LINK due to error.

This is also resulting in file share authentication failures to a second trusted domain.

Primary domain authentication for users is successful.

I've reset the faulty DC's computer account by running:

net stop kdc
klist purge
netdom resetpwd /server:workingDC.domain.local /userD:domain.local\DomainAdministrator/passwordD:*
net start kdc

That made no difference. 

I also started to build a second domain controller for the site, but when selecting the DC to replicate with during the promotion phase, the same errors appear as above, which led me to believe having a second DC wouldn't make a difference.

Any tips would be appreciated :/


DCdiag DNS Forw Failures

$
0
0

I'm working on replacing some legacy Windows Server 2003 R2 and Windows Server 2008 DCs with some new Windows Server 2016 DCs.  Prior to adding or removing the DCs, I'm working to confirm AD health with basic testing.  Repadmin /showrepl and repadmin /replsummary both run fine with no errors.  Also, manual replication tests like simply changing AD user settings replicate fine across my single domain setup consisting of multiple AD sites and subnets.    However, when I run specific DCdiag test for DNS, I'm getting inconsistencies in the tests.  If I run dcdiag /test:DNS /DNSALL /e /v on a newly installed Windows Server 2016 DC, all tests complete fine for Auth Basc Forw Del Dyn RReg and Ext.  But when I run this same test on a Windows Server 2003 R2 or 2008 DC, I get FAIL on Forw and WARN on Basc and RReg.

My question is why does DCdiag return healthy results when running on Server 2016 DCs but failures and warnings on Windows 2003 and 2008 DCs for DNS?  And are Forw and RReg tests critical failures that will likely block the promotion of new DCs?

Here's the results of the tests:

Summary of DNS test results:        

                                           Auth Basc Forw Del  Dyn  RReg Ext

           _________________________________________________________________

           Domain: wellspring.local                                                                                                                                  houdc01                     PASS WARN FAIL PASS PASS WARN PASS

              atldc1                      PASS WARN PASS PASS PASS WARN PASS

              atldc01                     PASS WARN PASS PASS PASS WARN PASS

              arldc02                     PASS WARN PASS PASS PASS WARN PASS

        

        ......................... wellspring.local failed test DNS

Summary of DNS test results:        

                                           Auth Basc Forw Del  Dyn  RReg Ext

           _________________________________________________________________

           Domain: wellspring.local                                                                                                                            houdc01                     PASS PASS PASS PASS PASS PASS PASS

              atldc1                      PASS PASS PASS PASS PASS PASS PASS

              atldc01                     PASS PASS PASS PASS PASS PASS PASS

              arldc02                      PASS PASS PASS PASS PASS PASS PASS

        

        ......................... wellspring.local passed test DNS

          


Deny Interactive Logon to a group

$
0
0

Hi,

I have a need to deny a certain group of users interactive logon to computers while at the same time those users must be still granted "RunAs" and "Run as a Service". Basically, I want to deny authentication using the GINA.

As I know that the GPO setting "Deny Log On Locally" cannot achieve that, what alternative do we have?

Thank you


PM

Reset password using Utilman.exe on domain controller crashes the Active directory/DNS. Help me with steps to restore it

$
0
0

used windows/system32/utilman.exe and cmd.exe to reset the forgot password successfully.

The AD/DNS is broken as a result. Please help me with steps to restore the functionality

Bginfo and active directory attributes

$
0
0

Hello,

As you know the "Bginfo" use to set the computer and user information on the workstations standalone or domain users desktop's background wallpaper.

i'm thinking if i can add some of the user AD attributes on the user desktops like their "employeeID".

how can i let the Bginfo sync that attributes with the user AD?

hope you can help me.


DFS installation and connectivity issues

$
0
0

Good day Technet Team,

I am currently setting up DFS with replication on Windows 2012 R2, the share was established between two file servers however when specifying the namespace server an error is prompting the following error "Cannot connect to the lab.*****.com domain". The two file servers are existing on the same domain and the DFS feature was installed on both application servers. Can anyone assist?

Viewing all 31638 articles
Browse latest View live


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