No one intends this but it is a problem that sooner or later you will be come across in your system administrator career. I’ve see this resolved many different ways, but I like to narrow it down to a particular OU. Depending on your case you may want to clean this across the board in…
Quest AD PowerShell cmdlets
I had trouble finding the Quest AD Powershell Cmdlets today. I knew Quest got acquired by Dell but I thought that my favorites would have still worked. Anyways, after a little of digging on the internet i was able to find them. It is now called ActiveRoles Management Shell for Active Directory  Here is the link: ActiveRoles…
Microsoft IIS: Disabling the SSL v3 Protocol
Depending on how your Windows servers are configured, you may need to disable SSL v3. Note that older versions of Internet Explorer may not have the TLS protocol enabled by default. If you disable SSL versions 2.0 and 3.0, the older versions of Internet Explorer will need to enable the TLS protocol before they can…
Outlook: Removing Copy from all the Calendar entries after importing from PST
This article applies to Outlook 2007 and 2010. If you are experiencing this issue with other mail clients, please contact Support. The “Copy” prefix is usually added to calendar items when items are imported from a PST file or copied from another calendar. To avoid this happening move items to the calendar instead of importing:…
Enabling ActiveSync for a Security Group using Powershell
1 2 3 4 5 6 |
$users = Get-ADGroupMember "AD Group with Users to be Enabled for ActiveSync" foreach ($line in $users) { $user = $line.samaccountname Set-CASMailbox $user -ActiveSyncEnabled:$true Get-CASMailbox $user | Select-Object Name, ActiveSyncEnabled } |
Disabling ActiveSync for a Group of Users using Powershell
I have tested this only in a Hybrid environment. Create a Universal AD Security Group called O365_Disabled_ActiveSync_Users. Add all the members to it. Make sure it has an email address that registers in Office365. Connect to Office365 via Powershell ISE:
1 2 3 4 5 |
Import-Module MSOnline $O365Cred = Get-Credential $O365Session = New-PSSession –ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $O365Cred -Authentication Basic -AllowRedirection Import-PSSession $O365Session Connect-MsolService –Credential $O365Cred |
Copy the following code in a file called DisableActiveSync.ps1 and run in powershell. Add…
nvvsvc.exe C++ Runtime Error
If you are getting this error you will be getting a black screen and a mouse pointer only. This will be the same even if you login to safe mode or low graphics mode. Here is the fix: If you have another OS installed in the system (you have a multiboot system): 1. Log-in to…
Exchange 2007: Give a user full access to all mailboxes
The following command will give full access to the Mailbox database including future mailboxes when they are created. Just change the name of the Mailbox Database to yours and the name to the one you wish to use
1 |
Get-MailboxDatabase -identity “Mailbox Database†| Add-ADPermission -User "Trusted User"-AccessRights GenericAll |
Now access to all mailboxes:
1 |
Get-Mailbox -ResultSize Unlimited -Database "Mailbox Database" | Add-MailboxPermission -User "Trusted User" -AccessRights FullAccess |
For Send As:
1 |
Add-ADPermission -Identity "Mailbox Database" -User "Trusted User" -ExtendedRights Send-As |
For Recieve As:
1 |
Add-ADPermission -Identity "Mailbox Database" -User "Trusted User" -ExtendedRights Receive-As |
In exchange…
Windows: Remove hidden NIC
Applies to Windows 2003 I was getting this error after have made some change with my virtual NIC adapters. The error I was facing was this one, when I was making changes to the only NIC there was installed: The IP address XXX.XXX.XXX.XXX you have entered for this network adapter is already assigned to another…
This operation has been cancelled due to restrictions in effect on this computer.
Trying to open a hyperlink in Microsoft Office Outlook or Microsoft Office Word – you receive the following error message and subsequently cannot open the hyperlinks: This operation has been cancelled due to restrictions in effect on this computer. Cause: Upgrading Internet Explorer from a previous version or uninstalling Google Chrome can corrupt dependent registry keys….