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,860 other subscribers

Archive for the ‘Windows’ Category

UNC and IPv6 (via IPv6 address – Wikipedia, the free encyclopedia)

Posted by jpluimers on 2012/11/23

If you have a MYSHARE share on SERVER having an IPv6 of 2001:db8:85a3:8d3:1319:8a2e:370:7348, but your WINS fails, then you can use it in an UNC path like this:

\\2001-db8-85a3-8d3-1319-8a2e-370-7348.ipv6-literal.net\MYSHARE

Thanks to this part of the IPv6 addresses article on Wikipedia:

Literal IPv6 addresses in UNC path names

In Microsoft Windows operating systems, IPv4 addresses are valid location identifiers in Uniform Naming Convention (UNC) path names. However, the colon is an illegal character in a UNC path name. Thus, the use of IPv6 addresses is also illegal in UNC names. For this reason, Microsoft implemented a transcription algorithm to represent an IPv6 address in form of a domain name that can be used in UNC paths. For this purpose, Microsoft registered and reserved the second-level domain ipv6-literal.net on the Internet. IPv6 addresses are transcribed as a hostname or subdomain name within this name space, in the following fashion:

2001:db8:85a3:8d3:1319:8a2e:370:7348

is written as

2001-db8-85a3-8d3-1319-8a2e-370-7348.ipv6-literal.net

This notation is automatically resolved by Microsoft software without any queries to DNS name servers. If the IPv6 address contains a zone index, it is appended to the address portion after an ‘s’ character:

fe80--1s4.ipv6-literal.net

–jeroen

via: IPv6 address – Wikipedia, the free encyclopedia.

Posted in Microsoft Surface on Windows 7, Power User, Windows, Windows 7, Windows 8, Windows Vista | Leave a Comment »

Some interesting USB devices to add more than 2 monitors to your PC or Mac (via: USB Graphics – Graphic solutions GeForce & Radeon)

Posted by jpluimers on 2012/11/09

Thanks to Matthijs ter Woord who pointed me to these.

They require a single Intel®, Nvidia®, or AMD® primary WDDM driver. That driver does the actual rendering, the USB device then gets the rendered parts over USB to the monitor.

The really cool thing is: they work on a PC with Windows XP and higher, and on  Mac with OS X Tiger or better.

The chipsets are based on DisplayLink technology; they have their own USB devices as well.

USB2.0 to DVI-I Graphics

CSV-2000D – SenseVision USB Graphics – USB2.0 to DVI-I

USB2.0 to DVI-I graphics devices let you easily add an additional monitor to your notebook PC, desktop and MacBook®. The Club 3D SenseVision USB2.0 to DVI-I Graphics allows you to extend your desktop display beyond 1080p HD resolution displays. … View Details

USB2.0 to HDMI Graphics

CSV-2000H – SenseVision USB Graphics – USB2.0 to HDMI

USB2.0 to HDMI graphics devices let you easily add an additional monitor to your notebook PC, desktop and MacBook®. The Club 3D SenseVision USB2.0 to HDMI Graphics allows you to extend your desktop display beyond 1080p HD resolution displays. … View Details

–jeroen

via: USB Graphics – Graphic solutions GeForce & Radeon.

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook-Air, MacBook-Pro, Power User, Windows, Windows 7, Windows 8 | Leave a Comment »

HOW TO: Change the Default Selection in the Active Directory Manager Snap-in

Posted by jpluimers on 2012/10/29

When managing entities in more than one Active Directory, it is very nice to know that the Active Directory Manager Snap-in supports command line parameters select the domain (and if you want the domain controller).

(Further tweaking needs to be done using scripts like this one)

From the HOW TO: Change the Default Selection in the Active Directory Manager Snap-in. documentation:

Specify the Domain Controller Before Starting the Snap-in

To specify the domain controller to be used before starting the Active Directory Users and Computers snap-in, use the “/SERVER=” switch as a parameter to the MMC saved console (.msc) file. In the process of connecting to the server, the domain of which the controller is a member is automatically detected. For example, either from a command prompt or in the Open box, type:

dsa.msc /server=dc-01.domain.com

Specify the Domain Before Starting the Snap-in

To specify the domain to be used before starting the snap-in, use the “/DOMAIN=” switch as a parameter to the MMC saved console (.msc) file. A domain controller for the domain specified is located automatically and used as the default domain controller. For example, either from a command prompt or in the Open box, type:

dsa.msc /domain=childdomain.domain.com

–jeroen

via: HOW TO: Change the Default Selection in the Active Directory Manager Snap-in.

