Possibilty to clear individual log entries in RES Workspace Manager

Posted in RES User Workspace Manager with tags , on August 15, 2014 by uniekdevries

There’s no way to delete individual log entries in the error log. It would be a nice feauture. In my case I want to clean up those entries I solved. There is also one log entry of an agent dated in the year 6273 😉 … Unless I clean everything theres no easy way (as far as I know) to delete this entry.

I posted the idea in RES Uservoice…. Maybe in the next Service Release?

Examples Exchange Server 2010 Management Shell command lines Part 1

Posted in Exchange 2010 with tags , , , , on October 14, 2012 by uniekdevries

Here are some examples of Exchange Management Shell commandlines I frequently use.

Import a PST file in the mailbox of UserA

New-MailboxImportRequest -Mailbox UserA -FilePath \\server\d$\pst\UserA.pst -BadItemLimit 10

View statistics of all running import requests

Get-MailboxImportRequest -Status InProgress| get-MailboxImportRequeststatistics

Import all pst files found in de PST directory. Make sure the name of the PST file correspondends with the target username

Dir \\server\d$\PST\*.pst | %{ New-MailboxImportRequest -Name import -BatchName batch1 -Mailbox $_.BaseName -FilePath $_.FullName -BadItemLimit 10}

Import a PST file in a subfolder of the mailbox

New-MailboxImportRequest -Mailbox UserA -name Archive -FilePath “\\server\d$\archive 2011.pst” -BadItemLimit 10 -Targetrootfolder Archive2011 

Give UserB full mailbox permissions to the mailbox of UserA 

Add-MailboxPermission -Identity “UserA” -User UserB -AccessRight FullAccess

Give UserB “Send as”  permissions for MailboxA 

Add-ADPermission -Identity ‘CN=MailboxA,OU=Mailboxen,DC=domain,DC=local’ -User ‘UserB’ -ExtendedRights ‘Send-as’

Set review permissions on a user’s mailbox for a mail enabled group 

Add-MailboxFolderPermission -Identity UserA:\Calendar -user GroupB@domain.local -Accessright reviewer

How to view total size of a mailbox? 

Get-MailboxStatistics -identity UserA| ft DisplayName, TotalItemSize, ItemCount

Create a new addresslist  based on emailaddress (domain name)

new-addresslist -name AddresslistA -recipientfilter {(emailaddresses -like “*@example.com“)}

How to move Exchange 2010 database log files to other disk?

Posted in Exchange 2010, Windows 2008 with tags , , , , on September 2, 2012 by uniekdevries

We have configured 2 Exchange 2010 servers hosting 4 databases in a DAG. All databases and the log files are on different disks. Because the log disks were to small we decided to move the log files to another disk. The problem is that in a DAG configuration there is no option to move the “database path”. This option is only available after deleting all database copies. Because we didn’t want to remove the database copies we did the following on ALL DAG members:

1. Add the new log disks to the server.
2. Create the same folder structure and set all NTFS permissions.
3. Dismount all databases.
4. Stop all Exchange services.
5. Copy all log files to the new disk.
6. Start all Exchange services
7. Mount all databases

This procedure also works for moving a database to a larger disk.

Folder2iso great tool in Virtual Machine environment

Posted in Tools with tags on June 5, 2012 by uniekdevries

Folder2iso is a tool that I use to convert my folders (and it’s subfolders) into ISO’s. This works great, espesially when working with Virtual Machines. Often it is the quickest way to have files available in the VM.

You can download it here.

folder2iso

Error during PrepareSchema phase Exchange 2010 installation

Posted in Active Directory, Exchange 2010 with tags , on June 4, 2012 by uniekdevries

