The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for the ‘Windows 7’ Category

How to disable Chrome PDF Viewer in Google Chrome and reenable the Acrobat Reader plugin

Posted by jpluimers on 2011/02/07

Google Chrome integrated a PDF viewer that is far less functional than Adobe Reader.

In fact: if you had Adobe Reader as PDF viewer, Google Chrome will just use their own.

One of the things I use a lot is the multi-page view (2 page next to each other; fits nicely on a 1920×1200 screen).

It is actually pretty easy to switch back: Read the rest of this entry »

Posted in Google, Power User, Windows, Windows 7, Windows Vista, Windows XP | Leave a Comment »

batch file scripts to get current date and current time in sortable ISO 8601 format

Posted by jpluimers on 2011/01/10

ISO 8601 is a great format for date and time (and combined) values.
It allows for both interchange of information, and ease of sorting values.

Recently, I had to create some backup and logging scripts for a 3rd party turn-key installation at a client.
You know: the kind of installation where the 3rd party manages to break their own scripts, but at the mean time close the system so much, that you cannot do anything but standard batch-file scripts.

The system runs partially on a Workstation that is based on a Dutch version of Windows XP, and a server that runs an English version of Windows Server 2008.
Recipe for some twiddling in order to keep the scripts working on both systems, and not to get bitten by localization.

This answer to a StackOverflow question got me a nice head-start: it was said to work in both the English and Portugese versions of Windows.
This post is the process to get correctly function batch-files towards the end of the post.

Of course, we Dutch are persistent enough to have yet different output for the %date% pseudo variable and the date and date /t commands.
The same holds for the %time% pseudo variable and the time and time /t commands.
Read the rest of this entry »

Posted in Batch-Files, Development, ISO 8601, Power User, Scripting, Software Development, Windows, Windows 7, Windows Vista, Windows XP | 4 Comments »

Windows XP: changing the HAL to support multiple cores (actually: two CPUs)

Posted by jpluimers on 2010/10/14

A while ago, I moved a single CPU Windows XP VM from VMware Workstation to ESXi 4.1 using the standalone VMware vCenter converter.
In ESXi, I increased the CPU count from 1 to 2, and wanting to to for 4 (since  I had been running Windows on a quadcore CPU before).

Well, that turned out to be harder than I thought… Read the rest of this entry »

Posted in ESXi4, Power User, Reference, Virtualization, VMware, VMware Converter, Windows, Windows 7, Windows Vista, Windows XP | 6 Comments »

batch-file trick: Starting Windows Explorer and selecting a file (“explorer” commandline parameters “/n” “/e” “/select” “/root” “/start” site:microsoft.com)

Posted by jpluimers on 2010/09/01

From a batch-file I recently had to start Windows Explorer, at the same time select a specific file or directory.

This turned out pretty easy: use the /select command-line switch from Windows Explorer.

In fact, Windows Explorer has a few command-line switches, and the “explorer” commandline parameters “/n” “/e” “/select” “/root” “/start” site:microsoft.com query will find quite a few topics about it: Read the rest of this entry »

Posted in Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows 95, Windows 98, Windows ME, Windows NT, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Vista, Windows XP | 1 Comment »

RDP to VMware host running an XP guest: Invisible Mouse Cursor on Text Editors

Posted by jpluimers on 2010/08/06

Scenario is this;

  1. RDP into a host running VMware
  2. Use the VMware client to run XP as guest
  3. Hover the mouse over a text editor
  4. The mouse cursor becomes invisible

I have seen it happen under these circumstances: Read the rest of this entry »

Posted in Power User, VMware, Windows, Windows 7, Windows Vista, Windows XP | 7 Comments »

Telnet for Windows Vista & Windows 7

Posted by jpluimers on 2010/05/20

I wrote about Telnet for Windows Vista & Windows 7.

These steps are even easier:

  1. Press the Windows key
  2. type “turn windows features on or off”
  3. choose “Telnet Client”
  4. press OK
  5. wait a few seconds for the install to complete

–jeroen

Posted in Power User, Windows, Windows 7, Windows Vista | 1 Comment »

Windows 7/Vista: How to access Administrative Shares (C$, IPC$, …) via PaulSpoerry.com

Posted by jpluimers on 2010/05/13

A while after installing a new copy of Vista or Windows 7, I usually want to be able to access the administrative shares (like C$, Admin$, IPC$, etc).

On Windows 7 and Vista, those are by default not enabled.

To enable them, import this enable-windows-7-vista-server-2008-administrative-shares.reg file into the registry:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"LocalAccountTokenFilterPolicy"=dword:00000001

You need to reboot your system once after this registry change.

Or from a batch file as Administrator:

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "LocalAccountTokenFilterPolicy" /t REG_DWORD /d 0 /f

Later I name the files like this:

enable.windows-vista-and-up.administrative-shares.bat
enable.windows-vista-and-up.administrative-shares.reg

–jeroen

via [WayBack] How to access Administrative Shares on Vista C$ | PaulSpoerry.com

Posted in Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1 | Leave a Comment »

Windows 7 has lots of ‘GodModes’ (exclusive) | Beyond Binary – CNET News

Posted by jpluimers on 2010/01/14

Some more GodModes in Windows 7.
Note that some might work in Vista too, but note that Vista-64 users have problems with the original ‘GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}‘ folder name (in fact any name before the dot will work: ‘Thor.{ED7BA470-8E54-465E-825C-99712043E01C}‘ is fine too.

You can also run ‘explorer shell:::{ED7BA470-8E54-465E-825C-99712043E01C}‘ from the command-line or from a batch file (like thor.bat).

Via:

–jeroen

Posted in GodMode, Pingback, Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Vista | Leave a Comment »

Reminder to self: what to do if RDP (MSTSC) or VMware clipboard sharing is broken

Posted by jpluimers on 2009/09/18

Some things to check when clipboard sharing for Remote Desktop (RDP/MSTSC) or VMware is broken. Read the rest of this entry »

Posted in Fusion, Power User, Remote Desktop Protocol/MSTSC/Terminal Services, View, VMware, VMware Workstation, Windows, Windows 7, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »