A network shared RemoteApp won’t start on the remote computer

When starting a windows 2008 (R2) RemoteApp from or depends on a network mapped drive you get the error “The program did not start on the remote computer.”

Solution: The problem is caused because the program is hosted on or depends on a network mapped drive. When starting a RemoteApp the program doesn’t wait till the logon script script is finished but just start the program directly and cannot find the right drive or program.
Workarround is to map the network drive persistant so it’s available before the RemoteApp program starts or create a batch file as RemoteApp so you can first map the network drive and then start the program.

Posted in Blog, Windows 2008, Windows 2008R2 at August 30th, 2010. 10 Comments.

Windows 2008 (R2) RemoteApp stays in disconnected state

When you close a Windows 2008 terminal server or Windows 2008 R2 remote desktop services RemoteApp the sessions stays in disconnected state.

Solution: Since Windows 2008 there is a local / group policy called ‘Set time limit for logoff of RemoteApp sessions’. You can set the policy for both computer as user configuration.

For windows 2008: Administrative Templates \ Windows Components \ Terminal Services \ Terminal Server \ Session Time Limits
For windows 2008 R2: Administrative Templates \ Windows Components \ Remote Desktop Services \ Remote Desktop Session Host \ Session Time Limits

Posted in Blog, Windows 2008, Windows 2008R2 at August 28th, 2010. No Comments.

Exchange 2007 ‘public folder database’ cannot be deleted

When you try to remove a Exchange 2007 public folder database after a migration to Exchange 2010 you’ll get a “Object is read only because it was created by a future version of Exchange: 0.10 (14.0.100.0). Current supported version is 0.1 (8.0.535.0).” error.

Solution: Run adsiedit.msc goto configuration container CN=Configuration , CN=Services , CN=Microsoft Exchange , CN=First Organisation , CN=Administrative Groups , CN=Exchange Administrative Group (FYDIBOHF23SPDLT) , CN=Servers , CN=EXCHANGE2007SERVER , CN=Information Store , CN=Second Storage Group delete the CN=Public Folder Database.

Posted in Blog, Exchange 2007, Exchange 2010 at August 27th, 2010. No Comments.

Logon issues Windows 2008 R2 Remote Desktop Services

Problem 1: When logging on to a Windows 2008 R2 Remote Desktop Services (former known as Terminal Services) you get the a balloon messages saying a temporary profile is loaded. Changes to the profile are not saved by exiting.

Solution: Backup all data in “%SystemDrive%\Users\UserName” or just rename the folder with .bak at the end. (if this is the first time you try to logon with this account there will be no folder with this username.)
Then start the registry editor and browse to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ ProfileList here you will find all user SID’s logged on to this RDS server. You will find here a subkey know as SID.bak take a look probably this will be the key of the user you get this error.
Delete this key and close registry editor (If you are not sure, first make a backup/export of the key before deleteing is). Then logoff and logon again.

Problem 2: When you try to logon to a Windows 2008 R2 Remote Desktop Services (former known as Terminal Services) server, you get the error: “The Group Policy Client service failed the logon.” “Access is denied.” and you are automatically logged off.

Solution: In my case this problem was caused by a corrupted NTUSER.Dat file. I solved it by logging on as a Administrator changed the user profile to local via Control Panel\User Accounts\User Accounts Configure advanced user profile properties. Then I replaced the NTUSER.Dat from the user by the NTUSER.Dat from the temp profile.
Probably this is caused by using a Terminal Server profile that is corrupted. Another Solution could be deleting this profile and building a new profiles for this user.

Posted in Blog, Windows 2008R2 at August 25th, 2010. 5 Comments.

Acronis backup job won’t run “Failed to check the license key”

A Acronis Backup & Recovery 10 backup plan fails running on schedule or manually. When looking at the log you see a couple of errors one of the errors is the following:

Feature is disabled.

Error code: 0×640012
FeatureName = “FEATURE_ATIE10_COMMAND_LINE_TOOLS”
Tag: 0x9418A040040A4D43

When you go back to the backup plan and choose edit, you see the following error “Failed to check the license key. The key is disabled.”:

Solution: Go to the Acronis License Server Management Console and Revoke the concerning License. Then go back to the Acronis Backup & Recovery 10 Management Console. Choose Help – Change license. Choose your license server and select the license you want to use.

Posted in Acronis, Blog at August 24th, 2010. 1 Comment.

Recover deleted public folders Exchange 2010 with ExFolders

