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

O&O ShutUp10: download free antispy tool for Windows 10

Posted by jpluimers on 2018/11/23

I’m not surprised this free product is from German origin:

With O&O ShutUp10 you have full control over which functions under Windows 10 you wish to use, and you decide when the passing on of your data goes too far.

[WayBackO&O ShutUp10: download free antispy tool for Windows 10

Download: [WayBackdl5.oo-software.com/files/ooshutup10/OOSU10.exe

Run it after each update as well.

–jeroen

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

Setting the sound volume through NirCmd – Windows command line tool

Posted by jpluimers on 2018/11/14

I needed this during logon on Windows machines to set the sound volume: [WayBackNirCmd – Windows command line tool set-soundvolume-25-percent.bat:

:: requires https://www.nirsoft.net/utils/nircmd.html
:: 100% = 65535
nircmd setsysvolume 16000

Works on all Windows versions (7-10) I tested so far.

Via

There are way sexier ways to do this, but they were all too convoluted for the time I had to get this to work.

For the future:

–jeroen

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

Saving windows command prompt history to a file – Charlie Arehart’s ColdFusion Troubleshooting Blog

Posted by jpluimers on 2018/11/14

Dumping the command prompt history

From [WayBackSaving windows command prompt history to a file – Charlie Arehart’s ColdFusion Troubleshooting Blog:

doskey /history

gives you the command history.

Redirecting with >, >> or piping with | allows you to save this to a file or filter the output.

Found via: [WayBackHow I can export the history of my commands in Windows(7) Command Prompt? – Stack Overflow

Shells that do support persistent history

Note that the command history is not persistent. If you want that, then there are two other shells that support persistent history:

Both of these found through [WayBackwindows – Is there a global, persistent CMD history? – Server Fault.

–jeroen

Posted in Microsoft Surface on Windows 7, MS-DOS, Power User, Windows, Windows 7, Windows 8, Windows 8.1 | Leave a Comment »

Errorlevel 4 for xcopy | Microsoft Docs

Posted by jpluimers on 2018/11/12

[WayBackxcopy | Microsoft Docs has this:

Exit code Description
0 Files were copied without error.
1 No files were found to copy.
2 The user pressed CTRL+C to terminate xcopy.
4 Initialization error occurred. There is not enough memory or disk space, or you entered an invalid drive name or invalid syntax on the command line.
5 Disk write error occurred.

Empirically, errorlevel 4 is also returned when the source file or source directory does not exist.

--jeroen

Posted in Power User, Windows | Leave a Comment »

Windows Services Dependency Viewer – Home

Posted by jpluimers on 2018/11/12

Cool tool: [WayBackWindows Services Dependency Viewer – Home:

Windows Services Dependency Viewer is a simple tool that provides the following information:

  • Windows service dependent and antecedent services
  • Services grouped by process
  • Service details (from Win32_Service WMI class)
  • Service process details (from Win32_Process WMI class

This tremendously helps getting an overview of which Windows Services to monitor for running state: if for instance you need monitor SMTP, then you do not need to monitor Event Log as that is a requirement.

Related: [WayBackWhat is Windows 7 service dependency tree? – Super User

Download: [Archive.ishttps://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=svcdependencyviewer&DownloadId=100584&FileTime=129075223089600000&Build=21050

–jeroen

 

 

Posted in Power User, Windows | Leave a Comment »

Anyone who knows how to disable logs with “Click-To-Run General Telemetry” entries?

Posted by jpluimers on 2018/11/05

Both in %TEMP% and %Windir%\TEMP, a lot of log files named %COMPUTERNAME%-yyymmdd-hhnn.loghaving entries named Click-To-Run General Telemetry appear.

Anyone who knows how to disable this logging?

I think they are related to Office 2016 installed through Office 365.

Disabling the Click-To-Run Monitor scheduled task is not a good solution, as it will also Office disable update notification: [WayBack] MS Office 2016 – Click to run logs | MalwareTips Forums

–jeroen

Posted in Office, Office 2016, Power User, Windows | Leave a Comment »

Language Accessory Pack for Office – Office Support

Posted by jpluimers on 2018/10/29

For my link archive: [WayBack] Language Accessory Pack for Office – Office Support (short-link)

All supported languages for Office 2010, 2013 and 2066/newer versions.

–jeroen

Posted in Office, Office 2010, Office 2013, Office 2016, Power User, Windows | Leave a Comment »

tcp – How can I trigger a script when a certain port becomes available for requests? – Unix & Linux Stack Exchange

Posted by jpluimers on 2018/10/09

Netcat to the rescue waiting for a Windows 10 upgrade to finish (which can take hours):

while ! nc -z 172.22.0.67 3389; do echo "sleeping"; sleep 10; done; echo 'The server is up!'

Via: [WayBacktcp – How can I trigger a script when a certain port becomes available for requests? – Unix & Linux Stack Exchange, quoting from the answer:

  • nc is Netcat, “the Swiss-army knife for TCP/IP”,
  • -z means: do not send any data, just check if the port is open,
  • while ! nc -z …; do sleep 0.1; done: keep checking and sleeping for one tenth of a second until the port opens up, i.e. Netcat returns with a zero (success) status.

–jeroen

Posted in *nix, *nix-tools, Communications Development, Development, Internet protocol suite, Power User, TCP, Windows | Leave a Comment »

When Windows removes the registry key that solves HighDPI problems for older applications

Posted by jpluimers on 2018/10/01

I write about this registry key before: Applications that scale badely on High-DPI Displays: How to Stop the Madness – via: SQLServerCentral « The Wiert Corner – irregular stream of stuff

It seems that there is a bad Windows habit: [WayBack] I just love it when Windows decides to remove registry entries I’ve added and screws up something I fixed for them. – Roderick Gadellaa – Google+

–jeroen


Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide]
"PreferExternalManifest"=dword:00000001

 

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

For Love of Software: Nano Server on AWS: Step by Step

Posted by jpluimers on 2018/09/24

Source: [WayBackFor Love of Software: Nano Server on AWS: Step by Step

Via: [WayBackAnn Lynnworth – Google+

–jeroen

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