<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Windows 7 on Remko's Blog</title><link>https://remkoweijnen.nl/blog/categories/windows-7/</link><description>Recent content in Windows 7 on Remko's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 13 Sep 2013 15:35:25 +0000</lastBuildDate><atom:link href="https://remkoweijnen.nl/blog/categories/windows-7/index.xml" rel="self" type="application/rss+xml"/><item><title>The publisher could not be verified when launching an application with RES Workspace Manager</title><link>https://remkoweijnen.nl/blog/2013/09/13/the-publisher-could-not-be-verified-when-launching-an-application-with-res-workspace-manger/</link><pubDate>Fri, 13 Sep 2013 15:35:25 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2013/09/13/the-publisher-could-not-be-verified-when-launching-an-application-with-res-workspace-manger/</guid><description>&lt;p&gt;Today I was troubleshooting a warning message that popped up when launching a network application with RES Workspace Manager:&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2013/09/image.webp" class="glightbox thickbox" data-type="image" data-gallery="post-3380"&gt;&lt;img loading="lazy" decoding="async" title="Open file - Security Warning" style="display: inline" alt="The publisher could not be verified. Are you sure you want to run this software?" src="https://remkoweijnen.nl/blog/wp-content/uploads/2013/09/image_thumb.webp" width="240" height="170" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Usually this is a simple fix: add the servername (file://server) to the Local Intranet zone:&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2013/09/clip_image002.jpg" class="glightbox thickbox" data-type="image" data-gallery="post-3380"&gt;&lt;img loading="lazy" decoding="async" title="Local intranet" style="display: inline" alt="You can add and remove websites from this zone. All websites in this zone will use the zone&amp;#39;s security settings." src="https://remkoweijnen.nl/blog/wp-content/uploads/2013/09/clip_image002_thumb.jpg" width="240" height="209" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;That worked when I launched the application directly. However when launching the application with RES Workspace Manager I would still get the warning. Even stranger: when I clicked Cancel the application would still be launched.&lt;/p&gt;</description></item><item><title>RD Gateway connection fails on Windows 7</title><link>https://remkoweijnen.nl/blog/2013/08/15/rd-gateway-connection-fails-on-windows-7/</link><pubDate>Thu, 15 Aug 2013 11:27:15 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2013/08/15/rd-gateway-connection-fails-on-windows-7/</guid><description>&lt;p&gt;I needed to connect remotely via Remote Desktop to a Windows Server 2012 machine.&lt;/p&gt;
&lt;p&gt;I received an rdp file that was configured to use an RD Gateway server:&lt;/p&gt;
&lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2013/08/SNAGHTML243e76.webp" data-type="image" data-gallery="post-3363"&gt;&lt;img loading="lazy" decoding="async" style="display: inline;" title="RD Gateway Server Settings" alt="Remtoe Desktop Connection | RD Gateway Server Settings" src="https://remkoweijnen.nl/blog/wp-content/uploads/2013/08/SNAGHTML243e76_thumb.webp" width="213" height="240" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However when trying to connect from my Windows 7 laptop (x64) machine, I got the following error message:&lt;/p&gt;
&lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2013/08/SNAGHTML2c46b0.webp" data-type="image" data-gallery="post-3363"&gt;&lt;img loading="lazy" decoding="async" style="display: inline;" title="Remote Desktop Connection" alt="The two computers couldn't connect in the amount of time allocated. Try connecting again. If the problem continues, contact your network administrator or technical support." src="https://remkoweijnen.nl/blog/wp-content/uploads/2013/08/SNAGHTML2c46b0_thumb.webp" width="294" height="87" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>ClickOnce Applications in Enterprise Environments</title><link>https://remkoweijnen.nl/blog/2013/08/05/clickonce-applications-in-enterprise-environments/</link><pubDate>Mon, 05 Aug 2013 16:51:21 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2013/08/05/clickonce-applications-in-enterprise-environments/</guid><description>&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/t71a733d.aspx" target="_blank"&gt;ClickOnce&lt;/a&gt; is a Microsoft technology that enables an end user to install an application from the web without administrative permissions.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;That's great isn't it? &lt;br /&gt;&lt;/u&gt;&lt;/strong&gt;While ClickOnce may sound great to developers it's actually a nightmare for Enterprise administrators because they try to prevent users from installing software themselves.&lt;/p&gt; &lt;p&gt;ClickOnce also incorporates an Automatic Updates mechanism which means that users might run different or not tested/approved versions...&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Virtual Environments &lt;br /&gt;&lt;/u&gt;&lt;/strong&gt;It get's even worse in virtual environments such as VDI and SBC where machines are often non-persistent. Each time the users starts the application they will see a screen similar to the one below while they actually download and install it over and over again:&lt;/p&gt; &lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2013/08/SNAGHTML87937a.webp" data-type="image" data-gallery="post-3308"&gt;&lt;img loading="lazy" decoding="async" title="SNAGHTML87937a" style="margin: 0px; display: inline" alt="SNAGHTML87937a" src="https://remkoweijnen.nl/blog/wp-content/uploads/2013/08/SNAGHTML87937a_thumb.webp" width="240" height="136" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;If the environment is persistent, it's not guaranteed that the user works on the same machine each day. This means that the application will be installed on every box the user ever logs onto...&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;How does it work? &lt;br /&gt;&lt;/u&gt;&lt;/strong&gt;In order to understand how we can best treat ClickOnce applications we need to understand how they work since MSDN documentation does not describe this in detail. &lt;/p&gt;</description></item><item><title>My Network Places Internals</title><link>https://remkoweijnen.nl/blog/2012/07/19/my-network-places-internals/</link><pubDate>Thu, 19 Jul 2012 11:26:12 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/07/19/my-network-places-internals/</guid><description>&lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/07/image2.webp" data-type="image" data-gallery="post-2673"&gt;&lt;img loading="lazy" decoding="async" style="display: inline; float: right" title="Nethood" alt="Nethood Icon" align="right" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/07/image_thumb2.webp" width="56" height="52" /&gt;&lt;/a&gt;I am using a PowerShell script to copy some elements of from the users old profile location to a new location. This includes the Nethood (&amp;quot;My Network Places&amp;quot;) folder which contains the Network Places shortcuts.&lt;/p&gt; &lt;p&gt;A user reported that she could not save documents to Network Places anymore and after inspection the Network Places shortcuts were broken.&lt;/p&gt; &lt;p&gt;I started comparing the old Nethood folder to the new and observed the following difference in Explorer:&lt;/p&gt; &lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/07/image3.webp" data-type="image" data-gallery="post-2673"&gt;&lt;img loading="lazy" decoding="async" style="display: inline" title="image" alt="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/07/image_thumb3.webp" width="409" height="80" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;When copying entries from the Nethood folder with Explorer manually they worked fine, so somehow Explorer gives the Nethood folder special treatment.&lt;/p&gt;</description></item><item><title>Switching to the Services Session</title><link>https://remkoweijnen.nl/blog/2012/02/24/switching-to-the-services-session/</link><pubDate>Fri, 24 Feb 2012 14:49:21 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/02/24/switching-to-the-services-session/</guid><description>&lt;p&gt;Just read a tweet from &lt;a href="http://twitter.com/andyjmorgan" target="_blank"&gt;@andyjmorgan&lt;/a&gt; about &lt;a href="http://twitter.com/andyjmorgan/statuses/173033102514462720" target="_blank"&gt;Interactive Service Detection&lt;/a&gt;. This made me remember that it's possible to switch to the Session 0 with an undocumented api in winsta.dll.&lt;/p&gt; &lt;p&gt;For this API to work you must have the Interactive Services Detection (UI0Detect) service running.&lt;/p&gt;</description></item><item><title>Hibernation fails in Windows 7</title><link>https://remkoweijnen.nl/blog/2012/02/10/hibernation-fails-in-windows-7/</link><pubDate>Fri, 10 Feb 2012 22:40:46 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/02/10/hibernation-fails-in-windows-7/</guid><description>&lt;p&gt;&lt;img style="display: inline; float: right" align="right" src="https://remkoweijnen.nl/blog/wp-content/uploads/recovered/47b95ed6becc80bc.gif" width="94" height="89" /&gt;A while ago my Windows 7 laptop suddenly refused to go into Hibernation. The strange thing was that the whole process of saving memory to the hibernate file seemed to work correctly. The screen would go black and there was lots of disk activity. Then after the disk activity finished the system would return to the logon screen.&lt;/p&gt; &lt;p&gt;A Google on this issue learned that the most likely cause was a driver preventing the system from going into hibernation. Using the cmdline "&lt;em&gt;powercfg -DEVICEQUERY wake_armed&lt;/em&gt;" we can check if there are any devices that can wake the system. Another useful parameter is &lt;em&gt;-ENERGY&lt;/em&gt; which generates an html report file.&lt;/p&gt; &lt;p&gt;But in my case this lead to nothing.&lt;/p&gt;</description></item><item><title>Speed up Windows 7 Resume by 20%</title><link>https://remkoweijnen.nl/blog/2012/02/10/speed-up-windows-7-resume-by-20/</link><pubDate>Fri, 10 Feb 2012 21:54:37 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/02/10/speed-up-windows-7-resume-by-20/</guid><description>&lt;p&gt;&lt;img data-missing="1" style="margin: 0px 0px 0px 7px; display: inline; float: right;" alt="" width="53" height="71" align="right" /&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; See this &lt;a href="http://helgeklein.com/blog/2012/02/what-remains-of-magic-speed-improvements/" target="_blank"&gt;new article&lt;/a&gt; by Helge Klein.&lt;/p&gt;
&lt;p&gt;Recently Helge Klein wrote a blog titled &lt;a href="http://helgeklein.com/blog/2012/02/how-to-speed-up-your-windows-7-boot-time-by-20/" target="_blank"&gt;How to Speed Up Your Windows 7 Boot Time by 20%&lt;/a&gt;. He does this by disabling the graphical animation that Windows 7 displays while booting.&lt;/p&gt;
&lt;p&gt;After applying this tweak I noticed that a resume from hibernation (which I do far more often than a full boot) still showed the graphical animation (and wasn&amp;rsquo;t speed up).&lt;/p&gt;
&lt;p&gt;So how to disable the animation while resuming?&lt;/p&gt;</description></item><item><title>System Process PID 4 is listening on port 80</title><link>https://remkoweijnen.nl/blog/2012/01/02/system-process-pid-4-is-listening-on-port-80/</link><pubDate>Mon, 02 Jan 2012 10:23:21 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/01/02/system-process-pid-4-is-listening-on-port-80/</guid><description>&lt;p&gt;I wanted to save the SHSH signatures from my iPhone before updating to iOS 5.01. I started &lt;a href="http://thefirmwareumbrella.blogspot.com/" target="_blank"&gt;Tiny Umbrella&lt;/a&gt; but it showed an error indicating that there's already a process listening on port 80:&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/01/SNAGHTML5f09e5bf.webp" class="glightbox" data-type="image" data-gallery="post-2264"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Cannot Start TSS Service" border="0" alt="Cannot Start TSS Service | DO NOT TRY RESTORING YOUR DEVICE!!! | System(PID:4) must be killed!!" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/01/SNAGHTML5f09e5bf_thumb.webp" width="319" height="146" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;I verified this using netstat (&lt;em&gt;netstat -aon | find /I "LISTENING" | find /I ":80"&lt;/em&gt;):&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/01/SNAGHTML5f0d6d75.webp" class="glightbox" data-type="image" data-gallery="post-2264"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="netstat" border="0" alt="netstat -aon | find /i &amp;quot;LISTENING&amp;quot; | find /i &amp;quot;:80&amp;quot;" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/01/SNAGHTML5f0d6d75_thumb.webp" width="419" height="84" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;#160;&lt;/p&gt;</description></item><item><title>Remote Registry from 32 to 64 bit</title><link>https://remkoweijnen.nl/blog/2011/10/21/remote-registry-from-32-to-64-bit/</link><pubDate>Fri, 21 Oct 2011 09:05:11 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/10/21/remote-registry-from-32-to-64-bit/</guid><description>&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/10/image5.webp" class="glightbox" data-type="image" data-gallery="post-2146"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" align="right" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/10/image_thumb5.webp" width="40" height="38" /&gt;&lt;/a&gt;Yesterday I needed to set a few registry keys remotely from a 32 bit windows machine to a 64 bit machine.&lt;/p&gt; &lt;p&gt;I used reg.exe to set the key but even though it returned success the key wasn't altered.&lt;/p&gt; &lt;p&gt;As I suspected the key was written to the Wow6432Node. In the help I couldn't find any switch to force reg.exe to use the 64-bit view.&lt;/p&gt; &lt;p&gt;On a 64 bit machine this is not a problem since both 32- and 64 bit versions of reg.exe exists. The 32 bit version of reg.exe defaults to the 32 bit view and the 64 bit version defaults to the 64 bit view.&lt;/p&gt; &lt;p&gt;But luckily reg.exe has a switch (that is not listed in the help) to force the View:&lt;/p&gt; &lt;ul&gt;</description></item><item><title>Prevent additional IP addresses from being registered in DNS</title><link>https://remkoweijnen.nl/blog/2011/10/18/prevent-additional-ip-addresses-from-being-registered-in-dns/</link><pubDate>Tue, 18 Oct 2011 15:01:33 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/10/18/prevent-additional-ip-addresses-from-being-registered-in-dns/</guid><description>&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/10/SNAGHTML1aaf7885.webp" class="glightbox" data-type="image" data-gallery="post-2139"&gt;&lt;img loading="lazy" decoding="async" style="display: inline; float: right;" title="SNAGHTML1aaf7885" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/10/SNAGHTML1aaf7885_thumb.webp" alt="SNAGHTML1aaf7885" width="70" height="67" align="right" /&gt;&lt;/a&gt;In Windows 7 and 2008 R2 all IP Addresses are by default registered in DNS.&lt;/p&gt;
&lt;p&gt;If you don&amp;rsquo;t want certain IP addresses to appear in DNS you can alter this behavior with Netsh using the &lt;strong&gt;skipassource&lt;/strong&gt; flag.&lt;/p&gt;
&lt;p&gt;Use the following syntax to add an additional IP Address with &lt;strong&gt;skipassource&lt;/strong&gt; flag:&lt;/p&gt;</description></item><item><title>GetUserObjectInformation fails with Access Denied</title><link>https://remkoweijnen.nl/blog/2011/08/16/getuserobjectinformation-fails-with-access-denied/</link><pubDate>Tue, 16 Aug 2011 21:11:01 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/08/16/getuserobjectinformation-fails-with-access-denied/</guid><description>&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/08/image2.webp" class="glightbox" data-type="image" data-gallery="post-1994"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="Logon SID" border="0" alt="Logon SID" align="left" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/08/image_thumb2.webp" width="48" height="44" /&gt;&lt;/a&gt;Today I was reusing some old (pre vista) code the retrieves the Logon SID that I wrote a few years ago. The Logon SID is a special SID that identifies a logon session that has the form S-1-5-5-X-Y.&lt;/p&gt; &lt;p&gt;You can view your Logon SID with Process Explorer, right click a GUI process, select Properties and goto the Security Tab:&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/08/SNAGHTML1b84fe6b.webp" class="glightbox" data-type="image" data-gallery="post-1994"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="explorer.exe:4484 Properties" border="0" alt="Process Explorer|Security Tab|Logon SID" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/08/SNAGHTML1b84fe6b_thumb.webp" width="274" height="317" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;#160;&lt;/p&gt;</description></item><item><title>GetTokenInformation with TokenLinkedToken returns error 1312</title><link>https://remkoweijnen.nl/blog/2011/08/11/gettokeninformation-with-tokenlinkedtoken-returns-error-1312/</link><pubDate>Thu, 11 Aug 2011 11:30:47 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/08/11/gettokeninformation-with-tokenlinkedtoken-returns-error-1312/</guid><description>&lt;p&gt;The &lt;a href="http://msdn.microsoft.com/en-us/library/aa446671(v=vs.85).aspx" target="_blank"&gt;GetTokenInformation&lt;/a&gt; function can be used with the TokenLinkedToken Information Class on Windows Vista and higher to the linked (Elevated) token.&lt;/p&gt;
&lt;p&gt;This is useful when User Account Control is enabled and you want to launch an elevated process e.g. from a service.&lt;/p&gt;</description></item><item><title>Programmatically Check if User Account Control is Enabled</title><link>https://remkoweijnen.nl/blog/2011/08/11/programmatically-check-if-user-account-control-is-enabled/</link><pubDate>Thu, 11 Aug 2011 11:27:13 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/08/11/programmatically-check-if-user-account-control-is-enabled/</guid><description>&lt;p&gt;&lt;img style="margin: 0px 10px 0px 0px; display: inline; float: left" align="left" src="https://remkoweijnen.nl/blog/wp-content/uploads/recovered/ac92b77a899e8666.png" width="28" height="34" /&gt;Snippet below can be used to programmatically determine if User Account Control is enabled:&lt;/p&gt; 
&lt;div class="codecard"&gt;
 &lt;div class="codehead"&gt;
 &lt;span class="codefile"&gt;&lt;span class="codelang"&gt;objectpascal&lt;/span&gt;&lt;/span&gt;
 &lt;span class="codetools" data-pagefind-ignore&gt;
 &lt;button class="codebtn" type="button" data-copy&gt;Copy&lt;/button&gt;
 &lt;a class="codebtn" download=".pas" href="data:text/plain;charset=utf-8;base64,dXNlcwogIEp3YVdpbmJhc2UsIEp3YVdpbk50OwoKZnVuY3Rpb24gSXNVQUNFbmFibGVkOiBCb29sZWFuOwp2YXIKICBoVG9rZW46IFRIYW5kbGU7CiAgdGV0OiBUT0tFTl9FTEVWQVRJT05fVFlQRTsKICBkd1NpemU6IERXT1JEOwpiZWdpbgogIFdpbjMyQ2hlY2soT3BlblByb2Nlc3NUb2tlbihHZXRDdXJyZW50UHJvY2VzcywgVE9LRU5fUVVFUlksIGhUb2tlbikpOwogIC8vIFRva2VuRWxldmF0aW9uVHlwZSBjbGFzcyBvbmx5IGF2YWlsYWJsZSBvbiBWaXN0YSsKICBXaW4zMkNoZWNrKEdldFRva2VuSW5mb3JtYXRpb24oaFRva2VuLCBUb2tlbkVsZXZhdGlvblR5cGUsIEB0ZXQsIFNpemVPZih0ZXQpLCBkd1NpemUpKTsKCiAgUmVzdWx0IDo9IHRldCA8PiBUb2tlbkVsZXZhdGlvblR5cGVEZWZhdWx0OwplbmQ7"&gt;Download&lt;/a&gt;
 &lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="codebody"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-objectpascal" data-lang="objectpascal"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;uses&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;JwaWinbase&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;JwaWinNt&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;function&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;IsUACEnabled&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kt"&gt;Boolean&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;var&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;hToken&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;THandle&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;tet&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;TOKEN_ELEVATION_TYPE&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;dwSize&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;DWORD&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;begin&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;Win32Check&lt;span class="o"&gt;(&lt;/span&gt;OpenProcessToken&lt;span class="o"&gt;(&lt;/span&gt;GetCurrentProcess&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;TOKEN_QUERY&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;hToken&lt;span class="o"&gt;))&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c1"&gt;// TokenElevationType class only available on Vista+&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;Win32Check&lt;span class="o"&gt;(&lt;/span&gt;GetTokenInformation&lt;span class="o"&gt;(&lt;/span&gt;hToken&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;TokenElevationType&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;tet&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;SizeOf&lt;span class="o"&gt;(&lt;/span&gt;tet&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;dwSize&lt;span class="o"&gt;))&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ge"&gt;Result&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;tet&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;TokenElevationTypeDefault&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;end&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;section class="comments"&gt;
&lt;h2&gt;1 Comments&lt;/h2&gt;
&lt;ol class="comment-list"&gt;
&lt;li class="comment depth-0"&gt;&lt;div class="comment-meta"&gt;&lt;span class="comment-author"&gt;&lt;a href="https://remkoweijnen.nl/blog/2011/08/11/gettokeninformation-with-tokenlinkedtoken-returns-error-1312/" rel="nofollow ugc"&gt;GetTokenInformation with TokenLinkedToken returns error 1312&lt;/a&gt;&lt;/span&gt; &lt;time datetime="2011-08-11"&gt;Aug 11, 2011&lt;/time&gt;&lt;/div&gt;&lt;div class="comment-body"&gt;&lt;p&gt;[...] specified logon session does not exist. It may already have been terminated.&amp;#8221;So you should check if User Account Control is enabled in such cases (or make this error non critical).share: Bookmark on Delicious Digg this post [...]&lt;/p&gt;</description></item><item><title>Switch SATA Operation Mode</title><link>https://remkoweijnen.nl/blog/2011/06/18/switch-sata-operation-mode/</link><pubDate>Sat, 18 Jun 2011 21:38:19 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/06/18/switch-sata-operation-mode/</guid><description>&lt;p&gt;Modern systems usually offer different SATA Operation Modes such as ATA, AHCI or IRRT.&lt;/p&gt;
&lt;p&gt;The AHCI mode offers extra features such as hot swapping and &lt;a title="Wikipedia Native Command Queueing" href="http://en.wikipedia.org/wiki/Native_Command_Queuing" target="_blank"&gt;native command queuing&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Many vendors set the SATA Operation Mode to ATA by default because it&amp;rsquo;s the most compatible mode but there are a few reasons why you might want to change it:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;AHCI has a higher performance than ATA.&lt;/li&gt;
	&lt;li&gt;AHCI is a requirement for the &lt;a title="Why You Need TRIM For Your SSD" href="http://www.bit-tech.net/hardware/storage/2010/02/04/windows-7-ssd-performance-and-trim/" target="_blank"&gt;TRIM command&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;AHCI is required for self encrypting hard drives&lt;/li&gt;
