Archive for the ‘Microsoft’ Category

Tip: Fixing Windows 8.1 Pro or Windows 8 Pro Workfolder sync errors 0x80072ee2 and 0x80c80203

Sunday, December 14th, 2014

Hi Folks,

you are using the Workfolder feature with Windows 8.1 Pro or Windows 8 Pro incl. Enterprise? For a few devices the download sync works fine but uploading files result in the error 0x80072ee2 or 0x80c80203? (Error codes can be reviewed in the Eventlogs->App and Service Logs->Microsoft->Windows->Workfolder).

These errors can happen if you are using the Hyper-V Role coming with Windows 8.x Pro and Enterprise, a virtual Switch is assigned to the WiFi Card and you are using the WiFi connection for the Workfolder sync. To fix it just remove the Virtual Switch thru the Hyper-V console and retry the sync, it should work now.

You can also receive other errors.. Like unstable Remote Desktop connections as example.

Cheers

Michael

P.S.: Other reasons for a failed sync could also be possible, but this is currently the main reason that i found. Connections thru a Hyper-V Virtual Switch assigned to a regular ethernet card could not be reproduced during my tests.

Tip: How to use RDP8 with Windows 7 and Windows Server 2008R2

Friday, December 12th, 2014

Hi Folks,

already some time ago Microsoft released some updates for Windows 7 and Windows 2008R2 to make RDP8 available. This is a great advantage but a bunch of Administrators did not note it. So give it a try: RemoteFX Update for Win7/2008R2

It will provide you a lot of more features and it’s work to test it incl. with the IGEL LX/OS RDP Client.

At this point i would also like to announce a new small upcoming tool from cloud-client.info that will be released soon. This tool will provide you a lot of configuration options for the RDP Protocol and some related configurations incl. a simple way to import and export a bunch of RDP settings from one system to an other system or from policy to local configurations incl. the easy handling of several configurations for tests/productions/lowest network use/best user experience and much more. It is mostly designed for Windows Server 2012 incl. R2 and Windows 8 but will also work with some limitations for Windows 7 and 2008R2 incl. the RDP8 update if installed.

Cheers

Michael

Tip: Reducing Exchange 2013 storage space consumption

Friday, December 12th, 2014

Hi Folks,

maybe you already run into the situation where you notice that Microsoft Exchange 2013 consume a lot of your HDD/Storage capacity?

This is mostly related to regular log files and transaction logs for the mail database but there are some ways to gain free space again and to clean it up a little bit.

First of all there is a really cool script to delete all the old regular log files, i found some time ago in an other blog (sorry i did not found the blog to name it as source, if the author read this please contact me to give you the credit!)

Set-Executionpolicy RemoteSigned

$days=7 #You can change the number of days here

$IISLogPath=”C:\inetpub\logs\LogFiles\”

$ExchangeLoggingPath=”C:\Program Files\Microsoft\Exchange Server\V15\Logging\”

Write-Host “Removing IIS and Exchange logs; keeping last” $days “days”

Function CleanLogfiles($TargetFolder)

{

if (Test-Path $TargetFolder) {

$Now = Get-Date

$LastWrite = $Now.AddDays(-$days)

$Files = Get-ChildItem $TargetFolder -Include *.* -Recurse | Where {$_.LastWriteTime -le “$LastWrite”}

foreach ($File in $Files)

{Write-Host “Deleting file $File” -ForegroundColor “Red”; Remove-Item $File -ErrorAction SilentlyContinue | out-null}

}

Else {

Write-Host “The folder $TargetFolder doesn’t exist! Check the folder path!” -ForegroundColor “red”

}

}

CleanLogfiles($IISLogPath)

CleanLogfiles($ExchangeLoggingPath)

Copy the code and create a new cleanup.ps1 txt file and insert it, than execute the script thru Powershell (in Admin mode) and that’s it. The only modification done by myself is the day variable, thru this variable you can modify how old logs must be you want to delete. In this sample i delete all log files older than 7 days.

The second big storage killer are the mail database transaction logs.. There are two ways to handle it.

1) Use Windows Server Backup (Feature Role in Windows Server) and create a backup by following this article Exchange Backup. You can exclude all not needed folders like the Windows folder and so on. This scenario is mostly recommended for medium or large environments and is the save way to deal with transaction logs. Once the backup is done the transaction logs will be removed from the mail database folder and this can free a lot of space.

