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

Archive for the ‘Windows’ Category

paping – Cross-platform TCP port testing, emulating the functionality of ping (port ping) – Google Project Hosting

Posted by jpluimers on 2015/12/22

Hopefully someone will move this to Github before Google code goes down: paping – Cross-platform TCP port testing, emulating the functionality of ping (port ping) – Google Project Hosting.

Paping (pronounced pah ping) is a computer network administration utility used to test the reachability of a host on an Internet Protocol (TCP/IP) network and to measure the time it takes to connect to a specified port

–jeroen

via:

Posted in *nix, *nix-tools, Communications Development, Console (command prompt window), Development, Internet protocol suite, Power User, TCP, Windows | 1 Comment »

Windows: Some links around SeBatchLogonRight (Logon as Batch job)

Posted by jpluimers on 2015/12/11

I will need this one day when doing some migration of jobs written as cmd scripts that are now ran occasionally by end-users into a scheduled fashion.

–jeroen

via: “Logon as batch job” script – Google Search

Posted in Power User, Windows, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2 | Leave a Comment »

VisionApp: pass Windows key combinations to remote machine

Posted by jpluimers on 2015/12/04

Like MSTSC/RDP, I wanted VisionApp to pass Windows specific key combinations (like Alt-Tab, menu key, PrtSc, and of course Windows key combinations) to pass to the remote.

Though the web-search didn’t turn any good information in the high ranked results, this was remarkably easy:

  1. Right click on your connection
  2. Choose “Properties”
  3. Switch to the “RDP” tab
  4. Set “Apply Windows key combinations” to “On the remote computer”
  5. Press “OK”

One catch:

this only work for new sessions. So you will have to re-connect existing sessions to apply this change.

Click on the image for a larger version.

Set "Apply Windows key combinations" to "On the remote computer"

Set “Apply Windows key combinations” to “On the remote computer”

–jeroen

Posted in Power User, Remote Desktop Protocol/MSTSC/Terminal Services, Windows | Leave a Comment »

Resolving “Unknown SSL protocol error in connection to bitbucket.org:443”

Posted by jpluimers on 2015/11/24

A while ago, I had this error on BitBucket:

Running git.exe with arguments "fetch --prune" failed with return code 128 and error output: "fatal: unable to access 'https://%account%@bitbucket.org/%user%/%repository%.git/': Unknown SSL protocol error in connection to bitbucket.org:443

A quick search for “Unknown SSL protocol error in connection to bitbucket.org:443” pointed me to a comment by Ludwik Trammer on an answer by Jordfräs:

I resolved the issue by upgrading from git 1.8 to git 2.0.

Which reminded me this was a Windows system, where there is no package manager that verifies how far your non-system software is behind.

One day, I will write a script that finds out about the git version history and inform me of major/minor versions I’ve skipped.

Some notes for that:

Probably I will need to do something similar for Mercurial/hg in the future as well.

–jeroen

via: git – Unknown SSL protocol error in connection – Stack Overflow

Posted in Development, DVCS - Distributed Version Control, git, Power User, Software Development, Source Code Management, Windows, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2 | Leave a Comment »

The number of connections to this computer is limited and all connections are in use right now. Try connecing later or contact your system administrator.

Posted by jpluimers on 2015/11/23

I never found the cause for this error:

The number of connections to this computer is limited and all connections are in use right now. Try connecing later or contact your system administrator.

I tried all the links I found via The number of connections to this computer is limited and all connections are in use right now. Try connecing later or contact your system administrator. – Google Search

In the end I did a hard power down of the machine and rebooted. The error never returned.

I tried these links all to no avail:

–jeroen

Posted in Power User, Windows, Windows 8, Windows 8.1 | 2 Comments »

Inno Setup: Program Folder not showing up In Start > All Programs. I’ve been…

Posted by jpluimers on 2015/11/15

taskkill /f /im explorer.exe
del %LOCALAPPDATA%\IconCache.db /a
start explorer

Source: Inno Setup: Program Folder not showing up In Start > All Programs. I’ve been… (A Google+ post not archived in the WayBack machine)

It will kill explorer.exe, delete the IconCache.db, then starts explorer which will rebuild IconCache.db.

–jeroen

Posted in Development, InnoSetup, Installer-Development, Power User, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1 | Leave a Comment »

Detecting internet access: differentiating between local and internet connection

Posted by jpluimers on 2015/11/12

A few interesting links I don’t want to forget:

–jeroen

Posted in Development, Power User, Software Development, Windows | Leave a Comment »

Changing the Windows Profile type: roaming versus local

Posted by jpluimers on 2015/10/26

I  just made this little batch file to start the dialog that allows changing the Windows Profile type:

"%windir%\system32\rundll32.exe" sysdm.cpl,EditUserProfiles

–jeroen

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

DYMO Drivers and Downloads for my LabelWriter 400; USB extender to get it connected to a VM under VMware ESXi

Posted by jpluimers on 2015/10/23

DYMO Drivers and Downloads has the Windows drivers for my LabelWriter 400:

I’ve had this LabelWriter for a long time, but I retired my physical Windows XP PCs a while ago so I needed to get it connected to a Windows VM on my ESXi rig.

The rig and printer are almost 10 metre apart (bruto distance through cable ducts) which is beyond the maximum USB distance of about 5 metre. A repeater or Active Cable can get around that limitation. Basically these repeaters are bus powered 1-port hubs. I already had good experience with a 5 metre extender combined with a 7-port external powered USB hub to connect the XP machines to some USB printers in the printer closet (a 5 metre USB cable sometimes would fail; the repeater always worked).

So I bought a 33ft 10M USB 2.0 A Male to A Female Active Extension / Repeater Cable, fed it through the cable ducts and added these devices to my VM:

Now I can print my 36mm x 89mm Dymo 99012 (or compatible) labels again (:

–jeroen

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

Restore music and video from iPod: the iPod_Control\Music folder

Posted by jpluimers on 2015/10/09

When you’re not a frequent iTunes user, and recycle computer systems, then every once in a while you will get you in to a situation where you have Music on your iPod, but not on your PC any more.

Whereas iTunes is great at putting music on an iPod, it cannot get it back.

There are numerous paid tools to get the music from your iPod, but doing it manually is not that hard. Below are a few links to get you started, but they all come down to this:

  1. Your iPod has a hidden folder called iPod_Control in the root
  2. Inside the iPod_Control folder is a folder called Music
  3. Inside the Music folder, there are folders named with letters and numbers like F00
  4. Each numbered folder has media (music, video or even photos!) files with a strangely encoded name like B00N.mp3 or 3DUN.m4v with supported media extensions including mp3 m4a m4p jpg gif tif m4v mov.
  5. The media files contain meta data with song, artist, album, etc.

The steps to copy them back

  1. Do not erase your iPod when opening it in iTunes!
  2. Ensure you can mount your iPod as a disk (the “enable disk use” option in iTunes)
  3. Mount your iPod as a disk in Mac or PC
  4. Ensure you can view the hidden files
  5. Copy the Music folder including all subfolders to your Mac or PC
  6. Unhide the Music folder and all Music and Music/F* folders inside it using this chflags trick from Unhiding Unix Directories | Apple Support Communities:
    1. chflags nohidden Music
    2. chflags nohidden Music/F*
  7. Add these to your iTunes library and have iTunes re-generate the correct filenames from the meta-data

Some links explaining this in more detail:

–jeroen

Posted in Apple, iPod, iTunes, 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 Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Windows, Windows 7, Windows 8, Windows 8.1, Windows 9 | 2 Comments »