&lt;/ul&gt;
&lt;span style="color: #4c4c4c;"&gt;Please note that the IRRT (integrated raid) mode is supposed to support all functionality of AHCI but in my experience it doesn't. &lt;/span&gt;
&lt;p&gt;&lt;span style="color: #4c4c4c;"&gt;So the question is: how do we switch the SATA Operation Mode from ATA or IRRT to AHCI?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Programmatically determine if we run server core</title><link>https://remkoweijnen.nl/blog/2011/05/17/programmatically-determine-if-we-run-server-core/</link><pubDate>Tue, 17 May 2011 21:32:22 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/05/17/programmatically-determine-if-we-run-server-core/</guid><description>&lt;p&gt;If you want to check if you are running on a Server Core edition of Windows you can use the &lt;a href="http://msdn.microsoft.com/en-us/library/ms724358.aspx" target="_blank"&gt;GetProductInfo&lt;/a&gt; API.&lt;/p&gt; &lt;p&gt;GetProductInfo takes 4 input parameters that can be obtained using &lt;a href="http://msdn.microsoft.com/en-us/library/ms724451(VS.85).aspx" target="_blank"&gt;GetVersionEx&lt;/a&gt; and the &lt;a href="http://msdn.microsoft.com/en-us/library/ms724833(v=VS.85).aspx" target="_blank"&gt;OSVERSIONINFOEX&lt;/a&gt; structure:&lt;/p&gt; 
&lt;div class="codecard"&gt;
 &lt;div class="codehead"&gt;
 &lt;span class="codefile"&gt;&lt;span class="codelang"&gt;objectpascal&lt;/span&gt;&lt;/span&gt;
 &lt;span class="codetools" data-pagefind-ignore&gt;
 &lt;button class="codebtn" type="button" data-copy&gt;Copy&lt;/button&gt;
 &lt;a class="codebtn" download=".pas" href="data:text/plain;charset=utf-8;base64,dmFyCiAgb3N2aTogT1NWRVJTSU9OSU5GT0VYOwpiZWdpbgogIFplcm9NZW1vcnkoQG9zdmksIFNpemVPZihvc3ZpKSk7CiAgb3N2aS5kd09TVmVyc2lvbkluZm9TaXplIDo9IFNpemVPZihvc3ZpKTsKICBXaW4zMkNoZWNrKEdldFZlcnNpb25FeChvc3ZpKSk7"&gt;Download&lt;/a&gt;
 &lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="codebody"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-objectpascal" data-lang="objectpascal"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;var&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;osvi&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;OSVERSIONINFOEX&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;begin&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;ZeroMemory&lt;span class="o"&gt;(@&lt;/span&gt;osvi&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;SizeOf&lt;span class="o"&gt;(&lt;/span&gt;osvi&lt;span class="o"&gt;))&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;osvi&lt;span class="p"&gt;.&lt;/span&gt;dwOSVersionInfoSize&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;SizeOf&lt;span class="o"&gt;(&lt;/span&gt;osvi&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;Win32Check&lt;span class="o"&gt;(&lt;/span&gt;GetVersionEx&lt;span class="o"&gt;(&lt;/span&gt;osvi&lt;span class="o"&gt;))&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;No we call GetProductInfo:&lt;/p&gt;
