Archive for the ‘Windows 7’ Category
Posted by jpluimers on 2016/05/11

Sometimes you want to run a batch file from a Task Scheduler task. For that, the user under which the task runs needs to Logon as a batch job right. If it hasn’t, you get this nice error message:
“This task requires that the user account specified has log on as batch job rights”.
Despite being part of the Windows Server 2003 Resource Kit Tools, you can still use ntrights in more modern Windows versions to grant or revoke this right.
As ntrights uses a hard to remember SeBatchLogonRight name for it and I tend to forget the ntrights syntax, I wrote two batch files to grant or revoke the Logon as Batch Job rights for the specified user:
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 9, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista | Leave a Comment »
Posted by jpluimers on 2016/05/09
When you roll-out new machines and you get Windows Update 80072EE2 to install updates required by some installations…
If you receive Windows Update error 80072ee2 while checking for updates, the Windows Update servers might be experiencing an unusually high number of requests for updates.
–jeroen
Source: Windows Update error 80072ee2 – Windows Help
Posted in Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1 | Leave a Comment »
Posted by jpluimers on 2016/04/29
Sometimes the solution is soooo simple:
The fix for me was to:
- go into Windows Update and
- change the settings to “Never check for updates (not recommended)”,
- click OK, and
- then change it back to “Install updates automatically”.
I’m sure that switching it off this way and then choosing any option that enables windows updates would have had the same effect. As soon as I did this, windows update went from having a red X to a green check mark that said “Windows is up to date” (even though it was not – but this signified that the service was now working properly). I clicked check for updates and was successful – several updates were ready to be downloaded and installed.
Source: windows update cannot currently check for updates because the service is not running window 7 HELP
–jeroen
Posted in Power User, Windows, Windows 7 | Leave a Comment »
Posted by jpluimers on 2016/04/27
Usually I use the old Borland grep.exe that still ships with Delphi. Too bad it is 16-bit app which does not recognise Unicode.
FindStr does. Though much slower and with limited regular expression capabilities, can do recursive searches too:
findstr /spin /c:"string to find" *.*
The /spin is a shortcut for these case insensitive command-line options (the full list of possible options is below):
/S Searches for matching files in the current directory and all
subdirectories.
/I Specifies that the search is not to be case-sensitive.
/N Prints the line number before each line that matches.
/P Skip files with non-printable characters.
Sometimes I leave out the /P to include binary files.
–jeroen
via:
Read the rest of this entry »
Posted in Batch-Files, Development, Power User, RegEx, Scripting, Software Development, Windows, Windows 7, Windows 8, Windows 8.1, Windows NT, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2016/04/04
This week I needed the trick below, so I was glad that a long time ago, Danny Thorpe Shared publicly on G+:
[Wayback/Archive] VirtualBox: Clone VM without Re-activation of Windows
Follow these steps to clone a VirtualBox VM in a manner so that the Windows 7 Activation in the guest doesn’t have to be re-activated in the clone.
–jeroen
via: Danny Thorpe – Google+: VirtualBox: Clone VM without Re-activation of Windows 7.
Posted in Power User, VirtualBox, Virtualization, Windows, Windows 7 | Leave a Comment »
Posted by jpluimers on 2016/03/25
Apart from the obvious “use less tables” and “break tables apart”, these can also help big time:
- Run %WinDir%\System32\SystemPropertiesPerformance.exe
- Choose “Ajust for best performance” (it will disable all visual enhancements)
- 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 »
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 »
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 »
Posted by jpluimers on 2015/12/11
I will need this one day when doing some migration of jobs written as cmd scripts that are now ran occasionally by end-users into a scheduled fashion.
–jeroen
via: “Logon as batch job” script – Google Search
Posted in 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 | Leave a Comment »
Posted by jpluimers on 2015/11/24
A while ago, I had this error on BitBucket:
Running git.exe with arguments "fetch --prune" failed with return code 128 and error output: "fatal: unable to access 'https://%account%@bitbucket.org/%user%/%repository%.git/': Unknown SSL protocol error in connection to bitbucket.org:443
A quick search for “Unknown SSL protocol error in connection to bitbucket.org:443” pointed me to a comment by Ludwik Trammer on an answer by Jordfräs:
I resolved the issue by upgrading from git 1.8 to git 2.0.
Which reminded me this was a Windows system, where there is no package manager that verifies how far your non-system software is behind.
One day, I will write a script that finds out about the git version history and inform me of major/minor versions I’ve skipped.
Some notes for that:
Probably I will need to do something similar for Mercurial/hg in the future as well.
–jeroen
via: git – Unknown SSL protocol error in connection – Stack Overflow
Posted in Development, DVCS - Distributed Version Control, git, Power User, Software Development, Source Code Management, Windows, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2 | Leave a Comment »