recentpopularlog in

kme : win7   112

« earlier  
Hashing it Out in PowerShell: Using Get-FileHash |
Windows 7, even with all the updates, only has PowerShell 2.0, so no 'get-filehash' for Windows 7.
PowerShell 4.0 introduced a new cmdlet, Get-FileHash, primarily for use with Desired State Configuration (DSC). In a pull server configuration, you need to provide file hashes so that servers can recognize changes. That is the primary purpose of a file hash as far as I am concerned is for file integrity. Windows supports several different hashing algorithms, which you should not confuse with encryption.
powershell  hash  checksum  crypto  windows  win7  shellscripting 
12 weeks ago by kme
How To Disable AutoRun / AutoPlay In Windows 7 & Windows 8 | Redmond Pie
Create one of these two registry keys (all users or current user):


Step 3: Within this subkey, locate the setting labeled “NoDriveTypeAutoRun”. If it doesn’t exist, create a new 32-bit DWORD with this name and assign it the hexadecimal value 000000FF (Decimal 255).
windows  win7  win8  win10  autorun  autoplay  security  movein  howto 
december 2019 by kme • View topic - PXE boot from bridged adaptor |
Lots of good suggestions here, but all that was *really* necessary was to bridge the physical adapter ('eno1' for me) and install the non-free Extension Pack.

The bundled PXE ROM is not sufficient to boot the Windows workstation installation environment.

See also:
pxe  pxeboot  networking  virtualbox  windows  win7  virtualization  sortof  solution 
january 2019 by kme
How to Create a List of Your Installed Programs on Windows
Astonished that this is the first useful use case I've found for PowerShell so far.

<code style="language-powershell">Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize</code>
sysadmin  win7  powershell  installation  maintenance  reporting  commandline  cli  fuckina  solution 
july 2018 by kme
Fix Windows Update errors by using the DISM or System Update Readiness tool
Also mentions what some of the Windows Update error messages mean, such as:
0x80070057 ERROR_INVALID_PARAMETER The parameter is incorrect.
windowsupdate  windows  win7  hotfix  errormessage  maybesolution 
december 2016 by kme
Error 80070057 when installing Windows Updates - Microsoft Community
Not a very helpful thread, but some discussion as to what this error message might mean.
80070057 - ERROR_INVALID_PARAMETER. Third party service which is running in the computer creating the problem. Please do a clean boot and then install the updates.
windows  win7  errormessage  windowsupdate 
december 2016 by kme
Most recent check for updates has an old date that never changes, not - Microsoft Community
These instructions might not apply to Windows 7; some of the support articles linked were for XP.

This guy pretty much sums it up:

None of the solutions shown here work. At best you end up with "Most recent check for updates" and "Updates were installed" both reset to "NEVER".

As my last "Check for updates" took 2.5 days to find anything, with it set as NEVER it could take a lot longer. There is more to life.

Has anyone got a solution that actually works? There are numerous other forums all with the same problem, still looking in vein.

Regards in hope.
windows  win7  windowsupdate  misery  troubleshooting 
december 2016 by kme
Quick and Easy Way to List All the Windows Updates Installed on Your System | Gizmo's Freeware
Some programs, such as Belarc Advisor, will include a list of updates in an overall analysis of what is on your computer. This type of comprehensive survey of your computer’s contents is worthwhile but there is also an easier way to get a list of Windows updates. This method takes advantage of the command line and requires no installation of additional software. Open the command prompt and enter this command:

wmic qfe list brief /format:htable > "%USERPROFILE%\hotfix.html"

This produces a nicely formatted list in an HTML file named hotfix.html that gets placed in the User folder. You can, of course, change the destination to some other convenient location. If there are any spaces in the name of a folder that you choose, don’t forget to wrap the destination name in quotes, as is done in the commands given in this tip.

If you would rather have a text file, the command would be:

