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

Archive for the ‘Windows’ Category

rdesktop: A Remote Desktop Protocol client (open source, runs on X, hosted on sf.net)

Posted by jpluimers on 2014/01/02

Very interesting, especially since rdesktop.org works with Windows Server 2008 R2 and Windows 7 as well, and is stable on x64.

It provides three tools: rdesktop, rdpproxy and seamlessrdp.

Researching this, I also found about TSWindowClipper which allows you to seamlessly integrates remote apps on your client by integrating a DLL inside the MSTSC software using the official virtual channels.

Back to rdesktop: I really wish the documentation was better, but it contains some very interesting source code.

rdesktop is an open source client for Windows Remote Desktop Services, capable of natively speaking Remote Desktop Protocol (RDP) in order to present the user’s Windows desktop. rdesktop is known to work with Windows versions such as NT 4 Terminal Server, 2000, XP, 2003, 2003 R2, Vista, 2008, 7, and 2008 R2.

rdesktop currently runs on most UNIX based platforms with the X Window System, and other ports should be fairly straightforward.

rdesktop is released under the GNU Public Licence (GPL), version 3. Please send feedback, bug reports and patches to the appropriate mailing list. Patches can also be submitted to the SF patch tracker.

rdesktop is a project. See the Sourceforge rdesktop project info and the Wiki for more information.

Status

The latest stable version of rdesktop is 1.7.1 (edit: this was at the time of writing, for the current latest, check here). This versions solves major issues with 64bit version and smartcard support among a few minor fixes.

–jeroen

via rdesktop: A Remote Desktop Protocol client.

Posted in *nix, Development, Linux, Power User, Remote Desktop Protocol/MSTSC/Terminal Services, Software Development, SuSE Linux, 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 »

Retina MacBook Pro: with VMware Fusion 5: setting resolution 2880 x 1800 not available in Windows 8 (via: Ask Different)

Posted by jpluimers on 2013/12/27

(Originally scheduled for 20130930, so it made it to the Missed Schedule list as well)

On my research list, as I want to do this in Windows 7 as well as windows 8: retina macbook pro – Resolution 2880 x 1800 not available in Windows 8 (VMware Fusion 5) – Ask Different.

–jeroen

Posted in Apple, Fusion, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, VMware, Windows, Windows 7, Windows 8 | Leave a Comment »

X-mas present: Beyond Compare v4 beta for Mac OS X, Windows and Linux

Posted by jpluimers on 2013/12/24