2) For smaller environments you can also use an other way, this way is less secure regarding the fact that this can result in a (small) dataloss. If you open the Exchange Management Console (ECP) browse to Server->Mail Database settings and edit the mail database settings (see picture below).

exchange2013opt

 

In the maintenance configuration enable circular logging, this will only create a few transaction log files that will merged into the database. Disadvantage: This way will consume some performance during the regular run/use time for the log file handling/merge. If the server crash it might be that the you loose some informations which are not merged into the database. Typical situation where i use this are smaller SMB Exchange scenarions running in a virtual Environment where the Mail Server VM is “secured” in any other way, Test and Demo environments  and environments where the User amount/Mail transfer is not on a very high level. I mention this because it was a default enabled feature for older Exchange versions and sometimes Administrators run into a storage trap after they upgrade there environment and be not aware about this changed default behavior.

Have Fun

Michael

P.S.: Everything on your own risk like everytime… 🙂

Tip: How to optimize the Adobe Acrobat Reader for Terminal Server / VDI use

Monday, December 1st, 2014

Hi Folks,

do you get performance issues if using Adobe Acrobat Reader on a Terminal Server / VDI?

Here are some tweaks to improve it.. 🙂

First of all you should be aware that the Adobe Acrobat Reader works with User based settings, this is very important to know because you need to make sure that all configurations “must” be applied to the User hive in the Windows Registry. This can be done thru a Windows Login Script to apply the registry settings and so on but never forget to do it!

You also can provide the User a settings guide, but this mostly is not usable if you are working with a bunch of users and not only a small group.

So where to start? First of all you should install the Adobe Acrobat Reader you want to use, all settings provided in this guide are pure Acrobat Reader Settings so it can be used with VMWare View, Microsoft Remote Desktop Services, Citrix XenApp/XenDesktop or whatever.

Now you should start the Acrobat Reader with you administration account and open any PDF document… Try how it looks and feel during you work with the pdf file, if it not run smooth or it feels very laggy open the menu Edit->Preferences and browse to the Page Display settings. Configure the settings like shown below:

AdobeReader1

The screenshot is from Adobe Acrobat Reader Version 11, if you are using an older Version you will also have an Option “2D Graphic Acceleration”. This setting should be also disabled, disable also the “Auto Update” Feature in the Updater configuration.

Now close the Acrobat Reader and open it again and try the same test as done before, the result should be much better now.

I’ve also prepared a small registry file that contains already the needed modifications (without the disabled updates), you can download the .reg file from here: Download

Please note: The registry file is configured to be used with the Acrobat Reader 11, if used with an other Acrobat Reader Version open the .reg file with notepad and replace “11.0” with your Version like “10.0” and so on.

Have fun!

Michael

Info: Will Microsoft’s licensing change boost VDI installations?

Thursday, November 6th, 2014

Hi Folks,

some important change has been done by Microsoft to the volume Licensing, this can boost the VDI business in the future…

What was done exactly:

peruserlic

 

What does it mean? Microsoft changes the Licensing for Desktop OS’s from per Device to Per Device and Per User for Enterprise customers and allows also a installation at the same time on any device incl. Tablets. This can be a big driver for Enterprises to roll out or validate Desktop VDI Installation in the upcoming months now, it makes VDI licening much more simpler and flexible for Enterprise customers. It also includes Windows 8.1 Pro and Enterprise incl. Windows 7 and 8, so it’s not only limited to devices running Windows 8.1 Enterprise and this point could be important too.

For VDI also important is the Remote Access Right and here the Per User option comes with “Any device” access, the device licensing only offer support for “noncorporate” devices. Means the User licensing supports now also corporate owned Linux based Thin Clients or IOS/Android based devices.

One big step in the right direction from Microsoft, really nice! You can also read the full article here: VL Licensing Windows 8.1

Cheers

Michael

Tip: Free space after a lot data has been deleted/moved from a Windows Server 2012 (R2) volume with enabled deduplication

Sunday, September 14th, 2014

Hello Folks,

the last day’s i setup a new design for a storage infrastructure, in this infrastructure i’ve moved/deleted round about 6TB of data.

