Remko Weijnen's Blog (Remko's Blog)

About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like

Archive for the ‘Uncategorized’ Category

Announcement: Dear Visitor

If this is your first visit, take your time and look around. Here are some things you might be looking for:

Do you like my work? Did my work help you?

  • Leave a comment and tell me how it was usefull to you.
  • If you want you can make a donation with the Paypal Donate Button in the right Sidebar.

Thank you!

  • Comments Off on Announcement: Dear Visitor
  • Filed under: Uncategorized
  • I had a strange issue today: I couldn’t open any webpage in the Edge browser on my Windows 10 machine:

    Edge browser with error message "Can't reach this page"
    Edge browser: “Can’t reach this page”

    Network icon showing Internet access

    The network icon was showing that there was Internet access and a quick check on the command prompt showed that the connection (including name resolution appeared to work fine):

    Command prompt showing that ping to www.google.com works fine.ping www.google.comPinging www.google.com [172.217.168.196] with 32 bytes of data:
Reply from 172.217.168.196: bytes=32 time=15ms TTL=55
Reply from 172.217.168.196: bytes=32 time=14ms TTL=55Ping statistics for 172.217.168.196:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 14ms, Maximum = 15ms, Average = 14ms
    ping to www.google.com

    Other browsers such as Firefox (my default browser) and Chrome also worked fine but some other Microsoft applications also didn’t work such as the Microsoft Store:

    (more…)

    I had a strange error today using the Desktop App Converter with the parameters given from the Store for Business.

    The conversion would fail with the following error:

    DesktopAppConverter : error 'E_MANIFEST_USE_DEFAULT_VALUE_FAILED': Property 'Package.Applications.Application.Id' in AppxManifest.xml could not be set to the default value

    I’m not sure why this fails as the PackageName is provided by the store and should be valid. An answer on stackoverflow suggested to use a different value for the PackageName parameter and then edit the manifest.

    I don’t like this method as manual modifications of the manifest often leads to errors when submitting the application to the store.

    So let’s have a look and see why we’re getting this error.

    I searched for E_MANIFEST_USE_DEFAULT_VALUE_FAILED in the DesktopAppConverter folder and found 1 occurence in ManifestOps.ps1.

    From a look at the code it wasn’t immediately clear where the validation failed so I decided to debug it.

    (more…)

    RAD Studio Tokyo 10.2(.2) Data Collection

    Just a very quick note: I was just installing RAD Studio 10.2.2 when I noticed the installer has an Options button:

    image

    So I clicked it to see what options are available and noticed that the "Embarcadero Customer Experience Program" is opted-in by default:

    (more…)

    imageI recently (well today really) started playing with the Citrix Linux VDA. I took Ubuntu to test because I happen to like Ubuntu.

    I didn’t get it to work correctly right away though and during troubleshooting I wanted to know where the VDA is storing it’s settings.

    I found the following file /etc/xdl/ctx-vda.confwith the following contents:

    (more…)

    On forbes.com, Cookies and Ads

    Even though I try not to visit the forbes.com site anymore due to their heavy usages of ads, anti adblocker and overwhelming number of cookies they’re trying to push, sometimes however I accidentally follow a tweet that leads to forbes.com and just notice it to late.

    Besides wasting your bandwidth, mobile data and especially time there have been a few occasions were the forbes.com page was actually serving malware from their adfeeds.

    It annoys me bigtime so let’s “fix” this:

    First thing that happens upon visiting the forbes site is that you get a blurred background with a random ad or quote of the day and you need to press Continue to article:

    image

    If you open the Developer console in Chrome (Application tab) you can see that Forbes uses a cookie that expires in 24 hours. This cookie make sure that you don’t see the “welcome” ad for 24 hours:

    (more…)

    Convert Executable to PowerShell

    Recently I stumbled upon an executable that appeared to be a PowerShell script converted into an executable.

    I was curious to the actual script so I decided to have a look and see how I could convert the executable back into PowerShell.

    Having seen similar techniques to turn vb scripts and java jar’s into executables I first looked if this particular executable was simply carrying the payload in the resource section.

    I opened the executable with Resource Hacker and saw 2 resources (note that I am using a simple HelloWorld executable here in the screenshots). The first resource, named 1, is clearly a Unicode string with the title:

    Resource Hacker Screenshot showing the resources

    Resource Hacker – HelloWorld.exe

     

    (more…)

    Google Earth fix for XenApp, RDSH & Horizon

    Google Earth LogoBoth Google Earth and Google Earth Enterprise do not work correctly for multiple users on shared Hosted Shared Desktops (I still prefer to call it Server Based Computing but that’s likely because I’m an oldtimer).

    Problem summary
    So let’s look at the actual issue: the first user on a server is able to launch Google Earth but for any subsequent users on the same server Google Earth fails silently.

    Problem details
    Google Earth uses various synchronization objects such as Events and Mutexes but registers those in the \Global namespace instead of the \Local namespace.

     

    (more…)

    Citrix NetScaler LogoRecently I switched over my blog from a hoster to a self hosted VM. In my setup I am using Citrix NetScaler as a reverse proxy.

    Simular to when you’re using a 3rd party reverse proxy such as CloudFlare you will see the IP address from the reverse proxy instead of the actual Client IP Address on your webserver.

    This means that your logging will all show the same, internal, IP address and that IP Based Access Rules will not work.

    Fortunately this is easy to solve by having NetScaler add the Client IP Address in the headers and rewriting the address on your webserver.

    (more…)

    Blog improvements

    When I started this blog in 2007 (wow that’s almost 10 years ago) I went for a cheap web hoster with a reasonable performance to host it.

    In the beginning performance was acceptable but over the years it has degraded and of course user experience standards have changed.

    I decided it was time to do something about it so I’ve moved the blog from a shared platform to my own server.

    This server is running on optimized flash storage  where most writes are DeDuplicated and never actually hits the flash disks:

    image

    (more…)

    Donate


    Blogroll


    Categories


    Archives