At one customer I have implemented RemoteApp on Windows Server 2012 R2. Clients connecting to RemoteApp were Windows 7. Everything worked fine besides one computer. When I launched RemoteApp from application provided automatically using Control Panel, I received following error (This RDP file is corrupted. The remote connection cannot be started.):
When I tried to run application using Web portal everyhing worked fine.
Names of the RemoteApp contained diacritics and name was displayed in bad form:
So I tried to disable all diacritics in RemoteApp names and everything started to work as it should.
Weird things are:
- There are not limits defined on web for RemoteApp names
- There are not errors logged anywhere with saying anything about “bad name” in RemoteApp
So remember not to have any other characters in RemoteApp names besides clasis english ones.
Have a nice day,
Over the weekend I was setting up Exchange 2010 database copies using DAG. Those databases were huge (total of 3,5 TB). Line between primary and backup datacenter was 100Mbps. This migration ran over 24 hours for couple databases. When I checked the status I saw job was running 23 hours and 20 minutes:
When I have checked status in about hour and half I saw interesting time:
This happened on all databases which ran over 24 hours 🙂 So it looks like Microsoft engineers haven’t think about job running more than 24 hours 🙂
That’s all from weekend,
When you buy Windows Server 2012 R2 Datacenter edition you don’t have to activate every Windows Server 2012 virtual machine (Windows Server 2012 R2 Datacenter, Windows Server 2012 R2 Standard or Windows Server 2012 R2 Essentials.). There is new license key for Windows. It’s called Automatic Virtual Machine Activation (AVMA). You have to active Hyper-V host operating system. Then you use one of following AVMA keys for VMs on your Hyper-V hosts:
Datacenter |
Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW |
Standard |
DBGBW-NPF86-BJVTX-K3WKJ-MTB6V |
Essentials |
K2XGM-NMBT3-2R6Q8-WF2FK-P36R2 |
You use this keys using elevated command prompt on VM:
slmgr /ipk <AVMA_key>
When you do all of these steps all your Windows Server 2012 will be automatically activated. Even without access of Internet from VM.
I hope something similar will be deployed on VMWare virtualization.
More oficial from Microsoft here.
Where there is a problem with AD replication, there is most of the time problem with DNS. Most of the time there are bad DNS records or missing DNS records. There is cool utility to check DNSLint.exe from Microsoft. It is designed to do all manual check I do when trying to solve AD replication problems.
You can download it from here and also read more about it.
It’s bad it’s not included into operating system by default.
Couple days ago I migrated fileserver. We moved redirected My Documents for users on another server. We also hided these shares behind DFS namespace to make it more manageable in future. But we found out problem with this setup – offline files. Windows XP kept offline copies of old and new redirected files. We had to clean this offline data database. I setup start up script:
@ECHO OFF
IF EXIST C:\OfflineFilesClean.txt (
REM Do one thing
) ELSE (
reg.exe add “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache” /v FormatDatabase /t REG_DWORD /d 1 /f
echo Vymazane > C:\OfflineFilesClean.txt
)
This script was dedicated just for Windows XP, so I had to apply GPO using WMI filter:
SELECT * FROM Win32_OperatingSystem WHERE Version LIKE “5.1%” and ProductType = “1”
This script would work also on Windows 7 and Windows 8, but those OS didn’t have problem.
That’s all for today,
We had some problems with backup system backing up Windows Server 2012 deduplication enabled volumes. We decided to disable Data Deduplication on volume. After volume was converted back into “non data deduplication mode”, we found out that all Shadow Copies meta data was lost. It means all “Previous Versions” were lost. I really don’t see any reason to act like that, but there is probably some. It would be great if Windows warns you before you do the change. But it doesn’t 🙂
Have a nice day,
I had weird problem today. Customer called that GPO I have created to set Proxy server for Internet Explorer doesn’t work anymore on Windows 7. He was right. There was Internet Explorer 10 installed on Windows 7. Proxy configuration was made by Internet Explorer Maintenance:
This was not applied on Windows 7 Internet Explore 10, even there was eventlog it should be applied. Then I set these settings using GPO Preferences. I could create settings just for IE 5,6,7 and 8:
I have decided to create settings using Internet Explorer 8. I set all settings I wanted and saved GPO:
Nothing happened. It’s because this settings are limited to Internet Explorer 8.0. So we need to dig into XML file which handles these settings. XML file InternetSettings.xml is located at \\DOMAIN\SYSVOL\DOMAIN\Policies\{76C1E5D1-9CA6-4682-AD41-FD038DDED1E9}\User\Preferences\InternetSettings. When you open this file you can see XML file with all settings. There is one attribute called MAX which defines on which version these settings are applied. I changed it to value “10.50.0.0” and now everything works:
What a stupid work around 🙂
When you install Exchange in environment you want to allow users to log into mails using their e-mail address. If your domain name is different from your e-mail domain, you have to add UPN suffix first. More abour it HERE. Then you need to change User Principal Name into Primary SMTP Address. I wrote little script to do so:
Get-Mailbox |
ForEach-Object{
Write-Host “For: ” + $_.SamAccountName
Write-Host ” – change UPN from: ” + $_.UserPrincipalName + ” to: ” + $_.PrimarySmtpAddress
Set-ADUser -Identity $_.DistinguishedName -UserPrincipalName $_.PrimarySmtpAddress
}
Have a nice day,
Recent Comments