On some volumes was/is deduplication enabled and after i’ve moved a bunch of data away from these volumes to free diskspace the Windows Explorer still shows no “new” free space available. By default Server 2012 and R2 will free diskspace one time per week or with other words you will not get free diskspace by only deleting a file; quite simple.

So how can you force Windows Server 2012R2 to free the diskspace asap? Quite simple, start the PowerShell as Administrator and run the following command:

Start-DedupJob -Type GarbageCollection -Priority High -Volume *yourvolumehere*

After you start the job you can check the status with Get-DedupJob

Wait until the job is finished and check the free space again, it should be available now. I will not explain why deduplication is working in this way here but I did note sometimes Administrators are not aware about the way how it works and that’s the reason why i mention it here.

This is also important if using data deduplication for portable harddisks (not recommended to do so), i’ve seen this already a few times and in this case you are required to run this job manual (mostly).

Have Fun

Michael

P.S.: If you run full backup jobs on a volume like this Microsoft recommends to create a new full backup after the “GarbageCollection” Job is finished, a lot of data can be changed during this job.

P.S.2: For infrastructure’s with a high rate of moving/deleting data on volumes with enabled data deduplication i recommend to schedule one “GarbageCollection” Job per night for the affected volume. You can schedule a job quite simple with the command: Set-DedupSchedule –Name "FreeSpace" –Type GarbageCollection –Start hh:ss –DurationHours 5 –Days Mon,Tues,Wed,Thurs,Fri,Sat,Sun –Priority High

Of course the execution time should not be at the same time like a large backup job or similar.. 🙂 Replace hh:ss with the time you want to perform the job, also remove unwanted days if not needed.

Tip: Microsoft Workfolder Sync fails with error 0x80080222

Saturday, September 6th, 2014

Hi Folks,

i just got the issue with a tablet (Windows 8.1), i boot up the tablet and got a sync error from the Workfolder feature.  The error number was 0x80080222, after a research i did not found much information’s about this error. Typical it means that something with the licensing failed but all Servers incl. the tablet didn’t show any license issue and were still activated, also other devices still got no issues and worked without any error.

Funny… Only difference to the working devices was the fact that the workfolder file location was stored on a SD-Card (to save rare SSD space) and i remember that i remove the card a few hours before (device was off) to copy a file from it (not from the workfolder file folder…). So i tried to reproduce it and yep.. Same happens again, so it seams to be that the workfolder feature checks the filesystem and if something is wrong it denies to work anymore. 🙁 No workaround, just stop the use of workfolders and set it up again to get it working. Quite simple and don’t waste your time for troubleshooting.

Cheers

Michael

P.S.: Similar can happen with regular HDD’s/SSD’s if removed from the device and attached to an other one (to take a backup or whatever). I would like to get a more detailed error description or a hint at Microsoft TechNet but i did not found any article related to the issue.

Whitepaper: How to use the IGEL Linux together with the Microsoft Remote Desktop Connection Broker

Friday, August 29th, 2014

Hi Folks,

very often i’ve been asked how to setup the RDP Client coming with the IGEL Linux to use the Microsoft Remote Desktop Connection Broker in the right way.

So here is a new Whitepaper how to setup this step by step, the Whitepaper is based on a Windows Server 2012 R2 environement and the current IGEL Linux Firmware 5.03.190.

The download is available here: Download

Cheers

Michael

Info: cloud-client.info App is now available in the Windows Store

Friday, June 27th, 2014

Hello Folks,

since today the cloud-client.info App is available in the Windows App Store, you can download it for free here: CCI App

cciapp

 

No Ads, No in app sales of course.

Have fun!

Michael

 

Solution: Why iam using a Nokia Lumia now…

Wednesday, June 11th, 2014

Hello Folks,

today i discussed this with a few guys and why not write this into an article.

A few reasons why a Nokia Lumia / Windows Phone is the best enterprise phone in my opinion.

1) Updates, Microsoft don’t deal with Software Updates like other Vendors (Samsung with Android as example!). Mobile Providers have to agree, different updates by region? Forget it! If the update is available you will get it and this really is a benefit and the main reason why i kicked out all Android based devices.

2) Worldwide (yes.. worldwide!) offline navigation is included. You are traveling a lot.. Don’t get a Map for the UAE, Brazil or whatever for your Navigation Software or the Vendor  want to charge you (again). Not an issue with a Windows Phone 8.x, it already comes with a good offline navigation software called Here Maps or HereMaps+ (Windows Phone 8.1) for free incl. “offline” maps for 97 countries.