Before installing the first Exchange 2010 server in you organization you have to extend the Active Directory schema. This can be done by running the setup.com /PrepareSchema command from the Exchange 2010 DVD. In most cases this stage completes without errors. Except in our environment ;-(

The following error occured:

“There was an error while running ‘ldifde.exe’ to import the schema file ‘C:\Windows\Temp\ExchangeSetup\Setup\Data\PostExchange2003_schema18.ldf’. The error code is: 8245. More details can be found in the error file: ‘C:\Users\username\AppData\Local\Temp\2\ldif.err'”.

Looking into the logfile shows this:

Entry DN: CN=ms-Exch-Mobile-Mailbox-Policy-Link, CN=Schema, CN=Configuration,DC=domain,DC=local

Add error on entry starting on line 358: Unwilling To Perform The server side error is: 0x2114 Schema update failed: An attribute with the same link identifier already exists.

The extended server error is: 00002114: SvcErr: DSID-032603BC, problem 5003 (WILL_NOT_PERFORM), data 8468

Research learns that this error happens  occasionally.

http://tsoorad.blogspot.nl/2012/02/0x2114-schema-update-failed.html

To fix the problem I followed the instructions explained in this Microsoft knowledge base article

http://support.microsoft.com/kb/917682

To edit the .ldf files I copied the whole content of the Exchange 2010 DVD to the local disk and started setup.com from there. At first the PrepareSchema action failed again. I found out that for some reason the setup did not copied the file that I edited but used the default file. To solve this I started the PrepareSchema command and manually copied the file that I edited in the temporary directory that was created by the PrepareSchema command.

In total there were two attributes with a link identifier that already existed. Both attributes were related to the Exchange Mobile Mailbox object.

How to install .Net Framework 3.5 on Windows 2008 R2 server

Posted in Windows 2008 with tags , on April 7, 2012 by uniekdevries

As a prerequisite of Exchange 2010 server I tried to install .Net Framework 3.5 on a Windows 2008 R2 server. So I downloaded the dotnetfx35 executable and started the setup.

The setup failed with the following error:

You must use the Role Management Tool to install …

Research learned that .Net Framework 3.5 is a feature that is already included in Windows 2008 R2. You only have to enable it.

To enable it follow these steps:

Step 1

Step 2

Step 3

Teams based on IP address rule does not contain expected agents

Posted in RES Automation Manager, Uncategorized with tags on April 3, 2012 by uniekdevries

In RES Automation Manager I create teams based on IP address rules. But not all the agents I expected where member of the team. I used he following rule:

>= 192.168.100.1

<= 192.168.100.255

All the expressions need to be true.

Contacting support learned that if I wanted to know the number of computers on an given subnet, I better could use:

LIKE 192.168.1.*

Best practise: How to open Internet Explorer shortcut in new tab with RES User Workspace Manager

Posted in Internet Explorer, RES User Workspace Manager, Uncategorized, Windows 2008, Windows 7, XenApp with tags , , , , on January 31, 2012 by uniekdevries

One of our customers asked me if it was possible to automatically open two websites (Managed Applications) in two different tabs when logging on.

Because every application has it’s own Application ID, pwrgate.exe starts a new instance of the application, even though the Internet Explorer is already active.

Since there is no commandline option to open a url in a new tab (unlike Firefox; firefox.exe -new-tab <url>), starting iexplore.exe is no option. Eventually RES Support came with the solution, When starting the url directly from the command prompt, Internet Explorer opens the website in a new tab.

Remember to change the shortcut icon when presenting the new application.

“c:\windows\system32\cmd.exe /c start http://www.ressoftware.com&#8221;

 

 

Watch RES Hyperdrive in action

Posted in Uncategorized with tags on January 27, 2012 by uniekdevries

RES Software has announced RES HyperDrive, a file sharing platform designed to let workers access files outside the company firewall, across different devices, and share them with colleagues, while allowing the IT department to retain control over security.

Outlook 2010 crashes when scrolling free/busy times on Windows 2008 server based XenApp 5.0 environment

Posted in Citrix, Outlook 2010, Windows 2008, XenApp with tags , , , on January 25, 2012 by uniekdevries

We have installed Outlook 2010 in a XenApp 5.0 environment in combination with Windows 2008 server. When users open an meeting  and open the free busy scheduling view, and scroll in the calendar, Outlook crashes. In the detailed information you can see the gdiplus.dll is involved.

Research learns that there are a lot issues with the gdiplus.dll and that it can be resolved by installing a hotfix. http://support.microsoft.com/kb/971589/en-us

On the Citrix forum you can find the following threat

http://forums.citrix.com/thread.jspa?threadID=273082&tstart=0#1545823

Although the symptoms are different we solved the problem by installing  the hotfix.

Design a site like this with WordPress.com
Get started