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

It looks like everything signed by an Adobe Code Signing Certificate can be malware

Posted by jpluimers on 2012/09/29

If I read Inappropriate Use of Adobe Code Signing Certificate my conclusion is that anything signed by the Adobe Code Signing Certificate since 2012-07-10 potentially can be malware.

As a precaution, I will manually revoke the certificate on all my systems (that’ll take a while!). If anyone knows how to automate that process, please post a comment showing how to.

Hitching on a trusted certificate of a big software company comes close to the ultimate hack: trojaning signed malware in the distribution of an OS vendor.

–jeroen

via: Inappropriate Use of Adobe Code Signing Certificate « Adobe Secure Software Engineering Team (ASSET) Blog.

Posted in *nix, Adobe, Android Devices, Apple, HTC, HTC Sensation, iOS, iPad, iPhone, iPod, iPod touch, Linux, 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, Opinions, OS X 10.8 Mountain Lion, 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 | Tagged: , , , , , , , , , | Leave a Comment »

RDP/MSTSC: keyboard shortcuts in Microsoft Remote Desktop

Posted by jpluimers on 2012/09/21

The Ctrl+Alt+Delete keyboard shortcut equivalent for VMware View/Workstation/Player is very easy to remember: Ctrl+Alt+Insert.

While searching for the Ctrl+Alt+Delete keyboard shortcut equivalent in Remote Desktop (which is Ctrl+Alt+End), I came accross the via List of the keyboard shortcuts that are available in Windows XP.

It includes these lists:

  • General keyboard shortcuts
  • Dialog box keyboard shortcuts
  • Microsoft natural keyboard shortcuts
  • Accessibility keyboard shortcuts
  • Windows Explorer keyboard shortcuts
  • Shortcut keys for Character Map
  • Microsoft Management Console (MMC) main window keyboard shortcuts
  • MMC console window keyboard shortcuts
  • Remote desktop connection navigation
  • Microsoft Internet Explorer navigation
  • Other information

I was after the Ctrl+Alt+End shortcut from the list below which works in any Windows version I tested so far. But the other lists are very useful too.

Read the rest of this entry »

Posted in Keyboards and Keyboard Shortcuts, 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 »

Zero day vulnerability in mshtml.dll used by Internet Explorer 6, 7, 8 and 9, and many other products.

Posted by jpluimers on 2012/09/20

Summary:

  • Zero day vulnerability in mshtml.dll used by Internet Explorer 6, 7, 8 and 9, and many other products.
  • Resolution: Deploy EMET or stop using IE and other products using mshtml.dll until Microsoft delivers a patch.

Earlier this week a zero-day vulnerability in the mshtml.dll was made public. This DLL is used by almost all Internet Explorer versions (6-9 are vulnerable) and many other software products (almost anything from Microsoft and a lot of 3rd party software that displays a web page on Windows).

While Microsoft is building a fix that is to be released very soon now (probably tomorrow, Friday September 21st 2010), the official resolutions are not to use the mshtml.dll at all (impractical for many people), or deploy EMET (impractical too as it requires administrative privileges).

If you can, switch to a browser that uses a different layout engine than mshtml.dll (for instance browsers based on WebKit will do).

These pages are good starting points for more information:

Particularly interesting posts:

–jeroen

Posted in Internet Explorer, Power User, Web Browsers, Windows, Windows 7, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: , , , , , , , , | 8 Comments »

Making RoboCopy silent (via: backup – How can I make robocopy silent in the command line except for progress? – Stack Overflow)

Posted by jpluimers on 2012/09/14

A while ago, I got a question from a colleague on how to silence RoboCopy.

The RoboCopy /? help is a bit awkward to read, so there is this nice SO answer by Ruben Koene:

So together with previous answer you get the following and it’s silent:

ROBOCOPY [target] /njh /njs /ndl /nc /ns /np /nfl

And there is the FIND way where I marked the relevant options with an asterisk (*):

C:\Users\jeroenp>robocopy /? | find /i "No"
                 /S :: copy Subdirectories, but not empty ones.
            /NOCOPY :: COPY NO file info (useful with /PURGE).
             /PURGE :: delete dest files/dirs that no longer exist in source.
                /PF :: check run hours on a Per File (not per pass) basis.
                       n must be at least 1 and not greater than 128.
                /XJ :: eXclude Junction points. (normally included by default).
                 /X :: report all eXtra files, not just those selected.
*               /NS :: No Size - don't log file sizes.
*               /NC :: No Class - don't log file classes.
*              /NFL :: No File List - don't log file names.
*              /NDL :: No Directory List - don't log directory names.
*               /NP :: No Progress - don't display percentage copied.
*              /NJH :: No Job Header.
*              /NJS :: No Job Summary.
              /NOSD :: NO Source Directory is specified.
              /NODD :: NO Destination Directory is specified.