3) Dual Sim support, all new Nokia Mobiles are coming with a dual sim option by design and for only a few $.. Want to cut roaming cost? Here you go. Like 1) i call it the “Beat Mobile Provider” initiative and like 2) it’s very useful if you travel a lot.

4) Want to use mail? How much exchange connections can your current mail client handle? Want to use googlemail or whatever, just compare it to other mail clients and you will see the difference.

5) Nokia is the master of Mobile Phone device design.. For example if you get a Lumia 630 which is a very fast entry level phone, check out the case. Nobody can deal with plastic cases like Nokia (really), it feels expensive/precise with a perfect grip and well balanced weight and not like a 160€/US$ Phone. (did i already mentioned that a offline Navigation software is included?) 🙂

6) The new Universal Apps (Windows 8.1 / Windows Phone 8.1), means if you buy a Universal App you can use it with Windows 8.1 Laptops/Tablets/VM’s or Desktops and also with Windows Phone 8.1.

7) Change the region on the fly.. You want to change the region from the US to Mexico or from Germany to Switzerland? It’s just a setting (like for Windows) and not more, no region lock or useless crap like coming from other Vendors. If you move – Your device can also move and this is how it should be. Want to use cortana which is only available in the US? Change the region and install it..

These are only a few reasons and i don’t get paid for this 😉 …but iam really disappointed how Android or other solutions are used and offered as the biggest “thing” ever but big Vendors are not even able to provide similar updates at the same time for the same device worldwide; what a joke. I really like the alternative and what Microsoft is doing with Nokia at he moment and by this way, i don’t care that Android/IOS has more Games available in the Store.

 

Cheers

Michael

Tip: Hidden storage application in the Windows Store for Windows Phone 8.x

Wednesday, June 11th, 2014

Hello Folks,

you want a detailed overview about your Windows Phone Storage? ..or a way to move the maps for your offline Navigation App from internal Storage to SD-Card? Delete the Temp Files?

In the Windows Store is a very useful tool for your Windows Phone but it’s hidden and can not be found thru the Windows Store at your Phone. Just open the the following link to install the App on your Windows Phone.

 Lumia storage check

This tool is developed and provided by Microsoft Mobile and it’s not a “in App” sale, Ads or similar “worse” App. It’s only a “Beta” Version at the moment but until now i did not discover any issues with this app.

 

Cheers

Michael

Tip: Nice article how to setup a Nutanix environment with Microsoft Hyper-V

Wednesday, June 11th, 2014

Hello Folks,

i found a very nice article how to setup a Nutanix environment together with Microsoft Hyper-V here, maybe you will like it too… 🙂

Nutanix Hyper-V Cluster
Cheers

Michael

Tip: How to avoid Adobe Flash in Terminal Server/VDI environments with the IGEL LX/OS

Wednesday, May 28th, 2014

Hi Folks,

maybe you also agree that Adobe Flash content is one of the biggest crap that can be used in a Terminal Server/VDI environment. For example youtube or similar site’s mostly waste expensive Server CPU resources only for watching a “funny” video..

flashtaskbar
Yeah… One User with one HD Flash Movie use 41% of  Server CPU resources!

HTML5 is still not a big deal for most site’s, so how can you handle it?

1) Ban it… Block unwanted traffic with a firewall or proxy. This is highly efficient but will upset the user base and maybe you need it (schools/education), so mostly this option is no deal.

2) Buy more Server.. More or less efficient and very expensive (Hardware, licensing, setup and cooling). No deal!

3) Use solutions like Citrix HDX Flash Redirection… More or less efficient, hard to setup and not 100% compatible, it could be a option but it’s not a real solution.

4) Ban it from the servers… I just setup this for a PoC and it seams to be the most efficient way which is also acceptable for most users. So how is the setup?

a) You need IGEL Linux based devices (LX or OS) based on the x86 architecture to do this.

b) Setup a local Firefox browser session and deploy any Version of the Adobe Flash Player for Linux to it (Browser Plugins in the IGEL Setup).

c) Assign a Hotkey to the Firefox Browser Session like ALT+CTRL+i.

