A while ago I had some intermittent network issues resulting in these Windows Update error numbers:
- 80244019 (some traffic made it through)
- 80072EE2 (no traffic made it through)
- 8??????? (DNS traffic didn’t make it through)
–jeroen
Posted by jpluimers on 2017/04/14
A while ago I had some intermittent network issues resulting in these Windows Update error numbers:
–jeroen
Posted in Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1 | Leave a Comment »
Posted by jpluimers on 2017/03/27
Nice html report of your battery state in Windows 8 and 10 where 14 is the number of days:
powercfg /batteryreport /output "%temp%\battery_report.html" /Duration 14
start "View Report" "%temp%\battery_report.html"
Source: Battery history on Windows 10 (and maybe older versions?) I was wondering if I…
–jeroen
Posted in Power User, Windows, Windows 10, Windows 8, Windows 8.1 | Leave a Comment »
Posted by jpluimers on 2017/03/13
[WayBack] Microsoft Is Spamming Windows 10 File Explorer With Ads For OneDrive Storage – Slashdot… – Joe C. Hecht – Google+ has steps to find and remove the packages you do not want to:
Powershell
Get-AppxPackage > List.txt
...
Get-AppxPackage Advertising | Remove-AppxPackage
Get-AppxPackage bingfinance | Remove-AppxPackage
Get-AppxPackage bingnews | Remove-AppxPackage
Get-AppxPackage bingsports | Remove-AppxPackage
Get-AppxPackage bingweather | Remove-AppxPackage
Background info at [WayBack] Microsoft Is Spamming Windows 10 File Explorer With Ads For OneDrive Storage – Slashdot
–jeroen
Posted in Power User, Windows, Windows 10 | 2 Comments »
Posted by jpluimers on 2017/02/22
A while ago, I bitched that Microsoft moved away the Windows Update out of the Control panel into a language depended place (in Windows 10 1511 update broke the Hyper-V networking – Fix network connection issues).
Since then I had to maintain too many locales running Windows 10. So here is the batch file:
for /f "delims=" %%A in ('PowerShell -Command "(Get-Culture).Name"') do explorer "%LocalAppData%\Packages\windows.immersivecontrolpanel_cw5n1h2txyewy\LocalState\Indexed\Settings\%%A\AAA_SystemSettings_MusUpdate_UpdateActionButton.settingcontent-ms"
It uses these tricks:
It replaced this simple batch-file which has worked for like 10 years:
%windir%\System32\rundll32.exe url.dll,FileProtocolHandler wuapp.exe
–jeroen
via: Windows Update Shortcut – Create in Windows 10 – Windows 10 Forums
Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, Batch-Files, CommandLine, Development, Power User, PowerShell, Scripting, Software Development, Windows, Windows 10 | Leave a Comment »
Posted by jpluimers on 2017/01/30
If you use Windows Search (I don’t: I use Everything by VoidTools), your Windows.edb can grow ridiculously large. It is a single file, though it appears to be in two places because there is a symbolic link from C:\Users\All Users to C:\ProgramData :
C:\ProgramData\Microsoft\Search\Data\Applications\Windows\Windows.edb
C:\Users\All Users\Microsoft\Search\Data\Applications\Windows\Windows.edb
This is how to reduce its size:
How to offline defrag the index
- Change the Windows Search service so that it does not automatically start. To do this, run the following command in cmd.exe:
sc config wsearch start= disabled- Run the following command to stop the Windows Search service:
net stop wsearch- Run the following command to perform offline compaction of the Windows.edb file:
esentutl.exe /d %AllUsersProfile%\Microsoft\Search\Data\Applications\Windows\Windows.edb- Run the following command to change the Windows Search service to delayed start:
sc config wsearch start= delayed-auto- Run the following command to start the service:
net start wsearch
Notes:
C:\ProgramData\Microsoft\Search\Data\Applications\Windows\Projects\SystemIndex\Indexer\CiFiles\ directory:
Windows Update uses the same database structure and is a single file:
C:\Windows\SoftwareDistribution\DataStore\DataStore.edb
This is how I reduced its size:
net stop wuauserv net stop bits esentutl.exe /d C:\Windows\SoftwareDistribution\DataStore\DataStore.edb net start bits net start wuauserv
Talking about Windows Update: you might also want to Clean Up the WinSxS Folder
–jeroen
Posted in Everything by VoidTools, 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 Vista | Leave a Comment »
Posted by jpluimers on 2016/12/26
Shortly before the “Free Windows 10 Update” deadline I upgraded a bunch of physical and virtual machines each with different configurations providing various challenges.
Back then, I didn’t have time to properly write down notes so I saved a bunch of links. Now I found time to add a few notes below.
Note there are fewer Windows 10 editions (Home/Pro/Enterprise) are different than before so there is a mapping (for instance Windows Ultimate does not map to Windows Enterprise): Windows 10 free upgrade matrix.
It’s much easier, faster and disk-space friendly to install from ISO than waiting for GWX.exe or GWXUI.exe, especially when installing multiple systems in a row.
I don’t use x86 systems any more so I used Win10_1511_2_English_x64.iso which is slightly newer than Win10_1511_1_English_x64.iso and is likely to be outdated by now so get yours through https://www.microsoft.com/software-download/windows10.
If you insist, there is Win10_1511_2_English_x32.iso (note the x64 -> x32 consistency, many people refer to it as x86 though).
Windows 10 does not like to upgrade when you have the Daemon Tools ISO mounting tool installed. But Portable WinCDEmu is fine.
The Windows 10 installer doesn’t suffer from Portable WinCDEmu not mounting after reboot: during the first install step it copies enough to continue without the ISO image mounted after reboot.
Just run the SETUP.EXE in the root of the CD drive.
Some systems do not have optical media any more so you need to create bootable media.
In the past, you used ImageX for that (e.g. Step-by-Step: Basic Windows 7 Deployment for IT Professionals), but as of Windows 8/Server 2008 R2 there is DISM: Apply Images Using DISM.
I used this command-line to copy from H: (the content of the ISO image) to V: (the VHD drive):
dism /apply-image /imagefile:H:\Sources\install.wim /index:1 /ApplyDir:V:\
More information at DISM Image Management Command-Line Options and DISM.exe Replaces ImageX.exe – My Thoughts On IT… (you can even use it to backup/restore file-based Windows images).
In the past (think Windows XP and earlier), you had BOOT.INI to choose which one to boot. Now there are msconfig and Boot Configuration Data editors like bcdedit and bcdboot for that:
You cannot update Windows 10 on a “Boot to VHD” based system: it’s one of the limitations in What is not supported for native boot when using VHDs:
There is a cumbersome workaround using Hyper-V which I didn’t use (look for “How do I install the November Update if Windows 10 is running on a VHD using native boot?” in Hands-on with Windows 10: Upgrading, installing and activating in the real world | ZDNet).
These are the steps I used to get it on a VHD (based on the How to install Windows 10 to VHD and create a dual boot system with Win 7/8 video below):
bcdboot V:\WindowsYou can use an existing VHD for DISM in which case you might need to Resize/extend virtual hard disk to get more space under Windows 7/8/10.
If you get an error 0x80041023 during key validation at install time, then retry it later. Often the validation then just works. If it doesn’t, try to Activate Your Windows 10 License via Microsoft Chat Support or phone based activation:
- Press Windows key + X then clickRun, then type: slui.exe 4
- Next press the ‘ENTER’ key
- Select your ‘Country’ from the list.
- Choose the ‘Phone Activation’ option.
- Stay on the phone (do not select/press any options) and wait for a person to help you with activation.
- Explain your problem clearly to the support person.
–jeroen
Posted in Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows XP | Leave a Comment »
Posted by jpluimers on 2016/12/19
Learned the hard way that relatively recent equipment like a Dell Inspiron 17R/5737 with Windows 10 does not do 802.11n despite Dell claiming “Dell™ Wireless 1705 802.11b/g/n with Bluetooth v4.0”.
I discovered it while hooking it up to a Huawei E5577Cs which by default is configured for 5Ghz 802.11n and the Dell not seeing it at all despite up-to-date drivers.
Both an iPad and an LG Android phone would immediately see it.
Switching the Huawei to use 2.4Ghz WiFi immediately made the Dell see it.
Windows 10 installed an Intel® Wireless-N 7260 driver and I could not find any settings that make the 802.11n work.
–jeroen
Posted in Power User, WiFi, Windows, Windows 10 | Leave a Comment »
Posted by jpluimers on 2016/12/12
Prevent Automatic Downloading of Updates on a Specific Connection
When you set a connection as “metered,” Windows 10 won’t automatically download updates on it. Windows 10 will automatically set certain types of connections — cellular data connections, for example — as metered. However, you can set any connection like as a metered connection.
A friend is trying this as he’s on roaming data using a Mobile WiFi hotspot. Lets see if this works…
Source: How to Prevent Windows 10 From Automatically Downloading Updates
–jeroen
Posted in Power User, WiFi, Windows, Windows 10 | Leave a Comment »
Posted by jpluimers on 2016/12/08
Windows 10 on ARM will supply a long-rumored feature: The ability to run 32-bit Win32/x86 desktop applications—Apple iTunes, Adobe Photoshop, Google Chrome, whatever—directly on the system, unchanged.
Wow, just wow.
[WayBack] ARM-Based Windows 10 Portable PCs!? Hell Yes! – Thurrott.com
Via:
Posted in ARM, Assembly Language, Development, Power User, Windows, Windows 10 | Leave a Comment »
Posted by jpluimers on 2016/10/27
Slightly updated the answer the /D Y part will recursively accept taking ownership when directory listing is denied in the permissions:
To fix really broken permissions, the best is to run these two commands one after the other:
takeown /F /D Y "C:\path\to\folder" /R icacls "C:\path\to\folder" /reset /TThe first one will give you ownership of all the files, however that might not be enough, for example if all the files have the read/write/exec permissions set to “deny”. You own the files but still cannot do anything with them.
In that case, run the second command, which will fix the broken permissions.
via: permissions – recursively change owner windows 7 – Super User
–jeroen
Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows Development, 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 »