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 2,163 other followers

Archive for the ‘Windows’ Category

How to install Telnet with only one command

Posted by jpluimers on 2020/12/01

Source: [WayBackHow to install Telnet with only one command:

dism /online /Enable-Feature /FeatureName:TelnetClient

–jeroen

Posted in Microsoft Surface on Windows 7, Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Vista | Leave a Comment »

Compressing C:\Users\All Users\Microsoft\ClickToRun\ProductReleases

Posted by jpluimers on 2020/11/27

Microsoft keeps more and more under C:\Users\All Users\Microsoft\ClickToRun\ProductReleases (also accessible via C:\ProgramData\Microsoft\ClickToRun\ProductReleases or more precisely %AllUsersProfile%\Microsoft\ClickToRun\ProductReleases).

This can be huge, running into 10s of gigabytes, which – for todays cloud, VM and light-weight device based world – is huge.

Compressing seems to fail for me consistently, as I get “access denied” while compressing when elevating from Windows Explorer.

So this is a reminder to sort this out eventually.

These did not help yet:

I don’t dare deleting it:

Hopefully it is something explainable like the a virus scanner.

Later

Yup: it was the Avira Virus Scanner.

Somehow it has the Windows Explorer UI cause an “Access Denied” message to appear when elevating, but you can still compress files fine in a subdirectory with these steps:

Given a subdirectory named C:\SomeDir\A do this:

  1. pushd C:\SomeDir\A
  2. compact /c /s *.*
  3. cd ..
  4. compact /c A
  5. popd

It is not the first time I bump into Avira stuff (but I only blogged about it once, dumb me: VirusTotal: Avira marks a Delphi built executable als false positive), but the decision of using it was outside my control.

–jeroen

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

Exiting the Microsoft Narrator

Posted by jpluimers on 2020/11/24

The keyboard bindings for the Microsoft Narrator changed in Windows 10 from Windows 8.1 and earlier.

Since the below support pages refuse to save in the WayBack machine and Archive.is, I copy-pasted some bits of them.

Related:

Read the rest of this entry »

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

FeaturesShim: using ShimGen for creating a shim to a program either console or GUI so you need only one bin directory

Posted by jpluimers on 2020/11/17

[WayBack] FeaturesShim is a cool Chocolatey feature that uses ShimGen.

This allows Chocolatey to take only one directory in your search PATH, with a lot of small files, that link to the much larger actual executable files.

ShimGen (like many other parts of Windows and some other parts of Chocolatey) is not open source, but the mechanism is documented.

More information:

–jeroen

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

“net view” “System error 1231 has occurred.” “Windows 10”

Posted by jpluimers on 2020/11/09

On my research list: none of my Windows 10 PC’s in WORKGROUP can see that other machines exist, but they can connect to each other.

C:\>net view
System error 1231 has occurred.c

C:\>net view
System error 6118 has occurred.

On Windows 8.1 and 7 (I know: both beyond end-of-support) can see both Windows 8.1/7 machines and Windows 10 machines:

C:\>net view
Server Name          Remark
-------------------------------------------------------------------------------
\\...
The command completed successfully.

It is unclear on which Windows 10 release this started failing. I think it is around 1803 (April 2018 Update) or 1709 (Fall Creators Update). It fails despite all settings indicating sharing and discovery are enabled:

Things tried that failed:

Start service WebClient

Tried from an administrative command prompt, then waited a minute:

C:\net start WebClient
The WebClient service is starting.
The WebClient service was started successfully.

Failed.

Via: [WayBack] System error 1231 has occurred – Microsoft Community

Ensure system names are uppercase

The system names were already in uppercase.

Via: [WayBack] Win10 10586 – FOUND FIX for system error 1231 bug ( network shares – Microsoft Community

TODO

Note: do not re-enable SMBv1 as it is inherently insecure!

–jeroen

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

 
%d bloggers like this: