Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus
Citrix Certified

Archive for the ‘Windows’ Category

Lost trust on my Exchange 2010 after revert to a older snapshot

Friday, May 18th, 2012 Posted in Exchange, Windows | No Comments »

I was returing to an older snapshot of my Exchange servers. But when i want to logon to the Exchange server, it came with "Trust relationship has been lost with domain controller". Normally you just rejoin the domain, but this is ...

Exchange 2010, show permission on all folders in all mailboxes

Tuesday, May 15th, 2012 Posted in Exchange, Powershell | No Comments »

Here is a script, that runs though you Exchange server, and return all permission on all folders in all mailboxes. The script needs to be running from the Exchange management Shell, and will create a subfolder in c:\ call ExchangeMailboxPermission, where ...

Exchange 2010, powershell full access and send-as permission

Monday, May 14th, 2012 Posted in Exchange | No Comments »

To get a CSV file, from you exchange with full access and send as permission, from all you mailboxes run these commands: Full Access Get-Mailbox | Get-MailboxPermission | where {$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_.IsInherited -eq $false} | Select Identity,User,@{Name='Access Rights';Expression={[string]::join(', ', ...

Citrix Provisioning Server “An unexpected MAPI error occurred.” when you try to change an image mode

Tuesday, May 8th, 2012 Posted in Citrix | No Comments »

When you change the mode from private to standard, you may get this error: “An unexpected MAPI error occurred.”. If you click on "More details", there stand: ”Failed to map vDisk, no Driver.". The solution to this problem could be, changing the the ...

There is not enough space available on the disk(s) to complete this operation

Saturday, March 31st, 2012 Posted in Windows | No Comments »

When you want to resize the disk in Windows 7, server 2008 or server 2008 R2, you might get this warning: Error: there is not enough space available on the disk(s) to complete this operation This could be fixed by the following ...

Change SQL Collation

Friday, March 23rd, 2012 Posted in MSSQL | No Comments »

Steps for chaning Collation: Take backup of Databases and logins. Detach all databases execpt system databases. (All users databases) Find the SQL server installation path (Root of the CD) Run this command: Setup /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=MSSQLServer /SAPWD=Qwerty123 /SQLSYSADMINACCOUNTS="administrator" /SQLCollation=SQL_Scandinavian_Cp850_CS_AS /QUIET - Run it as a sillent ...

Get SQL Collation and Version

Friday, March 23rd, 2012 Posted in MSSQL | No Comments »

SQL Query: SELECT @@version as 'server version' Select SERVERPROPERTY('COLLATION') as 'server collation'

Powershell: Get all email aliases for a mailbox account on Exchange 2007/2010

Monday, March 19th, 2012 Posted in Exchange | No Comments »

Get-Mailbox -id KennethDalbjerg | select-expand EmailAddresses | %{$_.SmtpAddress}

Problems with GPO and mapped network drive and shortcut

Thursday, March 15th, 2012 Posted in GPO, Windows | 3 Comments »

Today i have to create a GPO with a shortcut to an already mapped network drive. Both the Shortcut and the mapped Network drive is created by GPO. The mapped network drive mapped fine, but the shortcut wasen't created at all. The ...

Terminal server, Redirected folders and PDF Creator problems

Tuesday, February 21st, 2012 Posted in Windows | No Comments »

Today i have installed the programs PDF Creator on a Terminal servers, Windows 2008 R2. But it will only run under the administrators account. Some search for errors lead me to that it could be that PDF Creator creates is temp ...