d) Setup a IIS/Webserver on any System that is not already running a IIS/Webserver

e) On the Terminal Server/VDI (i recommend to use the golden Image) site open the hosts file which is located in the Windows/System32/drivers/etc folder and edit it. Now add any Website you want to outsource, point it to the “new” Webserver. Example:

192.168.1.150 youtube.com
192.168.1.150 youtube.de
192.168.1.150 anyotheruselessflashsite.com

Do not perform this for any Website which is used for “business” uploads/work! Don’t use a DNS Server to apply the configuration, this might also point the Thin Clients to a “wrong” site… Of course you can also add Webradio Website’s, browser based games or what ever you don’t want to see in a Webbrowser on the server backend. But at all.. It’s not a security solution at all, it’s to save resources only!

f) Create a small HTML Website with a short Text like “This site can not be used on a Server/VDI! Please press ALT+CTRL+i to open the local Browser and use ALT+CTRL+TAB to switch between the Browser/Session.” or similar. Make it simple and easy to understand… Now set this HTML Page as default and 404 error page for the new Webserver (d).

g) Let the user test it… If the User enter www.youtube.com the “new” Website will open and point the user how to work with the local Browser.. For the User it looks “very” embedded into the session, not 100% but it will be good enough to watch movies for most of them.

I know this solution is also not a 100% one and it can be bypassed if the User is using the IP. 😉 ..but it’s not a security solution, the User can watch Movies and you have minimized the wasted CPU resource on your backend. It’s easy to control, high compatible and everyone is happy. From my point it’s currently the best way to handle Flash until it will be fully replaced by HTML5 or any other “better” working solution. The performance depends on the User device, a UD5 will better perform than a UD2 but still: A slow client is better than a slow server for most company environments.

Also some more benefit’s.. You can seperate client traffic from your server traffic quite simple, the customer where i suggest this mentioned that they have 10GB or more “flash” streaming traffic (only youtube) per day in the server infrastructure with a little bit more than 300 user’s. You can use it with any Terminal Server/VDI solution but please note: If using VMWare View, Microsoft RemoteFX, Citrix XenDesktop x.x / XenApp 7.5 or any other solution that support real USB redirection don’t setup USB Redirection for Human Interface Devices (HID) because in this case the Mouse and Keyboard can not be used outside the Session (…and with the local Browser).

You can also add other description’s to the created “manual” website, for example for Android press the home button and open the local Browser or similar.

If you have suggestions to improve this solution feel free to give me a mail or add a comment.

Cheers

Michael

Tip: How to add Broadcast Driver Architecture (BDA) support to Windows Server 2012 R2

Saturday, May 24th, 2014

Hello Folks,

for a project i needed to use a DVB (TV Card) device together with Windows Server 2012 R2.

One big issue here is that Server 2008/2012 (R2) do not support BDA devices out of the Box, so you can install the TV Card drivers, Direct X, and Codecs but you can never use this device thru the lack of the BDA support at all. I don’t know why Microsoft doesn’t offer the support as feature but who cares…

After some researches i found a very cool blog here: How to: Add BDA Hardware Support to Server 2012 R2.

I downloaded the package and after the Installation it works like a charm for me.

Great work, thanks for sharing this!

So if you also need to use a DVB-T/C card or USB device with Server 2012 R2 try it out and follow the instructions mentioned in the blog article.

 

Cheers

Michael

P.S.: Of course this solution is not supported by Microsoft… 🙂

Video: Surface 3 Pro.. Thinner, faster and greater. :-)

Wednesday, May 21st, 2014

Hello Folks,

the Surface Pro 3 looks to be my upcoming “Laptop” replacement. 🙂

