RDS 2012: Profile Disks and Temp Profiles

Still need to find out how to clean up the uvhd files.

* * * Anand * * *

The huge pain with using Profile Disks in Windows Server 2012 RDS is to dealing with TEMP profiles. When the user’s profile corrupts and started creating TEMP user profiles, Admins has to deal with fixing the issue and it’s NOT easy. But if you want to know how to fix it, here it is.

1. Delete User’s profile disk (.VHDX). To find the user’s correct profile disk, you have to check the NTFS security tab in properties of the xxxxx.vhdx file.

image

2. Check all Remote Desktop Session Host servers C:Users folder to check which server has the corrupt user profile. (hint: check sessionhostc$users from your computer)

3. Once you find the server, Remote desktop to that server. You will see the following event log message on that server in System Logs.

Remote Desktop Services could not apply a user desktop for a user account with a SID of <GUID>. A…

View original post 85 more words

Microsoft Azure Architecture Blueprints & Free Visio Symbols

Build Azure

AzureBlueprintThumb2

Microsoft distributes some really nice looking Azure architecture diagrams / blueprints (like the one on the right) in various materials and even includes them in keynotes, presentations and other places. These really seem like they must be created with Photoshop by a graphic designer. However, this is not the case.

These architecture diagrams are created using Visio! If you have Visio, you too can get your hands on the various assets necessary to create your own awesome architecture diagrams like these!

View original post 152 more words

Use Netstat to check if a port is listening

I should have put this handy long time ago.  There is situation that we need to know if a special port on a server is listening, then we can see if need to open firewall, etc.  So the command netstat is our friend.

Simple way to use netstat is:

>netstat –ano | more

It will show all the listening ports in numerical form, and the process ID that is listening.

Another way is use find:

>netstat –an | find “:3389”
TCP    0.0.0.0:1367           0.0.0.0:0              LISTENING

I will add some Linux command later.

BlackBerry Q20’s file system

Have the new BlackBerry Classic, a.k.a. Q20, for almost four months.  It has personal space and work space, quite isolated to each other.  The trouble I discovered earlier is that all screenshots go to work space so they are not easy to share in the social media apps, which can only install in the personal space.

Since last week, I saw a more serious problem.  When it connected to a Windows machine, the flash drive that used to connect to and could be seen in Windows no longer worked.  Windows could briefly show the used and free space of it, but no folder can be opened.  Neither my home desktop or work laptop was working, so I tried not to think this is some restriction put on from BES recently.  Even worse, this morning I found none of the MP3 music in BlackBerry was working – the player could not recognize the file format although it knew the suffix of the files.

One thing I tried and it worked is the very old trick – Reboot.

Mobile device also need to reboot once a while, even BlackBerry 10 or Apple iOS.  Lesson learned.

[Repost] Add Connection Profiles to Cisco AnyConnect Secure Mobility Client

August 19, 2014

I enjoy the new VPN client, it’s small and fast, however I hated that you can’t save profiles in the drop down list like you could in the traditional VPN client.

VPNNoProfile

This has been bothering for a long time and kept finding conflicting information on if this was possible or not. Finally got it to work.

VPNProfiles

This is for version 3.1x and Windows 7 let me know if this works for your version and OS.

  • Create a preferences.xml file in C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client\Profile\
  • Use this format

<?xml version="1.0" encoding="UTF-8"?>

<AnyConnectProfile xmlns="http://schemas.xmlsoap.org/encoding/">
<ServerList>
<HostEntry>
<User>dclouduser</User>
<SecondUser></SecondUser>
<ClientCertificateThumbprint></ClientCertificateThumbprint>
<ServerCertificateThumbprint></ServerCertificateThumbprint>
<HostName>dCloud</HostName>
<HostAddress>dcloud-rtp-anyconnect.cisco.com</HostAddress>
<Domain></Domain>
<Group>ssl_url</Group>
<ProxyHost></ProxyHost>
<ProxyPort></ProxyPort>
<SDITokenType>none</SDITokenType>
<ControllablePreferences>
<LocalLanAccess>true</LocalLanAccess></ControllablePreferences>
</HostEntry>

<HostEntry>
<User>dmacias</User>
<SecondUser></SecondUser>
<ClientCertificateThumbprint></ClientCertificateThumbprint>
<ServerCertificateThumbprint></ServerCertificateThumbprint>
<HostName>Speech-Soft</HostName>
<HostAddress>vpn.dmacias.com</HostAddress>
<Domain></Domain>
<Group>ssl_url</Group>
<ProxyHost></ProxyHost>
<ProxyPort></ProxyPort>
<SDITokenType>none</SDITokenType>
<ControllablePreferences>
<LocalLanAccess>true</LocalLanAccess></ControllablePreferences>
</HostEntry>
</ServerList>

</AnyConnectProfile>

  • Save the file.
  • Restart the connectivity client.
  • Enjoy

~david