Is the Test-ComputerSecureChannel powershell command a valid way to test the secure channel on a DC or is it only for windows client OSs? If I want to reset the secure channel on a DC can I use Test-ComputerSecureChannel with the -repair switch or should I just use "netdom resetpwd /server:<PDC.domain.com> /userd:<Domain\domain_admin> /passwordd:*"
Recommended way to test the secure channel between DCs
AD FS auditing subsystem could not register itself with the system
Trying to configure ADFS and SSO as per this article on a 2008 R2 server (domain controller) with WSS 3.0:
http://technet.microsoft.com/en-us/library/cc287811(office.12).aspx
I am getting this error when I access SharePoint:
http://technet.microsoft.com/en-us/library/cc734891(v=ws.10).aspx
In local security policy, the items show locks and the button to add users for Generate Security Audits is disabled.
I am using a domain account with admin privileges to run the related services and app pool.
ldp - bind with credentials fails on instance of AD LDS
I have a stand alone instance of LDS running on a machine that is not part of a domain. I am running ldp.exe on the same machine. When I use ldp.exe to do a simple bind with credentials (using my DN), I get the following error:
0 = ldap_set_option(ld, LDAP_OPT_ENCRYPT, 0)
res = ldap_bind_s(ld, NULL, &NtAuthIdentity, NEGOTIATE (1158)); // v.3
{NtAuthIdentity: User='CN=MrX,CN=Users,O=Microsoft,C=US'; Pwd=<unavailable>; domain = ''}
Error <82>: ldap_bind_s() failed: Local Error.
Server error:
Also, the Bind dialog box does ask for a domain which I leave blank because the machine is not on a domain.
-----------
If I try to do a simple bind with credentials (using the name of the user, MrX) I get the following error:
0 = ldap_set_option(ld, LDAP_OPT_ENCRYPT, 0)
res = ldap_bind_s(ld, NULL, &NtAuthIdentity, NEGOTIATE (1158)); // v.3
{NtAuthIdentity: User='MrX'; Pwd=<unavailable>; domain = ''}
Error <49>: ldap_bind_s() failed: Invalid Credentials.
Server error: 80090308: LdapErr: DSID-0C0904D0, comment: AcceptSecurityContext error, data 57, v1db0
Error 0x80090308 The token supplied to the function is invalid
-----------
I can do a simple bind without a pw for a successful anonymous login.
I can do a simple bind with a pw for a successful authentication as my DN.
How can I bind with credentials? and how is this different than a simple bind (where I also enter pw)?
Thanks
Domain Admin cannot see groups is AD?
Running a Stig'd Windows 2008 Server R2.
Active Directory Solved!
I just wanted to share my resolution of a pesky AD problem.
I installed AD using the Automated AD tool in Server 2008 r2.
I verified the server's DNS was working.
I had the client pointed at the server DNS.
I had the client pointed to the server WINS.
I could ping the server FQDN and Netbios name.
Still couldn't join the domain!
It kept complaining network path not found despite all the above.
Well finally I went to the server and found that the "File and printing services" was not checked.
I checked this box and VOILA!!! Finally my client can join the domain!!!
joining to domain on same computer account name
Hi,
I have a critical server. I need to reinstall it with clean installation an same name. I don't have permissions to delete computer account from AD, but I have permissions to add to domain. If I remove server from domain reinstall it and will join to domain with same name. Does this can cause any issues? Do I have to delete server computer account before joining to domain?
thank you,
how to find all the orphan computers in active directory with date and time
changing language of a child domain
Hi,
I have a Windows 2008 R2 AD running on two english ws2008 r2 domain controllers today. The original domain controller for the initial installation of this child domain were built on french version . I have installed some new domain controller for this domain with an english version and depromoted french version but the builtin acounts and groups etc are still displayed in the french language data in ADUC.
Is there any supported way to change the pereferred language for this type of data through a schema change etc to have the data only be shown in english?
The ADUC itself is fine, for example language in menus and action tasks etc. But it's the name of the accounts and groups created by the initial installation that still are in the french language.
Thanks for any help and suggestion solving the case.
Regards,
cannot install additional domain controller at this time because the RID master is offline 2008 R2
Win 7 AD 2008 Some users slow logon!!
Hi
We have some users lately, that it takes them an age to logon on DC,
OK, we have 1000's of users that this does not happen with but a few that I know off.
So, We delete the profile locally on computer, Restart and user logs in fine, Then they log off and log on and they get the 20 minute delay. Another user logs onto that PC and it logs in fine no delays.,
So what can be corrutping that profile on that PC ???
Multiple site cross forest AD Servers integration required with newly created Parent Domain forest server
We are looking to integrate all remote location AD & Exchange from newly created AD Domain server & Exchange server located in HO.
Any suggestion for which solution & steps will be more feasible for such scenario.
Account Lockout
Does anyone know whether Microsoft has released a version of ALockout.dll that works for Windows 7? I registered the .dll provided in the below link on my W7 machine and it seems it broke 'runas' functionality. I wanted to test it out as my organization is currently experiencing quite a spike in the number of account lockouts, so thought this utility may be useful in troubleshooting the issue.
http://www.microsoft.com/en-us/download/details.aspx?id=18465
Any ideas? Thanks in advance.
Single Sign ON in Office365
HI, i am planning to implement SSO with Office365, i am not clear about the requirements to achieve this.
Existing Environment - Local DC (Win2003 R2 - local domain name- branchoffice.org01).
Office 365 - i signed a trial account in office365 enterprise (domain - a123.onmicrosoft.com).
Setup :- i read thru documents understand require public domain to achieve single sign on, My query is whether i should register my existing local AD domain (branchoffice.org01) as a public domain and install & configure ADFS or i should register a separate(new) public doman to achieve this.
If you suggest i can achieve this with a separate new domain. Please help me how to configure a new domain with existing AD.
Regards
Dinesh
how to Undo udpated schema attributes from active directory schema
Hi All,
Today as i am in process of installing of third party tools where AD integration is required. I have update customizes schema ldif file to schema by using LDISDE command. Before doing update, i have taken backup of Schema in LDIF format. Where as customized attributes & classes are not updated in schema but command seems executed success. i failed in searching the objects by output. I have a query is that how do i undo the updated changes from schema in active directory.
Your help is greatly appreciated.
Regards
J D
How to create reg.pol file
Hi All,
I need to edit the registry.pol filefor a GPO located under "\\Domain\sysvol\domain\Policies\{Guid...}\User . When i browse to this path and try to edit this file directorly, GPo gets corrupt and registry settings are not loaded.
I need information how to edit and create reg.pol file??
Notify users with domain password expiration
Hi all,
Is there a way to notify a user that his domain user account password will expire in two days for example?
Also, when the password expires, will the machine joined to the domain present a change password window to the user?
How to export people's profile and terminal service profile paths
Server Replication / Promote Issues
This is a follow up to an earlier problem but while i have gotten further i am stuck.
Client Setup:
Server 1- old 2003 Server we want to decomission
Server 2 -2008 R2 SP2
Client had server one as the DC,DNS,DHCP,AD server
Server 2 was not included in this
We are trying to get everything transfered to server 2 to turn off and remove server 1.
Setup Server 2 as part of the domain, setup as DC and started bringing the rolls over.
Running AD shows all the users, so it did sync some info and we thought everything was good. Shutting down Server1 through, users can not log in as there is no way to authenticate.
Below is the results of dcdiag /v but basically it wont replicate. On Server 2, Going to ADSites&Serv and then the new server then NTDS Settings and Running Replicate Now gives me "Error occurred during attempt to connect to the domain controllerserver2:Access is Denied". Trying it from Server 1 i get Error attempting to contact domain controllerserver2: The RPC server is unavailable. May be caused by a DNS lookup problem...."
DNS is running and working fine. Servers can ping and browse each other fine.
RPC and RPS Locator services are running on Both servers. I am logged in as administrator on both servers.
Someone Suggested Removing Rolls and re-transferring, but multiple Microsoft KB docs said not to do that but was not helpful in what they did say to do.
Cant figure how where the replication problem is and how to get them to sync.
Domain Controller Diagnosis
Performing initial setup:
* Verifying that the local machine barknew, is a DC.
* Connecting to directory service on server barknew.
The directory service on barknew has not finished initializing.
In order for the directory service to consider itself synchronized, it must
attempt an initial synchronization with at least one replica of this
server's writeable domain. It must also obtain Rid information from the Rid
FSMO holder.
The directory service has not signalled the event which lets other services
know that it is ready to accept requests. Services such as the Key
Distribution Center, Intersite Messaging Service, and NetLogon will not
consider this system as an eligible domain controller.
* Collecting site info.
* Identifying all servers.
The directory service on BARKNEW has not finished initializing.
In order for the directory service to consider itself synchronized, it must
attempt an initial synchronization with at least one replica of this
server's writeable domain. It must also obtain Rid information from the Rid
FSMO holder.
The directory service has not signalled the event which lets other services
know that it is ready to accept requests. Services such as the Key
Distribution Center, Intersite Messaging Service, and NetLogon will not
consider this system as an eligible domain controller.
* Identifying all NC cross-refs.
* Found 2 DC(s). Testing 1 of them.
Done gathering initial info.
Doing initial required tests
Testing server: Default-First-Site-Name\BARKNEW
Starting test: Connectivity
* Active Directory LDAP Services Check
The directory service on BARKNEW has not finished initializing.
In order for the directory service to consider itself synchronized,
it must attempt an initial synchronization with at least one replica
of this server's writeable domain. It must also obtain Rid
information from the Rid FSMO holder.
The directory service has not signalled the event which lets other
services know that it is ready to accept requests. Services such as
the Key Distribution Center, Intersite Messaging Service, and NetLogon
will not consider this system as an eligible domain controller.
* Active Directory RPC Services Check
......................... BARKNEW passed test Connectivity
Doing primary tests
Testing server: Default-First-Site-Name\BARKNEW
Starting test: Replications
* Replications Check
REPLICATION LATENCY WARNING
ERROR: Expected notification link is missing.
Source BARKSERVER1
Replication of new changes along this path will be delayed.
This problem should self-correct on the next periodic sync.
[Replications Check,BARKNEW] A recent replication attempt failed:
From BARKSERVER1 to BARKNEW
Naming Context: DC=barkframeworksinc,DC=local
The replication generated an error (8451):
The replication operation encountered a database error.
The failure occurred at 2013-04-23 17:56:03.
The last success occurred at (never).
698 failures have occurred since the last success.
A serious error is preventing replication from continuing.
Consult the error log for further information.
If a particular object is named, it may be necessary to manually
modify or delete the object.
If the condition persists, contact Microsoft Support.
REPLICATION LATENCY WARNING
BARKNEW: A full synchronization is in progress
from BARKSERVER1 to BARKNEW
Replication of new changes along this path will be delayed.
The full sync is 0.00% complete.
REPLICATION LATENCY WARNING
ERROR: Expected notification link is missing.
Source BARKSERVER1
Replication of new changes along this path will be delayed.
This problem should self-correct on the next periodic sync.
* Replication Latency Check
* Replication Site Latency Check
......................... BARKNEW passed test Replications
Test omitted by user request: Topology
Test omitted by user request: CutoffServers
Starting test: NCSecDesc
* Security Permissions check for all NC's on DC BARKNEW.
* Security Permissions Check for
CN=Schema,CN=Configuration,DC=barkframeworksinc,DC=local
(Schema,Version 2)
* Security Permissions Check for
CN=Configuration,DC=barkframeworksinc,DC=local
(Configuration,Version 2)
* Security Permissions Check for
DC=barkframeworksinc,DC=local
(Domain,Version 1)
......................... BARKNEW passed test NCSecDesc
Starting test: NetLogons
* Network Logons Privileges Check
Unable to connect to the NETLOGON share! (\\BARKNEW\netlogon)
[BARKNEW] An net use or LsaPolicy operation failed with error 1203, No network provider accepted the given network path..
......................... BARKNEW failed test NetLogons
Starting test: Advertising
Warning: the directory service on BARKNEW has not completed initial synchronization.
Other services will be delayed.
Verify that the server can replicate.
Warning: DsGetDcName returned information for \\BARKSERVER1.barkframeworksinc.local, when we were trying to reach BARKNEW.
Server is not responding or is not considered suitable.
The DC BARKNEW is advertising itself as a DC and having a DS.
The DC BARKNEW is advertising as an LDAP server
The DC BARKNEW is advertising as having a writeable directory
The DC BARKNEW is advertising as a Key Distribution Center
Warning: BARKNEW is not advertising as a time server.
......................... BARKNEW failed test Advertising
Starting test: KnowsOfRoleHolders
Role Schema Owner = CN=NTDS Settings,CN=BARKNEW,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=barkframeworksinc,DC=local
Role Domain Owner = CN=NTDS Settings,CN=BARKNEW,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=barkframeworksinc,DC=local
Role PDC Owner = CN=NTDS Settings,CN=BARKSERVER1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=barkframeworksinc,DC=local
Role Rid Owner = CN=NTDS Settings,CN=BARKSERVER1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=barkframeworksinc,DC=local
Role Infrastructure Update Owner = CN=NTDS Settings,CN=BARKSERVER1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=barkframeworksinc,DC=local
......................... BARKNEW passed test KnowsOfRoleHolders
Starting test: RidManager
* Available RID Pool for the Domain is 4609 to 1073741823
* BARKSERVER1.barkframeworksinc.local is the RID Master
* DsBind with RID Master was successful
Warning: attribute rIdSetReferences missing from CN=BARKNEW,OU=Domain Controllers,DC=barkframeworksinc,DC=local
Could not get Rid set Reference :failed with 8481: The search failed to retrieve attributes from the database.
......................... BARKNEW failed test RidManager
Starting test: MachineAccount
Checking machine account for DC BARKNEW on DC BARKNEW.
* SPN found :LDAP/barknew.barkframeworksinc.local/barkframeworksinc.local
* SPN found :LDAP/barknew.barkframeworksinc.local
* SPN found :LDAP/BARKNEW
* SPN found :LDAP/barknew.barkframeworksinc.local/barkframeworks
* SPN found :LDAP/c556361c-2ad7-4f90-bfd2-04077debdc8e._msdcs.barkframeworksinc.local
* SPN found :E3514235-4B06-11D1-AB04-00C04FC2DCD2/c556361c-2ad7-4f90-bfd2-04077debdc8e/barkframeworksinc.local
* SPN found :HOST/barknew.barkframeworksinc.local/barkframeworksinc.local
* SPN found :HOST/barknew.barkframeworksinc.local
* SPN found :HOST/BARKNEW
* SPN found :HOST/barknew.barkframeworksinc.local/barkframeworks
* SPN found :GC/barknew.barkframeworksinc.local/barkframeworksinc.local
......................... BARKNEW passed test MachineAccount
Starting test: Services
* Checking Service: Dnscache
* Checking Service: NtFrs
* Checking Service: IsmServ
* Checking Service: kdc
* Checking Service: SamSs
* Checking Service: LanmanServer
* Checking Service: LanmanWorkstation
* Checking Service: RpcSs
* Checking Service: w32time
* Checking Service: NETLOGON
......................... BARKNEW passed test Services
Test omitted by user request: OutboundSecureChannels
Starting test: ObjectsReplicated
BARKNEW is in domain DC=barkframeworksinc,DC=local
Checking for CN=BARKNEW,OU=Domain Controllers,DC=barkframeworksinc,DC=local in domain DC=barkframeworksinc,DC=local on 1 servers
Object is up-to-date on all servers.
Checking for CN=NTDS Settings,CN=BARKNEW,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=barkframeworksinc,DC=local in domain CN=Configuration,DC=barkframeworksinc,DC=local on 1 servers
Object is up-to-date on all servers.
......................... BARKNEW passed test ObjectsReplicated
Starting test: frssysvol
* The File Replication Service SYSVOL ready test
The registry lookup failed to determine the state of the SYSVOL. The
error returned was 0 (The operation completed successfully.). Check
the FRS event log to see if the SYSVOL has successfully been shared.
......................... BARKNEW passed test frssysvol
Starting test: frsevent
* The File Replication Service Event log test
......................... BARKNEW passed test frsevent
Starting test: kccevent
* The KCC Event log test
Found no KCC errors in Directory Service Event log in the last 15 minutes.
......................... BARKNEW passed test kccevent
Starting test: systemlog
* The System Event log test
An Error Event occured. EventID: 0x00000457
Time Generated: 04/23/2013 18:33:07
(Event String could not be retrieved)
An Error Event occured. EventID: 0x00000457
Time Generated: 04/23/2013 18:33:08
(Event String could not be retrieved)
An Error Event occured. EventID: 0x00000457
Time Generated: 04/23/2013 18:33:08
(Event String could not be retrieved)
An Error Event occured. EventID: 0x00000457
Time Generated: 04/23/2013 18:33:08
(Event String could not be retrieved)
......................... BARKNEW failed test systemlog
Test omitted by user request: VerifyReplicas
Starting test: VerifyReferences
The system object reference (serverReference)
CN=BARKNEW,OU=Domain Controllers,DC=barkframeworksinc,DC=local and
backlink on
CN=BARKNEW,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=barkframeworksinc,DC=local
are correct.
Some objects relating to the DC BARKNEW have problems:
[1] Problem: Missing Expected Value
Base Object:
CN=BARKNEW,OU=Domain Controllers,DC=barkframeworksinc,DC=local
Base Object Description: "DC Account Object"
Value Object Attribute Name: frsComputerReferenceBL
Value Object Description: "SYSVOL FRS Member Object"
Recommended Action: See Knowledge Base Article: Q312862
[1] Problem: Missing Expected Value
Base Object:
CN=NTDS Settings,CN=BARKNEW,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=barkframeworksinc,DC=local
Base Object Description: "DSA Object"
Value Object Attribute Name: serverReferenceBL
Value Object Description: "SYSVOL FRS Member Object"
Recommended Action: See Knowledge Base Article: Q312862
......................... BARKNEW failed test VerifyReferences
Test omitted by user request: VerifyEnterpriseReferences
Test omitted by user request: CheckSecurityError
Running partition tests on : Schema
Starting test: CrossRefValidation
......................... Schema passed test CrossRefValidation
Starting test: CheckSDRefDom
......................... Schema passed test CheckSDRefDom
Running partition tests on : Configuration
Starting test: CrossRefValidation
......................... Configuration passed test CrossRefValidation
Starting test: CheckSDRefDom
......................... Configuration passed test CheckSDRefDom
Running partition tests on : barkframeworksinc
Starting test: CrossRefValidation
......................... barkframeworksinc passed test CrossRefValidation
Starting test: CheckSDRefDom
......................... barkframeworksinc passed test CheckSDRefDom
Running enterprise tests on : barkframeworksinc.local
Starting test: Intersite
Skipping site Default-First-Site-Name, this site is outside the scope
provided by the command line arguments provided.
......................... barkframeworksinc.local passed test Intersite
Starting test: FsmoCheck
GC Name: \\BARKSERVER1.barkframeworksinc.local
Locator Flags: 0xe00001bd
PDC Name: \\BARKSERVER1.barkframeworksinc.local
Locator Flags: 0xe00001bd
Warning: DcGetDcName(TIME_SERVER) call failed, error 1355
A Time Server could not be located.
The server holding the PDC role is down.
Warning: DcGetDcName(GOOD_TIME_SERVER_PREFERRED) call failed, error 1355
A Good Time Server could not be located.
KDC Name: \\BARKSERVER1.barkframeworksinc.local
Locator Flags: 0xe00001bd
......................... barkframeworksinc.local failed test FsmoCheck
Test omitted by user request: DNS
Test omitted by user request: DNS
Bob Karon Computer Solutions www.INeedBob.com
DC to test environment
Hi guys,
We're planning to setup our testing environment which will model the production network as close as possible.
We have setup the network/routers for the testing and it's working ok.
Now the focus is on the domain restore.
Our production contains one domain with two sites: CHINA site and USA site;
USA site has 2 DC: USDC1, USDC2;
USDC1 holds the naming master and schema mater, USDC2 holds the PDC,RID and IM;
China site has 1 DC: CNDC1;
All DCs are GC;
We use windows server backup to backup each DC every day contains system state and C;
Now here it goes:
Do you have any suggestions on how to setup the DCs accordingly in the testing network?
We're planning to use Windows Complete PC Restore to restore the DC backups to the testing machine: USDC2 will be using a physical server, USDC1 and CNDC1 will be VM; will this work?
Which DC do i need to restore first? any other considerations?
Weicong888
Delegating the ability to trust a computer for delegation
I'm currently attempting to allow an administrator of a delegated OU (so, full-control in test and as-good-as in production to a specific OU, but not a domain admin), to trust computers for delegation to specific services on other computers. This particular case is in relation to exchange.
When he attempts to add a server on the 'delegation' tab, he can click the 'trust this computer for delegation to specified services only' and 'use any authentication protocol' radial buttons, and add the relevant service and computer, but receives an 'access is denied' when he attempts to apply.
As a domain admin I can do it just fine. According to these technet articles:
http://technet.microsoft.com/en-us/library/cc739764(v=ws.10).aspx
'or you must have been delegated the appropriate authority'
http://technet.microsoft.com/en-us/library/cc780217(v=ws.10).aspx
'To delegate this right, assign the Enable computer and user accounts to be trusted for delegationuser right to the selected individuals'
In detail here:
http://technet.microsoft.com/en-us/library/cc960177.aspx
Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Enable computer and user accounts to be trusted for delegation
Suggests it may be possible to delegate this access without making him a domain admin? However when I tested a user with:
- full control to the server object
- full control to the the destination/trusting server object
- and the specified computer group policy setting applying to the selfsame user
- after a gpupdate,
the same access denied message is returned.
The reason I want to avoid needing domain admin credentials for this is that we have several delegated server and application teams in a single domain, ideally they should be able to configure their own servers to the fullest extent including settings like this, while being unable to touch other teams servers.
The closest related question involves setting delegation to any service, for kerberos only, which is a modification to user account control via vbscript:
This is probably less granular than required, and ironically even though my test user can read and write the useraccountcontrol attribute for the object in question according to 'effective permissions' from advanced security, the access can still not be configured through the AD delegation tab radial button 'Trust this computer for delegation to any service (Kerberos only)'. Trying to modify via ldifde returns:
Add error on entry starting on line 1: Insufficient Rights
The server side error is: 0x522 A required privilege is not held by the client.
The extended server error is:
00000522: SecErr: DSID-031A1190, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
Please don't hesitate to let me know if I can clarify.
Cheers, Bruno