wmic qfe list brief /format:texttablewsys > "%USERPROFILE%\hotfix.txt"
windows  windowsupdate  essential  troubleshooting  logging  sysadmin  solution  win7  patch  hotfix  report 
december 2016 by kme
Windows Update (svchost) is taking up 100% of the CPU
Not my problem, but using Resource Monitor to analyze the "wait chain" is an interesting troubleshooting technique. In my case, svchost.exe was "running normally."

In Resource Monitor, if I view the the wait chain, it reads:

"svchost.exe (netsvcs) is waiting for another process (svchost.exe (LocalServiceAndNoImpersonation))."

Helpfully, though, I *could* see that svchost.exe was actually downloading information over the network (on several different threads / processes), so maybe I just need to be patient and wait a while longer? Curiously, there don't seem to be any established connections to Windows Update servers.
Alright, I know it's been a while, but I have been talking to Microsoft Support, and the tech has found the issue.

The issue was occurring because the clients were trying to process a long "supersedence chain". Our WSUS server had all of the Windows Defender definitions set on install. The older definitions should have been set to declined when a newer one supersedes it.

Once we declined the older updates, and removed the clients old SoftwareDistribution directory and ran a /detectnow. That fixed the issue.

So peeps, make sure you decline the older updates! (Still not sure if this is Microsoft's fault or mine)
windows  windowsupdate  win7  updatehell  sysadmin  troubleshooting  maybesolution 
june 2016 by kme
[SOLVED] Windows 7, huge datastore.edb hogging RAM
Microsoft brought out KB:3050265 about a week ago or so which addresses my problem; I installed it two days ago, and so far wuauserv behaves normal, RAM usage is much lower now when checking for updates (typically below 150MB, whereas before it would peak at about 1GB at some point).
windowsupdate  win7  updatehell  maybesolution 
june 2016 by kme
Windows Update Keeps checking For updates forever - Page 4 - Windows 7 Help Forums
Potentially helpful:
Reboot the PC, install this update:

Reboot again and see if it picks up the updates any quicker. Also, it would be better in future to start a new thread. This one is years old.

Make sure the Windows Update and BITS service are set to start automatic or delayed, then install Windows Update Client for Windows 7 and Windows Server 2008 R2: February 2016 ( and reboot your computer, then search for updates, that did the trick for me and worked flawless in a small network of 75 computer I manage at the office.

Copied from another thread in case it assists anyone...

I had this problem when setting up a new PC from a W7 SP1 CD. Update ran for 32 hours, and then crashed when I tried to install 220 updates. As an added bonus Update backed out all the updates which had been installed.
I turned off automatic updates and ran Update again. It ran for 26 hours and I selected the only first 50 updates to be installed. This ran ok.
I then ran Update again, but after six hours I turned off the PC and went to bed.
I tried re-installing the Update agent, and tried running Update again, but after an hour I cancelled it.
I tried re-installing the Update agent, and run the fix tool for Windows Update that made two fixes. I ran the Update, and cancelled it after two hours.

I re-installed the Update agent, ran the Update fix tool, and installed which is mentioned in this thread. Ran Update again, and two minutes later it said there was 200 updates for my PC.

For the future I have a W7 Update folder with (1) the Update Agent, (2) the Update Fix-Tool, and (3) KB3102810.
windows  windowsupdate  updatehell  troubleshooting  errormessage  win7  maybesolution  reference 
june 2016 by kme
win7 becomes very slow during shut down and start up with configuration in progress indications after a windows update
Not sure if there's anything substantially helpful here or not. Looks like the typical outcome of Windows troubleshooting: try a bunch of things and maybe somewhere in the middle there all it really took was a reboot or restarting a service.
win7  windows  windowupdate  updatehell  misery  troubleshooting 
june 2016 by kme
DISM Error Code 11 while running 64bit CMD via 32bit SCCM client.
My actual problem was (probably) that I ran `sfc /scannow` inside a 32-bit version of Console2.
windows  sysadmin  win7  windowsupdate  ohwindows  misery  32bit  nonsense 
june 2016 by kme
Windows 7 Checking For Updates stuck forever - Microsoft Community
Advice from an MS-MVP:
After making certain the Windows Firewall is enabled, installing an anti-virus application (e.g., Microsoft Security Essentials - free) is the very first thing you should do after a clean install of Windows. Yes, even before checking for/installing updates.

See the (my) ANSWER post in this thread and follow those instructions (to-the-letter and in order!) to return your computer to a secure & functional state:

Note: The computer should not be connected to internet or any local networks (i.e., other computers) in its current state. All of your personal data (e.g., online banking & credit-card passwords) should be considered at-risk, if not already compromised.

Wish I'd had better news for you. Good luck!

There's actually one helpful bit of advice here: the link to the Windows Update Troubleshooter for all the different Windows versions:
1. Open Internet Explorer (32-bit only) to [ignore any DOES NOT APPLY warnings] & run the Fix It in AGGRESSIVE mode again.
windows  windowsupdate  bullshit  ayfkm  maybesolution  win7  misery  updatehell 
june 2016 by kme
Connecting to WebDAV server on Microsoft Windows
Good explanation of what 'DavWWWRoot' means, and how to put WebDAV addresses into the Explorer address bar.
microsoft  webdav  windows  win7  reference 
january 2016 by kme
Office file types fail to open from server
The "Basic authentication enabled for SSL connections only" setting (WebClient\Parameters\BasicAuthLevel = 1) seems to be the default for Vista and later; this is well and good because Apache's own documentation advises Basic over SSL rather than Digest.

P.S.: You can just restart the "WebClient" service, rather than reboot.
Windows Vista, Windows 7, and Windows 8

To enable Basic authentication on the client computer, follow these steps:

In Windows Vista or Windows 7, click Start, type regedit in the Start Search box, and then press Enter.

In Windows 8, hold the Windows key (WINKEY) + F, highlight Apps in the Menu bar, type regedit in the Search box, and then press Enter.
Locate and then click the following registry subkey:
On the Edit menu, point to New, and then click DWORD Value.
Type BasicAuthLevel, and then press Enter.
Right-click BasicAuthLevel, and then click Modify.
In the Value data box, type 2, and then click OK.

Note The mapping is as follows:
0 - Basic authentication disabled
1 - Basic authentication enabled for SSL connections only
2 - Basic authentication enabled for SSL and non-SSL connections
Exit Registry Editor, and then restart the computer.
windows  win7  webdav  debugging  registry  hack  configsetting  solution  fuckina 
january 2016 by kme
64 bit - How to access WebDAV using Windows Explorer on Windows 7? - Super User
The actual solution for me was to set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\BasicAuthLevel to '2' (allow "Basic" authentication even over non-SSL connections) as described in
microsoft  webdav  win7  networking  sysadmin  misery 
january 2016 by kme
Windows 7, HTTPS WebDav: Asks for password twice and fails. Any workarounds? - Server Fault
Actual solution for me was to set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\BasicAuthLevel to "2" and restart the service.
windows  win7  webdav  misery  networking  sysadmin  webmaster  solution 
january 2016 by kme
You can't install updates in Windows Vista, Windows 7, Windows Server 2008, or Windows Server 2008 R2
Running the troubleshooter seems to have maybe helped, on a VM where I hadn't run updates in a month or two or three. At least the 100% CPU utilization stopped.
windows  windowsupdate  updatehell  troubleshooting  errormessage  win7  maybesolution 
december 2015 by kme
Windows update taking forever
Maybe stopping the BITS and Windows Update services then deleting the contents of C:\Windows\SoftwareDistribution actually did something, or maybe I was just too impatient to let it finish.
Try this:
Go to computer manager> Services
Stop BITS and Windows Update services
Delete contents of C:\Windows\softwaredistribution
Start BITS and Windows Update Service

Try checking for updates again!

For anyone else viewing this thread the OP left me rep and said it worked!

For extra info - The services are stopped so the folder contents can be deleted (otherwise they are detected as in use)
The folder contents are all the caches, download files etc from Windows Update, a corrupted file/partially downloaded file etc can cause problems, deleting them forces Windows Update to re-initialise and check for already installed updates and newly required ones and normally works.

In the folder software distribution there is also a text file named "reportingevents" which can give some useful info.

This method can also solve some issues with self maintained WSUS servers in addition to updates directly from Microsoft.
windows  win7  windowsupdate  annoyance  maybesolution  updatehell  misery 
december 2015 by kme
How to solve connection problems concerning Windows Update or Microsoft Update
I got a "0x8024402c" (WU_E_PT_WINHTTP_NAME_NOT_RESOLVED) and the solution was to delete a registry key (presumably put in place by domain/group policy) at HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU, as explained here:
sysadmin  windowsupdate  windows  win7  troubleshooting  errormessage 
september 2015 by kme
Explorer.exe Command-Line Options for Windows 7 - root setting - Microsoft Community
So, cutting through the bullshit, the old options "/e,/root,c:\whatevs" don't work with Win 7 anymore.
win7  explorer  filemanagement  commandlineargs  annoyance 
june 2015 by kme
Hibernate - Enable or Disable - Windows 7 Help Forums
In Windows 7, you will only see Hibernate listed in the Start Menu power button arrow menu if you have Hybrid turned off in the Advanced Power Plan Options.
windows  win7  hiberation  hiberfil.sys  powermanagement  reference  solution  annoyance 
october 2014 by kme
You cannot log on because the logon method you are using is not - Microsoft Community -
The following steps require Administrator credentials.
Use the keys Windows+R or 'Run' from the start menu, and type gpedit.msc.
Navigate to Computer Configuration > Windows Settings > Local Policies > User Rights Assignment > Look at all 'deny log on' pThe following steps require Administrator credentials.

Use the keys Windows+R or 'Run' from the start menu, and type gpedit.msc.
Navigate to Computer Configuration > Windows Settings > Local Policies > User Rights Assignment > Look at all 'deny log on' policies to see if your Guest account is listed. Remove the account from the list, and you should be fine to continue using your guest profile.

Good luck.


I found that the Windows 7 navigation was "Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment".
windows  useraccounts  authentication  win7  solution 
september 2014 by kme
MySQL :: Begin Your Download -
This solved an error that I had building the 'mysql2' gem on a 64-bit windows:
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

The "Rails 4 Essentials" training recommended copying libmysql.dll into the <MySQL_Server_Installation>\bin folder, but I'm not sure that fixed anything. I also (probably) had to supply the following options to 'gem install' per the video's instructions:
gem install mysql2 -- '--with-mysql-include="C:\Program Files\MySQL\MySQL Server 5.6\include" --with-mysql-lib="C:\Program Files\MySQL\MySQL Server 5.6\lib32"'
rubygem  mysql  win7  windows  32or64  compilation  errormessage  solution 
july 2014 by kme
Windows Vista folder size is 32 GB. How do we trim this to the 15GB - Microsoft Community
Method 1

Remove all temporary files from your computer. To do this, follow these steps:

1. Click on start search box.

2. Type %temp% and press Enter.

3. Delete all the files in the temp folder.

Note: Leave the files which refuse to delete.

Method 2

Delete any temporary files that may be left over from CD and DVD burning.

To do this, follow these steps:

Delete all the files from Burn folder in the location C:\Users\username\AppData\Local\Microsoft\Windows\Burn\Temporary Burn Folder and delete all the files.

Method 3

Run Disk Cleanup from the location (Start) > All Programs > Accessories > System Tools.

Method 4

If you don't use Hibernation you can save space in hard drive space as the amount of RAM that is installed by turning it off. In a Run window, type powercfg.exe -h off (note the two spaces) and press Enter. To turn it back on type powercfg.exe -h on and press Enter.

Refer the given below link where user had a similar issue.
winsxs  windowsfoldersize  annoyance  windows  win7 
may 2014 by kme
« earlier      
per page:    204080120160

Copy this bookmark:

to read