[youtube:https://www.youtube.com/watch?v=1t7rSZT_77E]

 

Cheers

Michael

 

Tip: Where are my Windows Store Apps and Data located on my local Harddisk

Saturday, April 12th, 2014

Hello Folks,

a few times i’ve been asked where the Windows Store Apps located incl. the data for Apps (Savegames, configuration files and so on).

So here are the locations for these files:

Binary Application Data: C:\Program Files\WindowsApps
Configuration Data: C:\Users\*User Name*\AppData\Local\Packages

Check the subfolder names in these directories, it should be easy to identify the App folder that you are looking for.

If you want to backup your configuration data or maybe save games just backup the configuration data folder, you can also copy this folder to an other device, i never got an issue by doing this and I’ve done this a few times for Apps which don’t offer a “Sync” option thru Microsoft One Drive.

Please note: These folders are hidden and you need Administrator permissions to modify these folders. Do also note that you never remove an Windows App by deleting just the folder in C:\Program Files\WindowsApps, this will never be enough and can create major issues for this App.

Cheers

Michael

Tip: How to get free space for your Windows Tablet SSD / Moving Windows Applications to a SD-Card

Saturday, April 12th, 2014

Hello Folks,

maybe you sometimes need some space for your Windows Tablet SSD to install new Apps or whatever but without loosing any other Application. One way is to move an Application to the SD-Card but how?

First of all this will not work for Application installed thru the Windows App Store! So don’t touch the “WindowsApps” folder in the C:\Program Files directory, do also not touch C:\Windows folder or the folder where your Windows OS files are located. Second: I will not take any warranty if you damage you system, you do this modification on your own risk!

Steps (Administrator rights are required!):

1) Create a folder on the SD-Card where you want to move the applications, i’ve used “d:\Program Files (x86)” to identify the location in a simple way.
2) Move the application folder from the “Program Files” directory located on drive C: to the new created folder on D:, in advance make sure that no component from this folder is already running! I recommend to do this directly after a reboot.
3) After you have done this start a Windows command line with Administrator permissions (Important!).
4) Now create a Link with the commandline tool “mklink”, don’t use the “normal” way thru Windows Explorer to create the Link: This way fails during all my tests!. The mklink commandline should look like this “mklink /J “c:\Program Files (x86)\*foldername here* “d:\Program Files (x86)\*foldername here*”, replace *foldername here* with the Program folder name you have moved.
5) Verify that a link for the folder is created in c:\Program Files (x86) and start the Application thru the Start Menu do verify it’s working as it should be.

That’s it, repeat this for Applications you want to move too. If you want to move an application back to c: delete the “linked” folder in c:\program files and move the folder back from the SD-Card to the SSD/HDD drive.

I’ve tested this with VLC Media Player, Mozilla Firefox, Microsoft Office 2013, Microsoft MapPoint Europe 2013 and Microsoft Visual Studio 2013, in all cases i did not discover any issues incl. the deployment of updates. Moving Apps installed thru the Windows App Store is not possible, once the folder is moved and the link is created the Apps will not start anymore, i’ve tested this a few times and always with the same negative result; no need to waste your time with this.

Cheers

Michael

P.S.: As said… Anything you’re doing in this way is without any warranty!

P.S.: It would be great if Microsoft could add a feature in the Windows App Store to move applications quite simple and without any issues like now.

Tip: Fixing Microsoft Remote Desktop Services issue with IGEL Linux 5.02.100 and Windows Server 2008 R2 SP1

Friday, April 11th, 2014

Hello Folks,

if you have discovered issues with the Microsoft Remote Desktop Services (RDS) client coming with the latest IGEL Linux V5.02.100 Firmware you should try the following setting:

If using the IGEL Universal Management Suite (UMS) make sure the profile is optimzed for a Firmware 5.x.x.

In the setup browse to Sessions-RDP-RDP Global-Options and enable the RDP Legacy Mode, if you are using an older UMS Version and the setting is not shown in the GUI browse to System-Registry-RDP and enable RDP Legacy Mode here.

Assign the profile and restart the RDS Session, issues shown on the server (like not working RDS Services) should be gone now.

Cheers

Michael

Tip: What are the differences in the Citrix Receiver by OS?

Friday, April 4th, 2014

Hello Folks,

you want to know what is the difference in the Citrix Receiver Versions for MacOSX, Android, Windows 8 or Linux, have a look in the new Citrix Receiver Feature Matrix which is available here: Citrix Receiver Feature Matrix

Cheers
Michael

Release: Windows 8.1 / Server 2012 R2, Windows RT 8.1 Update and SQL Server 2014 are now available in the MSDN

Thursday, April 3rd, 2014

Hello Folks,

you can now download the Update for Windows 8.1 / Server 2012 R2 and Windows RT 8.1 in the Microsoft MSDN (MSDN Account required), also SQL Server 2014 RTM is available now in the MSDN.

Cheers

Michael

P.S.: It’s named as Update and not Update 1 🙂