Latest Event Updates

Office 365 : Turn Off Directory Synchronization

Posted on Updated on

You can use powershell to turn off directory synchronization between AD-Onpremises and Office 365.

To turn off directory synchronization :

Open Windows Azure Active Directory Module for Windows Powershell ( first, you need to install, you can download it, refer to this following link https://technet.microsoft.com/en-us/library/dn975125.aspx ).

Connect to Office 365 Powershell, Type Credential user & password Office 365 :

$UserCredential = Get-Credential

Import session Msolservice and type credential user & password office 365 :

Connect-MsolService

And run this command to turn off dirsync :

Set-MsolDirSyncEnabled -EnableDirSync $false

 

Reference : https://support.office.com/en-us/article/Turn-off-directory-synchronization-for-Office-365-ee5f861e-bd48-4267-83d1-a4ead4b4a00d

Azure AD Connect Sync : Change Default Configuration Sync Interval Time

Posted on

By default sync interval time between ad-onpremises & office 365 is 30 minutes.

you can custome sync interval time use this command :

Set-ADSyncScheduler -CustomizedSyncCycleInterval 00:00:01

note : in this case i want sync interval time 1 second

now you can check use this command Get-ADSyncScheduler

Use Powershell to Add Multiple DHCP Scope

Posted on

This article will describe how to create multiple dhcp scope on dhcp server using powershell with csv.

Create CSV file, example :

Name,StartRange,EndRange,SubnetMask,Router
hrd,10.100.11.2,10.100.11.254,255.255.255.0,10.100.11.1
it,10.100.12.2,10.100.12.254,255.255.255.0,10.100.12.1
bod,10.100.13.2,10.100.13.254,255.255.255.0,10.100.13.1

after you created csv file, for example my csv file name is scope.csv.

run this command :

Import-Csv –Path C:\scope.csv | Add-DhcpServerv4Scope -ComputerName SERVERDHCP -State Active

Good luck

 

 

 

How to Know The Name and IP Address for Domain Controller on Your Organization

Posted on

Actually this article very easy, but sometime someone need this to know list of domain controller on his organization.

You can use nslookup in command-line, let’s do this :

Type Windows + R

Type cmd

Type nslookup, and than press Enter

Type set type=all, and than press Enter

Type _ldap._tcp.dc._msdcs.Domainname, where Domainname is the name of your domain, and than press Enter.

Certification Authority Web Enrollment Configuration Failed 0x80070057

Posted on

Yesterday i want install CA Web Enrollment after migrating or restoring CA, but i got error when configuring process like this :

Certification Authority Web Enrollment: Configuration Failed
Active Directory Certificate Services setup failed with the following error: The parameter is incorrect. 0x80070057 (WIN32: 87)

ca

Root Cause :
The likely issue is that the value of SetupStatus at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CertSvc\Configuration is configured to hexidecimal 6003, but should be configured to hexidecimal 6001. This is because 6003 indicates that CA Web Enrollment is already installed and 6001 indicates that it is not yet installed.

Solution :

Modify the registry SetupStatus to read 6001 and then install CA Web Enrollment. You can modify that registry setting with the following certutil command from Windows PowerShell or a command prompt run as Administrator:
certutil -setreg config\setupstatus 0x6001

 

Reference : https://social.technet.microsoft.com/wiki/contents/articles/12035.ad-certification-authority-web-enrollment-configuration-failed-0x80070057-win32-87.aspx

Enable Self Service Password Reset in Office 365

Posted on

By default user in office 365 can not change password, change password can execute by administrator.

This article will describe how to enable change password for user in office 365.

Go to Office 365 admin center, choose Azure Active Directory, klik your organization name klik configure.

Then enable for password reset like this picture.

pwd

How to Add Multiple Distribution List with Bulk Import in Office 365

Posted on

In office 365 admin not provided to add multiple group like add multiple user using csv.

But if you required to do it you can use Windows Azure Active Directory Module for Windows PowerShell. First you need to download it. refer to this following link : https://technet.microsoft.com/en-us/library/dn975125.aspx .

aad

after download windows azure active directory module for windows powershell run this command :

Type Credential user & password Office 365 :

$UserCredential = Get-Credential

Type for session Exchange Online :
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell/ -Credential $UserCredential -Authentication Basic -AllowRedirection

Import Session exchange online :
Import-PSSession $Session

Run this command to create multiple group :

Import-Csv “D:\DistributionList.csv” | Foreach {New-DistributionGroup -Name $_.name -DisplayName $_.DisplayName -Alias $_.Alias -PrimarySMTPAddress $_.PrimarySMTPAddress -Type $_.Type}

Recreate Microsoft Exchange Security Group in Exchange 2010

Posted on Updated on

Yesterday, when i checked exchange problem at my customer i got microsft exchange security group like Organization Management, Recipient Management, etc. is missing in Active Directory.

This article will explain how to recreate microsoft exchange security group.

Now Running Setup.com /preparead won’t allow you to recreate it as OtherWellKnownObjects attribute on the Microsoft Exchange Container  will be pointing to Deleted Objects , It has to be Removed

pad

i cannot remove attribute via adsi edit

cdelete

then i try to remove via LDP

type windows+R type LDP

Click Connection then connect, Click Ok if you running on the Server itself

ldp

View tree

tree

Choose > Configuration Container

confi

Now You won’t be Expand it . Unless you Bind it

Connection –> Bind

bind

Double Click on Configuration > To Expand

Scroll down to Microsoft Exchange Container > Right Click > Modify

modify

Now we got to Edit OtherWellKnownObject attribute

Attribute : OtherWellKnownObject

Choose : Replace

Click on Enter

other

Now Empty Value has been Added, Click Run

run

Now you could see in ADSI Edit Other Well known Objects have been Cleared

not-set

Now Setup.com /preparead is successful

success

and now microsoft exchange security group are back

back

Note : you need to assign access to user account exchange administrator and computer exchange server like “exchange trusted subsystem” “Exchange Servers” “organizatoin management”and others.

good luck

Upgrade Exchange 2010 SP3 : Error Message “The ‘IIS 6 WMI Compatibility’ component is required”

Posted on

Last week when upgrade exchange 2010 to sp3 at my customer.

i got this error when readliness check for client access role prerequisites.

“The ‘IIS 6 WMI Compatibility’ component is required”

iiscom

Solution :

you need to install role services IIS 6 WMI Compatibality in Server manager

iiscomin

after install iis wmi compatibality you can retry upgrade exchange 2010 sp3.

Good luck

Windows 10 computers showing on WSUS Server 2012 R2 as Windows Vista

Posted on Updated on

two weeks ago i implemented WSUS windows server 2012 R2 at my customer.

after finish process installation, windows 10 on WSUS server show as windows vista.

then i research and after read this article https://support.microsoft.com/en-us/kb/3095113 i can solve this problem.

“This update also fixes an issue in which Windows 10-based computers are displayed as “Windows Vista” on Windows Server 2012 R2 or Windows Server 2012″

you need to install update from microsoft.

update

after install update, you can solve the problem.