Posted in Power User, Windows, Windows Server 2003, Windows Server 2008 | Leave a Comment »

Research item: duplicate file finders

Posted by jpluimers on 2012/10/26

Some links I need to research to find a duplicate file finder that fits my needs:

–jeroen

Posted in Power User, Windows, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2 | Leave a Comment »

Downloading TomTom POI files for Germany/Austria/Switzerland and for Italian LPG & CNG filling stations

Posted by jpluimers on 2012/10/22

LPG is Liquefied Petroleum Gas. CNG is Compressed Natural Gas. Both are good fuels for cars. I favour LPG, for two reasons. First, it often can be obtained as a rest-product of cracking crude oil, second it has a much higher energy density than CNG.

For each country, you should

  1. download the POI files (preferably in the OV2 format)
  2. download the icon bitmap file
  3. make sure the name portion of the files are the same
  4. copy those files to your device using the something like the MyPOI manager or the instructions at TomTom POI updates in TomTom forum – GPS POI.

Germany, Austria & Switzerland

Note: In Switzerland, there are relatively few LPG stations, but many CNG stations.

Download section for getting LPG and CNG stations in Germany, Switzerland and Austria: LPG & CNG Tankstellen (download).

For TomTom devices, just download the LPG or CNG files for POI and Icon:

Italy and other countries

Start your downloads at LPG Autogas in Italy – Petrol GPS POI data directory for TomTom, Garmin, Navman, SmartPhones and other GPS devices. – GPS POI Data.

Then press the Download POI File button to download the OV2 and BMP file.

–jeroen

Posted in Power User, Windows | Tagged: , , , , , , , , , , , , | Leave a Comment »

Shotcut keys in Windows 8 (via: Technical Gallery – Krishnan Sriram)

Posted by jpluimers on 2012/10/19

Krishnan Sriram has a very nice list of New hotkeys for the Windows 8 Consumer Preview.

His lists starts with the shortcuts that stayed the same; these are the ones that are new:

Read the rest of this entry »

Posted in Keyboards and Keyboard Shortcuts, Power User, Windows, Windows 7, Windows 8 | Leave a Comment »

How To Backup Bootable USB Drive

Posted by jpluimers on 2012/10/15

I needed to make backups of a couple of maintenance USB drives.

It turned out to be pretty easy: How To Backup Bootable USB Drive describes how to do that based on a small USB Image Tool developed in .NET.

One of the things you can do with this is backup bootable Windows installation media.

Note it is a simple tool, so it backups only same size to same size. For more advanced copy purposes, use something like the professional tools from Acronis.

–jeroen

Posted in .NET, Development, Hardware Interfacing, Power User, Software Development, USB, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

LUSRMGR von Remote aufrufen – Windows – Administrator

Posted by jpluimers on 2012/10/12

psexec to the rescue again:

psexec \\%rsys% -u DOMAIN\%user% mmc.exe lusrmgr.msc

note: both the current and remote computer must be trusting the AD belonging to DOMAIN, otherwise you will get an access denied message.

–jeroen

via: LUSRMGR von Remote aufrufen – Windows – Administrator.

Posted in Power User, Windows, Windows 7, Windows Server 2003 | Leave a Comment »

Robocopy Exit Codes: 0 and 1 usually mean success

Posted by jpluimers on 2012/10/08

Most console applications return 0 (zero) as success.

But sometimes there are multiple success result codes, and the success depends on what you want to do with them.

One example is RoboCopy.

The zero result code means that nothing happened: no error occurred and nothing was copied, because there was no need to.

But for most RoboCopy scenario’s result code 1 (one) is also success. It means that no error occurred and that one ore more files were copied.

In fact the RoboCopy result codes form a bitmap explained on ss64.com.

Most RoboCopy use cases will have [0,1] as the set off success result codes.

–jeroen

via: Robocopy Exit Codes.

Posted in Batch-Files, Development, Power User, RoboCopy, Scripting, Software Development, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 3 Comments »

Some notes on multi-touch and Windows

Posted by jpluimers on 2012/10/06

While fooling around with Microsoft Surface, you are astonished with the number of fingers it supports: 10 is no problem on the Samsung SUR40 which can also do full HD resolution (more specs here).

Not so with the standard Windows 7 touch support: that has only 2.

As I want to increase that to better mimic the development environment to the actual environment a few notes:

–jeroen

Posted in .NET, Development, Microsoft Surface, Microsoft Surface on Windows 7, Software Development, Windows 7, Windows 8 | Tagged: , , , , , , , , , , , , | 1 Comment »