<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>VBS on Remko's Blog</title><link>https://remkoweijnen.nl/blog/tags/vbs/</link><description>Recent content in VBS on Remko's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 19 Mar 2013 16:27:49 +0000</lastBuildDate><atom:link href="https://remkoweijnen.nl/blog/tags/vbs/index.xml" rel="self" type="application/rss+xml"/><item><title>Scriptable Citrix Password Encoder</title><link>https://remkoweijnen.nl/blog/2013/03/19/scriptable-citrix-password-encoder/</link><pubDate>Tue, 19 Mar 2013 16:27:49 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2013/03/19/scriptable-citrix-password-encoder/</guid><description>&lt;p&gt;A while ago I &lt;a href="https://remkoweijnen.nl/blog/2012/05/13/encoding-and-decoding-citrix-passwords/"&gt;published&lt;/a&gt; a tool to Encode and Decode Citrix passwords. Today I am publishing a small update to this tool that makes it scriptable by adding a &lt;a href="http://en.wikipedia.org/wiki/Component_Object_Model" target="_blank"&gt;COM interface&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;If you start the tool without parameters you will get the GUI, just like before:&lt;/p&gt; &lt;p&gt;&lt;img loading="lazy" decoding="async" title="Citrix Password Hasher by Remko Weijnen" alt="Encrypt | Decrypt Password | Hash | Citrix | Ctx1" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/05/image_thumb3.webp" width="419" height="84" /&gt;&lt;/p&gt; &lt;p&gt;To use the COM interface you first need to register the executable with the /regserver switch:&lt;/p&gt; &lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2013/03/SNAGHTML185eb4ec.webp" data-type="image" data-gallery="post-3152"&gt;&lt;img loading="lazy" decoding="async" style="display: inline" title="Register CtxPass" alt="CtxPass /RegServer" src="https://remkoweijnen.nl/blog/wp-content/uploads/2013/03/SNAGHTML185eb4ec_thumb.webp" width="414" height="64" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;After the registration you can call it using any language that supports COM. To get you started I wrote a few examples&lt;/p&gt;</description></item><item><title>Get the location of an advertised shortcut</title><link>https://remkoweijnen.nl/blog/2012/01/18/get-the-location-of-an-advertised-shortcut/</link><pubDate>Wed, 18 Jan 2012 13:28:36 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/01/18/get-the-location-of-an-advertised-shortcut/</guid><description>&lt;p&gt;Installers can create so called Advertised Shortcuts in the Start Menu. I wanted to check the Target Path of such an shortcut but Explorer doesn&amp;rsquo;t show it:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/01/image13.webp" class="glightbox" data-type="image" data-gallery="post-2334"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Microsoft Visio 2010 Properties" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/01/image_thumb13.webp" alt="Microsoft Visio 2010 Properties | Shortcut Properties | Target Path" width="233" height="317" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>A referral was returned from the server</title><link>https://remkoweijnen.nl/blog/2007/10/19/a-referral-was-returned-from-the-server/</link><pubDate>Fri, 19 Oct 2007 15:58:48 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2007/10/19/a-referral-was-returned-from-the-server/</guid><description>&lt;p&gt;Ever tried to run a VBS scripts that queries Active Directory in another domain or from a workstation that is not a domain member? Than you have probably seen this error before:&lt;/p&gt;
&lt;p&gt;&lt;img border="0" width="1" src="wp-content/uploads/2007/10/Referral.png" alt="Error Message" height="1" /&gt;&lt;img border="0" width="1" src="wp-content/uploads/2007/10/Referral.png" alt="Error Message" height="1" /&gt;&lt;img width="318" height="165" loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2007/10/referral11.webp" alt="Error Message" /&gt;&lt;/p&gt;
&lt;p&gt;This is because the default settings for Chasing referrals is set to ADS_CHASE_REFERRALS_NEVER.&lt;/p&gt;</description></item></channel></rss>