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

Improve Word performance with tables

Posted by jpluimers on 2016/03/25

Apart from the obvious “use less tables” and “break tables apart”, these can also help big time:

  1. Run %WinDir%\System32\SystemPropertiesPerformance.exe
  2. Choose “Ajust for best performance” (it will disable all visual enhancements)
  3. Re-enable “Smooth edges of screen fonts” (it will make it easier to set bold and italic apart in Word)

If it is still too slow, I might look into these:

–jeroen

Read the rest of this entry »

Posted in Microsoft Surface on Windows 7, Office, Office 2007, Office 2010, Office 2013, 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, Windows Vista, Word | Leave a Comment »

TeamViewer Portable on Windows without UAC breaking it

Posted by jpluimers on 2016/03/14

TeamViewer Portable (and its cousin TeamViewer QuickSupport) is a great tool for the occasional helping out of friends, but both Portable and QS don’t play well with UAC:

Your partner’s desktop is no longer accessible.

Probably you used a program that requires additional permissions.
Please wait until your partner has granted these permissions.

Many suggest to install the full TeamViewer client, but that is a bit against the point of occasional helping.

A practical solution is much easier: start either Portable or QS with using Run As Administrator once, and it works perfectly fine.

–jeroen

Read the rest of this entry »

Posted in Power User, Windows | 2 Comments »

Tip: How to play a playlist one song at a time … – via: Apple Support Communities

Posted by jpluimers on 2016/02/26

It’s obvious if you have seen this once, but it wasn’t clear to me how to play only individual songs from a playlist. Luckily my search got this step by step guide as the first hit:

  1. Create the playlist.
  2. Uncheck all of the check boxes in the playlist (In iTunes for Windows, ctrl click one of the check marks to uncheck all of the checkboxes at once)
  3. Now double click (or select and press spacebar) a song to play it. It will stop when finished because there is no other song checked to be played next.
  4. If you want to change back to normal sequential play, ctrl click one of the check marks again to change all of the checkboxes back to the checked status.

The tip works for both Mac and Windows.

I needed this as part of a pub-quiz so I could finish the questions and answers before moving on to the next track in the playlist.

Thanks hiker1251!

–jeroen

via: Tip: How to play a playlist one song at a time … | Apple Support Communities.

Posted in Apple, iTunes, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, Power User, Windows | Leave a Comment »

Windows 7: you can only change the language for Ultimate and Enterprise editions – not Professional (or home)

Posted by jpluimers on 2016/02/15

It is hard to find in the Windows MUI Knowledge Center for which Windows 7 editions you can change the language. Only when you carefully read Language Packs in Windows 7, you see a table with “Availability and usage” indicating how you can get language packs. To summarize, Complete language packs are only available for:

  • Ultimate Edition
  • MSDN subscribers
  • Registered OEMs
  • Enterprises
  • Server

Virtually all UI languages are complete language packs as shown in the table under Available Language Packs.

In other words: you cannot change the UI language in Windows 7 professional as this post phrases in a much simpler way:

Unfortunately, the Multilingual User Interface (MUI) Language Packs will only work in Windows 7 Ultimate or Enterprise editions.

So of all Windows 7 Editions, only Ultimate and Enterprise allow you to change the language.

Bummer, as for all Windows 8 editions (same for 8.1 and up) allow you to change the UI language.

–jeroen

via:

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

Ensure DeployIT can execute commands on your Windows machine

Posted by jpluimers on 2016/02/08

DeployIT (now XL-Deploy) uses a Remote Plugin to connect to other systems. When conncting to Windows systems, it requires WinRM to be configured on the target.

You can either run winrm qc or winrm quickconfig (they are equivalent), then answer y to the question.

C:\temp>winrm quickconfig
WinRM already is set up to receive requests on this machine.
WinRM is not set up to allow remote access to this machine for management.
The following changes must be made:

Create a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this
machine.

Make these changes [y/n]? y

WinRM has been updated for remote management.

Created a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this
 machine.

More detailed instructions are in the overthere/README.md.

–jeroen

via:

Posted in Console (command prompt window), Power User, Windows | 2 Comments »

It was fun while it lasted: Barracuda Copy – Copy End-of-Life

Posted by jpluimers on 2016/02/05

Copy had some advantages and disadvantages. For instance, it was better handling long file names, character encodings in filenames and a lot easier to configure over a CNTLM proxy than DropBox, but unlike DropBox didn’t keep history of changes.

Alas no more copy.com as of 20160501: [WayBack] Barracuda Copy – Copy End-of-Life.

They suggest using [WayBackMover with OneDrive as target: [WayBackBarracuda Copy – Moving Your Data from Copy

Note that Mover has many more connectors, including cloud storage ones (Box, Copy, Dropbox, Google Drive, OneDrive and Yandex.Disk are free):

[WayBack] Connectors • Mover: FTP, Dropbox, Box, GoogleDrive, Copy, Egnyte, Amazon S3, SharePoint, MySQL the list goes on!

For me it means it’s time to think about what kinds of cloud storage I want to use and how to share what data with others at which access level. As I’m already contemplating on how to use ZFS, I now have two storage concepts to think about.

–jeroen

Posted in Cloud, Cloud Apps, Cntlm, Copy.com, DropBox, Infrastructure, NTLM, Power User, SocialMedia, Windows, Windows-Http-Proxy | Leave a Comment »

Registry trick now fails to work for the Yahoo Search Engine update in Java 8 – was: Registry keys to prevent Java installs from adding sponsors (Ask/Google/Yahoo Toolbar, McAfee virus, etc) via: Super User

Posted by jpluimers on 2016/01/20

Anyone who knows a trick to prevent Java 8 from installing the Yahoo search/toolbar in Chrome and Internet Explorer?

This trick used to work in the past, but fails as of Java 8:


Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]
"SPONSORS"="DISABLE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft]
"SPONSORS"="DISABLE"
; http://windowsitpro.com/windows-server/how-do-i-place-comments-reg-file
; a semi-colon starts a comment line
; http://superuser.com/questions/549028/how-can-i-prevent-ask-com-toolbar-from-being-installed-every-time-java-is-update/562869#562869
; this switch not only disables the Ask.com toolbar installation and prompt, but disables all of the sponsors potentially bundled with the Auto-update setup/Online setup (Google toolbar, Yahoo toolbar, McAfee something, etc…)

–jeroen

The old trick from Registry keys to prevent Java installs from adding sponsors (Ask/Google/Yahoo Toolbar, McAfee virus, etc) via: Super User « The Wiert Corner – irregular stream of stuff

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

HP CLJ9500 Service Menu Pin Codes

Posted by jpluimers on 2016/01/15

For my own memory in case I need to do CLJ9500 maintenance:

  • Model: Color LaserJet 9500 / 9500 mfp
  • Service Menu PIN code: 04950003

–jeroen

via: Service Menu Pin Codes.

Posted in HP Printer Drivers, Power User, Printer drivers, Windows | Leave a Comment »

Figuring out Windows Registry Permissions: AccessCheck

Posted by jpluimers on 2016/01/06

I had to verify the rights on some parts of the registry were the same for a lot of machines. So I used AccessChk by SysInternals.

If there were difference, my plan was to use REGINI to fix them.

It appears that AccessCheck does not show the permissions for objects within the specified path, not for the path itself.

As I observed that

accesschk -k hklm\software\Microsoft\Windows\Shell

does not reveal results.

But

accesschk -k hklm\software\Microsoft\Windows

shows:

Read the rest of this entry »

Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2 | Leave a Comment »

finding and deleting Windows EFI partitions with wmic and diskpart

Posted by jpluimers on 2016/01/05

DiskMgmt.msc does not allow you to delete EFI partitions.

I tried with WMI first.

wmic has a nice assoc mode that allows you to find associated classes like the logical drive association to physical partitions.

But lets start simple: physical partitions and logical drives.

C:\temp>wmic partition get DeviceID, DiskIndex, Index, Type
DeviceID               DiskIndex  Index  Type
Disk #1, Partition #0  1          0      GPT: System
Disk #0, Partition #0  0          0      Installable File System

C:\temp>wmic logicaldisk get Caption, DriveType, FileSystem, ProviderName, VolumeName
Caption  DriveType  FileSystem  ProviderName  VolumeName
C:       3          NTFS
D:       5

These Associations:

They can be hard to use.

LogicalDisks are bound to a Partition, but a Partition does not need to have a Logical Disk.

I wanted the other way around: finding partitions not having a LogicalDisk association. But that does not seem to be possible with WMI at all.

Heck, detecting EFI partitions with WMI seems to be impossible.

DiskPart

Even though there needs to be a 15 second delay between DiskPart invocations:

you must allow at least 15 seconds between each script for a complete shutdown of the previous execution before running the DiskPart command again in successive scripts

it seems to be the only way to go.

But it is hard, as there seems to be no way to convert from volume (which lists the EFI partition as ESP), to disk+partition.

So a way to automate what How to delete a protected EFI disk partition with Windows 7 or 8 | WinAbility Software describes seems impossible.

Any thoughts on that?

This is what I have done so far

  1. diskpart
  2. list volume
    1. now note the volume that has ESP
  3. list disk
  4. for each disk
    1. select disk #
    2. list disk
      1. to confirm you selected the correct disk
    3. list partition
    4. select partiton #
    5. list partition
      1. to confirm you selected the correct partition
    6. list volume
      1. to confirm the partition indeeds corresponds to the EFI volume
    7. delete partition override
    8. list volume
    9. list partition
    10. for each partition coming after the EFI partition
      1. select partition #
      2. list partition
        1. to confirm
      3. delete partition
      4. list partition
        1. to confirm

Now you can create a new partition on the disk.

–jeroen

via:

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