I’ve been wanting this a very long time, so I’m going to install it Right Now ™ (:

Right before X-Mas, Scooter Software did the ANN: Beyond Compare 4.0 beta available on Windows, Linux, and OS X:

Posted: Dec 23, 2013 4:17 PM

Beyond Compare 4.0 beta is now available for testing on Windows, Linux, and OS X.

http://www.scootersoftware.com/beta

This version adds a number of new features: Read the rest of this entry »

Posted in *nix, Apple, Beyond Compare, Delphi, Development, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, Software Development, Source Code Management, SuSE Linux, Windows | Leave a Comment »

Top 10: Windows Firewall Netsh Commands (via: Windows Server content from Windows IT Pro)

Posted by jpluimers on 2013/12/24

For my own reference, especially since setting the network profile in Windows 8 from the UI got much more difficult.

It is doable though, but not in logic places; I like the secpol.msc way most: windows 8 – How do I set my wireless network to be private instead of public? – Super User.
Same for renaming the network, which also has a secpol.msc way that is easy:

  1. Press Win+R, then type secpol.msc
  2. Click on “Network List Manager Policies”
  3. Double-click on your network
  4. Optionally give your network another name
  5. Click on “Tab Network Location”
  6. Set “Location Type” to “Private”

Go back to Network and Sharing Center to check the result.

To start the Network and Sharing Center:

control.exe /name Microsoft.NetworkAndSharingCenter

Top 10: Windows Firewall Netsh Commands | Windows Server content from Windows IT Pro.

including:

  • Checking if the current profile is set to private/public/domain:

netsh advfirewall show currentprofile

Posted in Network-and-equipment, Power User, Windows, Windows 7, Windows 8 | Leave a Comment »

Scott Hanselman’s 2014 Ultimate Developer and Power Users Tool List for Windows – Scott Hanselman

Posted by jpluimers on 2013/12/22

After a couple of years break, there is the new Scott Hanselman’s 2014 Ultimate Developer and Power Users Tool List for Windows – Scott Hanselman.

A must read!

–jeroen

Posted in .NET, Development, Power User, Software Development, Visual Studio and tools, Windows | Leave a Comment »

Link Shell Extension: for hardlinks, junctions, volume mount points, etc.

Posted by jpluimers on 2013/12/20

Interesting as a complement to fsutil and mklink and FindLinks and JunctionLink Shell Extension and ln.exe.

It allows you to create and maintain “Hardlinks, Junctions , Volume Mountpoints , and Windows7/8’s Symbolic Links, (herein referred to collectively as Links) a folder cloning process” and more.

Note that Link Shell Extensions require NTFS5 or higher (NTFS.sys version 5, which corresponds with NTFS v3.1)

–jeroen

via: Link Shell Extension.

Posted in Power User, 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 »

Error 13EC when installing The .NET Framework 4.5.1 means you need to free more disk space. 3GB that is.

Posted by jpluimers on 2013/12/15

Recently I had Windows Update giving me a 13EC error when installing KB2858725: The .NET Framework 4.5.1 that got release lated last November on various virtual machine systems.

It appears that a lot more people suffer from the Windows Update 13EC issue, and most of them have to to with .NET 4, .NET 4.5 and .NET 4.5.1.

Running many virtual machine systems on an SSD based host machine, so I’m always pressed with disk space (hence cleaning the various temporary files directories often). I wasn’t glad with Windows 8 update KB 2821895

Note there are some Microsoft tips to make the size of the C:\Windows\WinSxS smaller, but those still do not remove the Reserve.tmp file.

My conclusion is that various Microsoft updates now require 3 gigabytes of disk space.

This seems to be the case with the .NET Framework 4.5.1 KB 2858725 update, and probably more future updates. I tried installing the KB 2858725 update with slightly less than 3 gigabytes of space (and after the 3 gigabyte reserve.tmp appeared), and I was still getting error 13EC. But with slightly more than 3 gigabyte the update would install.

Like usual, the Windows Update help on Error 13EC is useless, see the below screenshot.

–jeroen

via: The .NET Framework 4.5.1 and its corresponding language packs are available on Windows Update.

Posted in Power User, Windows, Windows 7, Windows 8 | Tagged: , , | 15 Comments »

Different ways of sleeping/waiting in batch files

Posted by jpluimers on 2013/12/13

About a year and a half ago, I wrote about a Batch file to “Keep Alive” a CMAK generated VPN connection in Windows 7.

It uses ping to wait a certain amount of time, but it has the drawbacks of

  • requiring TCP/IP to be installed (which some headless systems don’t).
  • using N+1 as the number of seconds

Since then, I learned that since Windows Vista and up has timeout command that just waits:

timeout /t 600 /nobreak

Two parameters are used:

  • /nobreak
    does not stop waiting when you press a key
  • /t #
    waits # seconds

(the example is 10 minutes, I use it to regularly run FlushFileCache.exe or FlushMem.exe to empty the Windows file chache and release memory – often more than a gigabyte – back to Windows)

There is also sleep.exe, but that requires the Windows Resource Kit or Windows Server 2000/2003.

–jeroen

via:

Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows | Tagged: | Leave a Comment »

When your 2nd (touch) screen “clicks” on your 1st (non-touch) screen (Windows 7 tip,via André Mussche – Google+)

Posted by jpluimers on 2013/12/13

Glad I found back this G+ post by André Mussche:

20130206, 09:12 –  Public

TIP: I got a 2nd screen with touch (on Win7), however default when touching the second screen it “clicks” on the main (1st) screen. Using “Tablet PC Settings” I got this switched to the correct 2nd screen.

http://ava.co.uk/support/faq/general/touch-screen-show-as-not-supporting-touch-how-to-install-a-2nd-touch-screen-on-windows-7.aspx

I had exactly the same problem, and this solved it.

–jeroen

via: André Mussche – Google+ – TIP: I got a 2nd screen with touch (on Win7), however….

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

Trying fix for Windows 8 high CPU usage of TiWorker.exe (via: bit-tech.net)

Posted by jpluimers on 2013/12/11

Hopefully this command (ran as administrator) will fix the high CPU usage of TiWorker.exe on one of my Widows 8 machines:

DISM /online /cleanup-image /restorehealth

It took almost an hour to run…


C:\bin>DISM /online /cleanup-image /restorehealth
Deployment Image Servicing and Management tool
Version: 6.2.9200.16384
Image Version: 6.2.9200.16384
[==========================100.0%==========================]
The restore operation completed successfully. The component store corruption was repaired.
The operation completed successfully.

Thanks to Windows 8: Update KB2821895 sorgt für Probleme – Lösung gefunden! – Dr. Windows.

–jeroen

via: Windows 8 update bug clogs CPUs | bit-tech.net.

See also:

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