Posts

Global Address List Creation Error For Separate Domain

Sometime it is necessary to create separate address list for the users of different domain.But it might throw the following errors at the time of global address list creation. Error: WARNING: One or more global address lists were missing from the Active Directory attribute.  This is likely caused by using legacy Exchange management tools to create global address lists. Active Directory operation failed on test-DC1.changed.domain.com. This error is not retriable. Additional information: The  name reference is invalid. This may be caused by replication latency between Active Directory domain controllers. Active directory response: 000020B5: AtrErr: DSID-0315286E, #1:     0: 000020B5: DSID-0315286E, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 907ff (globalAddressList2)     + CategoryInfo          : NotSpecified: (0:Int32) [New-GlobalAddressList], ADConstraintViolationException   ...

Printer Showing Offline Suddenly But Printer Shows Ready Status on Webpage

Windows Servers automatically enables SNMP support for networked printers, and if it can’t get a response to a SNMP message then it assumes the printer is offline. SNMP stands for Simple Network Management Protocol and is a way of getting information from network devices (such as routers, servers and printers), mainly for the purposes of finding out if there are any problems with the devices. A number of networked printers implement SNMP, and will respond to SNMP queries with information, but some don’t.and will never get a response to a SNMP message. Thankfully there is a simple way to fix this – and it just involves telling Vista not to try and communicate with the printer via SNMP. Simply right-click on the printer in the Printers window, choose the Ports tab, and select Configure Port . At the bottom you will see a checkbox saying something like SNMP Status Enable . Untick that, and the printer should start showing as online again.

Organizational unit blank in Exchange admin center

Image
Sometimes we face error " Organizational unit blank" while creating new mail account in ecp .The reason why organizational unit is blank is that ECP web application has a limit of not displaying more than 500 organizational units. Error:       Please follow the below steps to solve the issue: Step 1: PLease check the no of  organizational unit whether it has exceeded the default value 500.                       Command:  ( Get - OrganizationalUnit - ResultSize unlimited ) . count Step 2: If  more than 500 than please delete some OU which is not necessary or redundant.Otherwise,please modify each servers web.config file (Path: \\<server>\c$\Program Files\Microsoft\Exchange Server\V\ClientAccess\ecp\web.config) by adding the following code.   < ! -- allows the OU picker when placing a new mailbox in its des...

Virtual Machine Movement issue with access denied problem

Virtual Machine Movement: Sometime we migrate the VM from one physical host to another physical host by exporting and importing.However,sometimes we face "access denied" problem while try to start VM. Please run the below powershell COMMAND: icacls "E:\Hyper-V\Virtual Hard Disks\Harddisk.vhdx" /grant "NT VIRTUAL MACHINE\B4E6983D-1A09-4DE2-B7A6-DD00132EE065":(F) For details : https://charbelnemnom.com/2014/08/an-attempt-to-initialize-vm-saved-state-failed-could-not-create-or-access-saved-state-file-hyperv-scvmm/

Unable to Delete Folder and Could not find this item

Sometime you had this same problem using Server 2012 Std  or Server 2012 R2 . Iyou tried various options of taking ownership of the parent folder because the Security properties of the folder. you tried  trying to delete were blank, using CMD and Dir /x etc. you even tried sharing the parent folder and then delete it. None of them worked. When you tried Dir /x Server 2012 or 2012 R2 doesn't show the 8 character filename with the ~1. you tried typing it in yourself, but that didn't work either. you then found that there was a space at the end of the folder name. you then tried all the CMD options again using a space, still no luck. This solution should help  you out: Open CMD and then type: rd /s "\\?\D:\bad\folder\path " example: rd /s "\\?\D:\Sharedata\folder1\folder2 " - note the space after folder2 as per the space in the folder name. Obviously D: is the drive that has the folder on it. This worked for me

Power shell script for getting users information from Active Directory

Get-ADUser -Filter * -Properties sn, DisplayName, mail, Title, Mobile| where {$_.enabled -eq "True"} |select sn, DisplayName, mail, Title, Mobile | Export-CSV "C\Mobile_Information.csv"

Power Shell Script For Creating Bulk Users in Active Directory

Power Shell Script for creating bulk users from CSV in Active Directory.All the Column name should be available such as SamAccountName,DisplayName,GivenName,Surname and more. ᐅ Import-Csv .\Users.csv | foreach-object { $userprinicpalname = $_.SamAccountName + "@ contoso.com "; New-ADOrganizationalUnit -Name Hardware -Path "ou=IT,dc=dc1,dc=com";New-ADUser -SamAccountName $_.SamAccountName -UserPrincipalName $userprinicpalname -Name $_.name -DisplayName $_.name -GivenName $_.cn -SurName $_.sn -Department $_.Department -Path $_.path; Set-ADAccountPassword -identity $_.SamAccountName -NewPassword (ConvertTo-SecureString -AsPlainText $_.Password -Force) -Reset ; Enable-ADAccount -identity $_.SamAccountName; Set-ADUser -Identity $_.SamAccountName -ChangePasswordAtLogon $true}