–jeroen

via: backup – How can I make robocopy silent in the command line except for progress? – Stack Overflow.

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

Enabling DisableLastAcces using fsutil

Posted by jpluimers on 2012/09/07

Note: modifying DisableLastAccess using fsutil is only supported on Windows Server 2008 R2 and higher, and on Windows 7 and higher.
The comment says that older versions of Windows (Windows Server 2000 through Windows Server 2008, and Windows XP through Windows Vista) need the registry way to do this.

This is not true, as the fsutil way works for Windows Server 2003.

Both ways require a reboot and require Administrator access.

It works like this (on Windows Server 2003 x86 as an Administrator user):

C:\Documents and Settings\jeroenp>fsutil behavior query disablelastaccess
disablelastaccess is not currently set

C:\Documents and Settings\jeroenp>fsutil behavior set disablelastaccess 1

C:\Documents and Settings\jeroenp>fsutil behavior query disablelastaccess
disablelastaccess = 1

C:\Documents and Settings\jeroenp>

Note that fsutil does not need –help, -? or -h on the command-line to display help; just omit stuff and you get help: Read the rest of this entry »

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 »

Why I really dislike localized error messages…

Posted by jpluimers on 2012/09/06

The problem with localized error messages often is that it is virtually impossible to find information about them.

For instance the below error got reported by a client for me to fix (click on the picture to get a larger version) has a few big problems:

Read the rest of this entry »

Posted in Excel, Office, Power User, Windows | Tagged: , , , , , , , , , , , , , | 2 Comments »

Zero-day Java exploit fixed: Either update Java immediately, or disable it if you don’t use/need it

Posted by jpluimers on 2012/08/31

On monday, I wrote it was Time to disable Java for a while: Zero-Day Season is Not Over Yet.

Today Oracle released a fix, which you should either install immediately (that is NOW, don’t hesitate!).

For this vulnerability, it is enough to disable Java from your browser – see: How to disable Java in your web browser – but as with any software: if you don’t need it, just disable/uninstall it.

Disabling/uninstalling on a Mac may impose a problem, as Apple hasn’t come with an update for the OS X editions that came with Java pre-installed.

Most other users can either install the version on their current system on-line from Download Free Java Software, or download offline installers for other systems at Java Downloads for All Operating Systems.

I might actually try the Java Unattended Silent Installer and Updater from Ninite – Install or Update Multiple Apps at Once.

–jeroen

via:

 

Posted in *nix, Apple, LifeHacker, 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, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

A few Windows TCP/IP proxy/tunnel/relay tools

Posted by jpluimers on 2012/08/31

So I won’t forget:

–jeroen

Posted in Power User, Windows | Leave a Comment »

If a program you wrote can’t start becuase MSVCR*.dll is missing, then you forgot to ship the Visual C++ runtime…

Posted by jpluimers on 2012/08/30

Too often I see quesions like the one below on software that people distribute:

The Program can’t start becuase MSVCR100.dll is missing from your computer. Try reinstalling the program to fix this problem.

I am getting follwing error when i am trying to open Computer management in windows 7,the error is as follows ,

The Program can’t start becuase MSVCR100.dll is missing from your computer. Try reinstalling the program to fix this problem.

Where can i found this dll file, and help me to download and install.

The reason is that many programmers and companies still fail to ship the correct Visual C++ run-time.

Even for a one-off, you should need to get your installation set right. And writing stuff in a version of Visual C++ almost always means you need to ship the run-time for that particular version of Visual C++ with your application (though sometimes you can get away by putting the DLLs in the directory of your application, this is not recommended, as that way you won’t receive security updates).

User Marilyn O was so kind to sum up most of the download locations (I did a bit of post-editing, added all the non-“FamilyID” links, all naming differences are from the MS site):

I would install the Microsoft Visual C++ Redistributable dll that is needed for projects built with Visual Studio 2010.

Download the files below depending on your operating system version. […] Check in Programs and Features, do you show that you have installed Microsoft Visual C++ … Redistributable? If not, download from the links here.

–jeroen

via: The Program can’t start becuase MSVCR100.dll is missing from your – Microsoft Answers.

Posted in C++, Development, Power User, Software Development, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools, 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 »

Windows 8 Windows-key shortcuts (via: Windows 8 productivity: Who moved my cheese?)

Posted by jpluimers on 2012/08/27

Brilliant post on using the Window-key for shortcuts with Windows 8 (all Windows 7 Windows-key shortcuts work, plus many more): Windows 8 productivity: Who moved my cheese? Oh, there it is. – Scott Hanselman.

–jeroen

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