After someone (accidentally) deleted a exchange public folder in a exchange 2010 organization, you can easy recover the deleted folder using ExFolders. ExFolders is the exchange 2010 replacement of the PFDAVAdmin tool. ExFolders must be run on a exchange 2010 server and it can connect to Exchange 2007 or 2010.
Download the Exchange 2010 RTM ExFolders tool here and the Exchange 2010 SP1 version here.

To recover a exchange 2007 or 2010 public folder start the ExFolders tool. Choose file – Connect and select a Global Catalog and the public folder database where the deleted public folder was on.

Right click public folders and choose “Show deleted subfolders”

After that you will see the deleted public folders in red.

Select the concerning folder, right click and choose “Recover folder”. Recovery starts now just wait depends on the size of the public folder it can take a while.

Posted in Blog, Exchange 2007, Exchange 2010 at August 20th, 2010. 25 Comments.

Logon Failure on database while accessing or moving mailboxes

We were migrating a SBS 2003 server to a new SBS 2008 server via the swing migration method. After turning on the SBS 2008 server and temporary dc / exchange 2003 server we were not able to access or move the exchange 2003 mailboxes.

The mailbox move gives a: “The move-mailbox task for mailbox ‘mailboxname’ failed. Error: Failed to open mailbox with error: The operation failed.” error on the SBS 2008 (Exchange 2007) server.

On the Exchange 2003 server we get a: Event id 1022: “Logon Failure on database “First Storage Group\Mailbox Store” – Windows account domain\accountname; mailbox /o=domain/ou=first administrative group/cn=Recipients/cn=accountname.Error: 1144″ error.

Solution: It looks like that after forklift and update a exchange 2003 database it could take some time to connect because AD has to replicate the information between the 2 domain controllers. When this is done everything works fine. This can also occur after moving the exchange mailboxes to a the new sbs 2008 / exchange 2007 server.

Posted in Blog, Exchange 2007, SBS 2008 at August 17th, 2010. No Comments.

Certificate operation failed error on a multiple Exchange 2010 organisation

On a Exchange 2010 organisation with multiple Exchange servers, when you go to Server Configuration you get the following error: “The Exchange Certificate operation has failed with an exeception. The error message is: Access is denied It was running the command ‘Get-ExchangeCertificate -Server ‘SERVERNAME”.”

Solution: Add the “Exchange Trusted Subsystem” security group to the local administrator group on all the Exchange servers.

Posted in Blog, Exchange 2010 at August 13th, 2010. 2 Comments.

Server won’t start after a acronis tib file recovery to Hyper-V

Acronis Backup and Recovery 10 is a great tool to create images of disks, volumes or files. You can make images when windows is running and restore then easy with a bootable media to physical hardware. When using Acronis Backup and Recovery 10 Advanced Server Virtual Edition you can recover directly to a Hyper-V or other virtual machine.

To recover a image to a Hyper-V virtual machine you need to start the acronis software and choose for recover point to the image files, choose what to recover, volumes or disk.

Then choose recover to: a new virtual machine (when installed on a machine with Hyper-V role installed it automatically chooses Hyper-V as vm type)

Now you have to set the virtual machine settings. When you use Hyper-V as virtual machine type here is where to take a good look. Because Hyper-V virtual machines can only boot from a IDE hard disk type, if you choose SCSI your virtual machine wont start!

Set all further options just as you wish and you are ready to create the virtual machine. Only thing to do after the image is recoverd to Hyper-V is to attach a network card when needed.

Another possibillity when your server doesn’t start after a recovery this works for physical and virtual machines is to use the universal restore option. Create a bootable media of acronis with the universal restore option and boot from this media. During the options you can choose to use universal restore. With universal restore you are able to restore a image on a different piece of hardware because it detects what hardware is used and updates the Hal. After that you even have the option to install or update disk, raid controller drivers, so your operating system can boot with the right drivers of your new hardware.

Posted in Acronis, Blog, Hyper-V at August 11th, 2010. No Comments.

Default gateway disappears after restarting SBS 2008 server

Everytime you restart a Small Business Server 2008 the default gateway disappears.

Solution: When you take a look at the following registry key: HKLM/System/CurrentControlSet/Services/Tcpip/Parameters/Interfaces/ CLSID of the network card this is happening for, you’ll probably notice it by viewing the ipaddress value. Then open the “DefaultGateway” value. In our case you see the default gateway but above it there is an empty line. After removing the empty line, restarting works fine and the problem didn’t occur anymore.

Additonal information can be found on the official SBS blog

Posted in Blog, SBS 2008 at August 8th, 2010. 2 Comments.
Sharing Buttons by Linksku