&lt;div class="codecard"&gt;
 &lt;div class="codehead"&gt;
 &lt;span class="codefile"&gt;&lt;span class="codelang"&gt;objectpascal&lt;/span&gt;&lt;/span&gt;
 &lt;span class="codetools" data-pagefind-ignore&gt;
 &lt;button class="codebtn" type="button" data-copy&gt;Copy&lt;/button&gt;
 &lt;a class="codebtn" download=".pas" href="data:text/plain;charset=utf-8;base64,dmFyCiAgZHdQcm9kVHlwZTogRFdPUkQ7CmJlZ2luCiAgV2luMzJDaGVjayhHZXRQcm9kdWN0SW5mbyhvc3ZpLmR3TWFqb3JWZXJzaW9uLCBvc3ZpLmR3TWlub3JWZXJzaW9uLAogICAgb3N2aS53U2VydmljZVBhY2tNYWpvciwgb3N2aS53U2VydmljZVBhY2tNaW5vciwgZHdQcm9kVHlwZSkpOw=="&gt;Download&lt;/a&gt;
 &lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="codebody"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-objectpascal" data-lang="objectpascal"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;var&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;dwProdType&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;DWORD&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;begin&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;Win32Check&lt;span class="o"&gt;(&lt;/span&gt;GetProductInfo&lt;span class="o"&gt;(&lt;/span&gt;osvi&lt;span class="p"&gt;.&lt;/span&gt;dwMajorVersion&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;osvi&lt;span class="p"&gt;.&lt;/span&gt;dwMinorVersion&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;osvi&lt;span class="p"&gt;.&lt;/span&gt;wServicePackMajor&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;osvi&lt;span class="p"&gt;.&lt;/span&gt;wServicePackMinor&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;dwProdType&lt;span class="o"&gt;))&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;</description></item><item><title>SasLibEx Screencast</title><link>https://remkoweijnen.nl/blog/2011/01/19/saslibex-screencast/</link><pubDate>Wed, 19 Jan 2011 22:36:44 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/01/19/saslibex-screencast/</guid><description>&lt;p&gt;I just recorded a SasLibEx Screencast, it shows some of the very powerfull features of SasLibEx.&lt;/p&gt;
