Access Denied to Roaming Profiles

By default the roaming profiles folders for users are only allowed access from the SYSTEM and the user themselves. This can be prevented in Group Policy ahead before the folder is created, Computer Configuration, Administrative Templates, System, User Profiles, Add the Administrators security group to roaming user profiles. However if you haven’t done this and…

Read more Access Denied to Roaming Profiles

The Wireless

The Wireless is an online commercial free radio station coming out of Sydney Australia. You can listen to the stream on a broadband connection. We stream in a format called AAC+, this allows us to stream at half the bandwidth of MP3 & Windows Media formats, but keeping the same quality of sound. To listen,…

Read more The Wireless

X-Lite Dial Plan

I had a problem where in imported all my contacts from Outlook to Counterpath’s X-Lite, however all of my numbers had +61 before the number, and all my calls were failing. Network error etc etc. My dial plan originally was: #1\a\a.T;match=1;prestrip=2; This was default, so I changed it to add in another match, see below:…

Read more X-Lite Dial Plan

Robocopy

To move files & folders from one location to another without security: robocopy <source_directory> <target_directory> /TEE /E /MOVE /R:2 /W:1 /LOG+:c:\LOG.txt To copy files & folders from one location to another with security: (to copy without security, don’t include /copyall) robocopy <source_directory> <target_directory> /copyall /E /B /R:2 /W:1 /LOG+:c:\LOG.txt /TEE To copy files & folders…

Read more Robocopy

CSVDE & LDAP queries

To export information from Active Directory using CSVDE, LDAP queries are used with CSVDE. Also, LADP queries can be used in Active Directory (AD) Users and Computers, there’s a section at the top called Saved Queries. You can right click on Saved Queries to create a new Query > click Define Query > select Custom…

Read more CSVDE & LDAP queries

Exchange 2007 PowerShell commands

Getting and Viewing data from Powershell When viewing information from the Exchange Management Shell, sometimes all the information is bunched up like this: Identity             User                 AccessRights        IsInherited Deny ——–             —-                 ————        ———– —- nativeconnections… NT AUTHORITY\SELF    {FullAccess, Rea… False       False nativeconnections… NATIVECONNECTIO\E… {ReadPermission}    True        False nativeconnections… NATIVECONNECTIO\E… {FullAccess}        True        True nativeconnections… NATIVECONNECTIO\D… {FullAccess}        True        True…

Read more Exchange 2007 PowerShell commands

Removing disconnected mailboxes in Exchange Server 2007

Exchange Server 2007 doesn’t allow us to purge the disconnected mailbox. In order to remove one or multiple disconnected mailboxes we can be performing these steps: Listing all disconnected mailboxes Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid Removing a single entry Remove-Mailbox -Database <Database-Name> -StoreMailboxIdentity <MailboxGuid> -confirm:$false Removing all users at…

Read more Removing disconnected mailboxes in Exchange Server 2007