&lt;p&gt;The following features are shown:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;span style="color: #35383d;"&gt;Simulate Ctrl Alt Del (Secure Attention Sequence)&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;&lt;span style="color: #35383d;"&gt;Cancel Ctrl Alt Del&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;&lt;span style="color: #35383d;"&gt;Lock Workstation&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;&lt;span style="color: #35383d;"&gt;Unlock Workstation (without credentials)&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;&lt;span style="color: #35383d;"&gt;Disable Ctrl Alt Del&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;&lt;span style="color: #35383d;"&gt;Enable Ctrl Alt Del again&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;&lt;span style="color: #35383d;"&gt;Cancel pending UAC request&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;&lt;span style="color: #35383d;"&gt;Is Desktop Locked&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:8c371d04-5435-4a86-a54a-5611345258b5" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;"&gt;
&lt;div&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="448" height="252" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="src" value="http://www.youtube.com/v/Nyl4_ECe5xI?hl=en&amp;amp;hd=1" /&gt;&lt;embed type="application/x-shockwave-flash" width="448" height="252" src="http://www.youtube.com/v/Nyl4_ECe5xI?hl=en&amp;amp;hd=1"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
&lt;div style="width: 448px; clear: both; font-size: 0.8em;"&gt;SasLibEx Feature Demo #1&lt;/div&gt;
&lt;/div&gt;
&lt;section class="comments"&gt;
&lt;h2&gt;1 Comments&lt;/h2&gt;
&lt;ol class="comment-list"&gt;
&lt;li class="comment depth-0"&gt;&lt;div class="comment-meta"&gt;&lt;span class="comment-author"&gt;&lt;a href="http://topsy.com/www.remkoweijnen.nl/blog/2011/01/19/saslibex-screencast/?utm_source=pingback&amp;amp;amp;utm_campaign=L2" rel="nofollow ugc"&gt;Tweets die vermelden SasLibEx Screencast | Remko Weijnen&amp;#x27;s Blog (Remko&amp;#x27;s Blog) -- Topsy.com&lt;/a&gt;&lt;/span&gt; &lt;time datetime="2011-01-20"&gt;Jan 20, 2011&lt;/time&gt;&lt;/div&gt;&lt;div class="comment-body"&gt;&lt;p&gt;[...] Dit blogartikel was vermeld op Twitter door Remko Weijnen, Remko Weijnen. Remko Weijnen heeft gezegd: First #SasLibEx ScreenCast! showing simulate ctrl alt del, unlock workstation without credentials, disable cad and more http://bit.ly/fFM8wB [...]&lt;/p&gt;</description></item><item><title>Paging file and Memory Dump</title><link>https://remkoweijnen.nl/blog/2011/01/07/paging-file-and-memory-dump/</link><pubDate>Fri, 07 Jan 2011 13:45:55 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/01/07/paging-file-and-memory-dump/</guid><description>&lt;p&gt;I often hear that people configure the Paging File (on Citrix or Terminal Servers) on a seperate volume but, the reasons is either performance or the chance that the Paging File might corrupt the volume.&lt;/p&gt;
&lt;p&gt;However if at some point you would like to create a Memory Dump you must have a paging file on the boot volume.&lt;/p&gt;</description></item><item><title>Default User Profile: Remko’s solution</title><link>https://remkoweijnen.nl/blog/2011/01/04/default-user-profile-remkos-solution/</link><pubDate>Tue, 04 Jan 2011 15:46:18 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/01/04/default-user-profile-remkos-solution/</guid><description>&lt;p&gt;If you are implementing a Citrix, Terminal Server or even just a plain Client-Server environment you will need to create a Default User Profile at some point.&lt;/p&gt;
&lt;p&gt;The Default User Profile can be thought of as the initial registry settings that are used when a new profile is created.&lt;/p&gt;
&lt;p&gt;Many people think that the Default User Profile is available in regedit via HKEY_USERS.Default but this is NOT the Default User Profile.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/01/usersdefault.webp" class="glightbox" data-type="image" data-gallery="post-1066"&gt;&lt;img loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/01/usersdefault-small.webp" alt="UsersDefault" width="430" height="165" /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Modify Internet Explorer 8 MUI Pack to install a single language</title><link>https://remkoweijnen.nl/blog/2011/01/03/modify-internet-explorer-8-mui-pack-to-install-a-single-language/</link><pubDate>Mon, 03 Jan 2011 12:10:22 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/01/03/modify-internet-explorer-8-mui-pack-to-install-a-single-language/</guid><description>&lt;p&gt;Today I wanted to install the Dutch Language pack for Internet Explorer 8, the Dutch language comes as part of the &lt;a title="Windows Internet Explorer 8 MUI Pack for Windows Server 2003 SP2" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=242bf57a-9dab-4ea9-ba46-33c0e32020a4&amp;amp;displaylang=en" target="_blank"&gt;Windows Internet Explorer 8 MUI Pack&lt;/a&gt; (in my case the version for Windows Server 2003 SP2).&lt;/p&gt;
&lt;p&gt;If you install the MUI Pack you will always end up with all 35 (!) languages installed. This behaviour is the same as the language pack for Internet Explorer 7 that I wrote about earlier (see &lt;a title="Modifying Microsoft Updates and/or hotfixes" href="https://remkoweijnen.nl/blog/2009/05/12/modifying-microsoft-updates-andor-hotfixes" target="_blank"&gt;Modifying Microsoft Updates and/or hotfixes&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;The solution is really the same as for the IE7 language pack: you modify the inf file (in my case update_srv03.inf) but if you run update.exe it will refuse to use your modified inf file:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/01/ie8muierror.webp" class="glightbox" data-type="image" data-gallery="post-1055"&gt;&lt;img loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/01/ie8muierror-small1.webp" alt="ie8muierror" width="430" height="76" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So we need to patch update.exe to accept your modified version!&lt;/p&gt;</description></item><item><title>Cannot Access Files, But Need the Origin?</title><link>https://remkoweijnen.nl/blog/2011/01/03/cannot-access-files-but-need-the-origin/</link><pubDate>Mon, 03 Jan 2011 09:52:20 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/01/03/cannot-access-files-but-need-the-origin/</guid><description>&lt;p&gt;Have you developed an application that accesses files and may stop because a file cannot be accessed but you need to?&lt;/p&gt;
&lt;p&gt;Since Windows Vista it is possible to find out the name of the application which holds open a file.&lt;/p&gt;</description></item><item><title>Desktop Icons, hide, show, prevent rename or delete</title><link>https://remkoweijnen.nl/blog/2010/12/19/desktop-icons-hide-show-prevent-rename-or-delete/</link><pubDate>Sun, 19 Dec 2010 15:14:04 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/12/19/desktop-icons-hide-show-prevent-rename-or-delete/</guid><description>&lt;p&gt;I was cleaning up some old data on my Hard Drive when I found a program I wrote about a year ago.&lt;/p&gt;
&lt;p&gt;At that time I was doing a project where I was deploying a Windows 2008 based Citrix Environment.&lt;/p&gt;
&lt;p&gt;I wanted to get rid of the new Personal Folders or User&amp;rsquo;s files icon on the Desktop and replace it with the familiar My Documents icon.&lt;/p&gt;
&lt;img loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2010/12/personal.webp" alt="Personal" width="64" height="91" /&gt;
&lt;p&gt;These settings are stored in the Registry under HKEY_CLASSES_ROOT\CLSID{folder&amp;rsquo;s GUID}\ShellFolder.&lt;/p&gt;</description></item><item><title>Default Explorer View</title><link>https://remkoweijnen.nl/blog/2010/12/19/default-explorer-view/</link><pubDate>Sun, 19 Dec 2010 14:40:40 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/12/19/default-explorer-view/</guid><description>&lt;p&gt;As you probably know there are several different Folder Views in Windows Explorer:&lt;/p&gt;
&lt;img loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2010/12/explorerview.webp" alt="ExplorerView" width="183" height="276" /&gt;
&lt;p&gt;The Explorer keeps tracks of the last used View per Folder in the registry in the key HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags. This &lt;a title="Changes to the size, view, icon or position of a folder are lost" href="http://support.microsoft.com/kb/813711" target="_blank"&gt;KB article&lt;/a&gt; sort of desribes this functionality.&lt;/p&gt;</description></item><item><title>BSOD with STOP 0x0000008E when installing Window 7 Checked Build</title><link>https://remkoweijnen.nl/blog/2010/12/06/bsod-with-stop-0x0000008e-when-installing-window-7-checked-build/</link><pubDate>Mon, 06 Dec 2010 23:13:01 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/12/06/bsod-with-stop-0x0000008e-when-installing-window-7-checked-build/</guid><description>&lt;p&gt;I was trying to install a checked build of Windows 7 under VMWare Workstation but after the first reboot during the install (the completing installation step) the system came up with a BSOD.&lt;/p&gt;
&lt;p&gt;It can be fixed by adding a line to the VMX configuration file:&lt;/p&gt;</description></item><item><title>Change Driveletter Commandline Tool</title><link>https://remkoweijnen.nl/blog/2010/10/20/change-driveletter-commandline-tool/</link><pubDate>Wed, 20 Oct 2010 14:04:35 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/10/20/change-driveletter-commandline-tool/</guid><description>&lt;p&gt;Some time ago (2008 actually) I wrote a &lt;a href="https://remkoweijnen.nl/blog/2008/12/09/commandline-tool-to-change-drive-letter-assignment/" target="_blank"&gt;tool that can assign driveletters&lt;/a&gt; given a volumename. I use it myself after SysPrep operations to assign the desired drive letters. For instance after cloning a Virtual Machine from a template.&lt;/p&gt;
&lt;p&gt;I noticed that I updated this tool sometime after the original post but never uploaded it here. The most important changes are:&lt;/p&gt;</description></item><item><title>Active Directory Properties Commandline Tool</title><link>https://remkoweijnen.nl/blog/2010/09/12/active-directory-properties-commandline-tool/</link><pubDate>Sun, 12 Sep 2010 21:56:01 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/09/12/active-directory-properties-commandline-tool/</guid><description>&lt;p&gt;I have written a small commandline tool that shows the Active Directory Property Sheet for a given account.&lt;/p&gt;
&lt;p&gt;The Property sheet is what you get when you doubleclick an object in Active Directory &amp;amp; Computers. Basically this tool is meant to make it easy to quickly view or change properties without needing to start a GUI tool and looking up the account in the AD Tree.&lt;/p&gt;</description></item><item><title>Having fun with Windows Licensing</title><link>https://remkoweijnen.nl/blog/2010/06/15/having-fun-with-windows-licensing/</link><pubDate>Tue, 15 Jun 2010 15:09:14 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/06/15/having-fun-with-windows-licensing/</guid><description>&lt;p&gt;If you look into the registry in the key HKLM\System\CurrentControlSet\ProductOptions you will find several licensing related Values.&lt;/p&gt;
&lt;p&gt;The ProductType and ProductSuite keys contain the OS Suite and Edition, but the ProductPolicy key is much more interesting. So let&amp;rsquo;s have a closer look at it, open RegEdit and DoubleClick the key, you will something like the screenshot below, a Binary Value:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2010/06/productpolicy1-1.webp" class="glightbox" data-type="image" data-gallery="post-588"&gt;&lt;img loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2010/06/productpolicy1-1-small.webp" alt="ProductPolicy1" width="215" height="188" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As you can see the license names are there as a Unicode string and later on I will show you how we can read the values. But because I didn&amp;rsquo;t want to extract all the names manually I decided to see if I could reverse the used structure because it didn&amp;rsquo;t look very complicated. Using a Hex Editor I could determine the important part of the structure.&lt;/p&gt;</description></item><item><title>Did you make a SasLibEx enquiry? And... news!</title><link>https://remkoweijnen.nl/blog/2010/02/22/did-you-make-a-saslibex-enquiry-and-news/</link><pubDate>Mon, 22 Feb 2010 14:07:28 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/02/22/did-you-make-a-saslibex-enquiry-and-news/</guid><description>&lt;p&gt;My hoster has had some problems with the simulatesas.com domain that I use for SasLibEx enquiries. If you have sent mail to &lt;img loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2010/02/mail-2.gif" alt="mail" width="147" height="15" /&gt; that has not been answered I kindly request you to send it again.&lt;/p&gt;
&lt;p&gt;I would also like to briefly tell you about an upcoming new release of SasLib, version 2.0. There is so much I would like to tell you about it but I will limit it to a few highlights here and save the rest for the upcoming website on &lt;a href="http://www.simulatesas.com"&gt;SimulateSAS.com&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Getting Back the Classic Event Viewer in Vista and Windows 7</title><link>https://remkoweijnen.nl/blog/2009/11/26/getting-back-the-classic-event-viewer-in-vista-and-windows-7/</link><pubDate>Thu, 26 Nov 2009 13:15:55 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2009/11/26/getting-back-the-classic-event-viewer-in-vista-and-windows-7/</guid><description>&lt;p&gt;I never liked the new eventviewer that was introduced with Windows Vista. If you want to have the old eventviewer back (you can use the old and new one together) you need to follow the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open a command prompt as Adminstrator.&lt;/li&gt;
&lt;li&gt;Type Regsvr32 els.dll (if you get error code 0x80070005 then you didn't run as Administrator).&lt;/li&gt;
&lt;li&gt;Start mmc.exe and goto File | Add/Remove Snapin.&lt;/li&gt;
&lt;li&gt;From the available Snapins choose "Classic Event Viewer".&lt;/li&gt;
&lt;li&gt;Right-Click Classic Event Viewer under Console Root and select New Window from Here.&lt;/li&gt;
&lt;li&gt;Choose Customize from the View menu.&lt;/li&gt;
&lt;li&gt;Deselect the Action Pane and Click OK&lt;/li&gt;
&lt;li&gt;Now save the file with a name of your choice eg EventVwrC.msc.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;It should look like this:&lt;/p&gt;</description></item><item><title>Removing the Uninstall or change a program button from the Explorer Command Bar</title><link>https://remkoweijnen.nl/blog/2009/11/25/removing-the-uninstall-or-change-a-program-button-from-the-explorer-command-bar/</link><pubDate>Wed, 25 Nov 2009 10:52:13 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2009/11/25/removing-the-uninstall-or-change-a-program-button-from-the-explorer-command-bar/</guid><description>&lt;p&gt;Windows Vista introduced the Command Bar in Explorer which is sometimes also referred to as the Folder Band or the Task Band. The Command Bar is of course also present in Windows 7 and Server 2008 (R2).&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2009/11/commandbar.webp" class="glightbox" data-type="image" data-gallery="post-477"&gt;&lt;img loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2009/11/commandbar-small.webp" alt="CommandBar" width="430" height="92" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This Command Bar shows possible tasks or actions depending on the active folder. I wanted to remove the &amp;ldquo;Uninstall or change a program&amp;rdquo; (in Dutch this is called &amp;ldquo;Een programma verwijderen of wijzigen&amp;rdquo;) button from the Computer view:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2009/11/commandbarbutton.webp" class="glightbox" data-type="image" data-gallery="post-477"&gt;&lt;img loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2009/11/commandbarbutton-small.webp" alt="CommandBarButton" width="430" height="92" /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>VMWare Workstation and Virtual PC XP Mode: unrecoverable error</title><link>https://remkoweijnen.nl/blog/2009/09/18/vmware-workstation-and-virtual-pc-xp-mode-unrecoverable-error/</link><pubDate>Fri, 18 Sep 2009 11:33:46 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2009/09/18/vmware-workstation-and-virtual-pc-xp-mode-unrecoverable-error/</guid><description>&lt;p&gt;I just installed my laptop with Windows 7 (x64) and I was curious how the new Windows XP mode worked (more on that topic later). After installing it I could no longer start any Virtual Machines in VMWare Workstation. The VM fired up but immediately halted with the following error: &amp;ldquo;VMware Workstation unrecoverable error: (vcpu-0)&amp;rdquo; &amp;ldquo;VCPU 0 RunVM failed: -2&amp;rdquo;.&lt;/p&gt;
&lt;img loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2009/09/vmwareerror-2.webp" alt="VMWareError" width="430" height="187" /&gt;</description></item></channel></rss>