Category: Windows OS-Level Issues

In Windows, new windows coming up behind
article #864, updated 3325 days ago

This happens especially in Outlook in creating new emails, but can happen with any combination of windows, where a new window is created but comes up “in back” where we expect it in front. Steps:

  1. Run REGEDIT.
  2. Browse to: HKEY_CURRENT_USER\Control Panel\Desktop
  3. Open, or create and open, DWORD value ForegroundLockTimeout .
  4. Set it to zero, click OK. Default is 200000 .
  5. Quit and reboot.

Categories:      

==============

SVCHOST Viewer
article #857, updated 3342 days ago

There are a number of great tools which will show you what your SVCHOST.EXE processes are really doing. Here is one of them:

http://www.howtogeek.com/80082/svchost-viewer-shows-exactly-what-each-svchost-exe-instance-is-doing/

Categories:      

==============

Windows Update problems busters
article #727, updated 3342 days ago

Yet something newer than the below, the Windows Update Automated Troubleshooter:

https://support.microsoft.com/en-us/gp/windows-update-issues/en-us

Microsoft is now providing an interesting toolset for Windows Update issues on current operating systems:

http://support.microsoft.com/common/survey.aspx?scid=sw;en;3779&showpage=1

And another Fix-It:

http://support.microsoft.com/kb/968002

And something to install, the SDK, which contains Windows Installer 4.5 and possibly 5.0 too:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en

The below are our previous methods, from the indefatigable Mike Hunsinger. It is best to try level 1, see if that fixes, go to level 2. Both of these are done in administrative command prompts.

Level 1.

  1. Stop services:
    net stop bits
    net stop wuauserv
    net stop appidsvc
    net stop cryptsvc
  2. Rename folders:
    ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
    ren %systemroot%\system32\catroot2 catroot2.bak
  3. Start services:
    net start bits
    net start wuauserv
    net start appidsvc
    net start cryptsvc
  4. If in Windows Vista or Server 2008 R1: bitsadmin /reset /allusers

Level 2.

  1. Stop services:
    net stop bits
    net stop wuauserv
    net stop appidsvc
    net stop cryptsvc
  2. Deletions:
    Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
  3. Registrations:
    cd /d %windir%\system32
    regsvr32.exe atl.dll
    regsvr32.exe urlmon.dll
    regsvr32.exe mshtml.dll
    regsvr32.exe shdocvw.dll
    regsvr32.exe browseui.dll
    regsvr32.exe jscript.dll
    regsvr32.exe vbscript.dll
    regsvr32.exe scrrun.dll
    regsvr32.exe msxml.dll
    regsvr32.exe msxml3.dll
    regsvr32.exe msxml6.dll
    regsvr32.exe actxprxy.dll
    regsvr32.exe softpub.dll
    regsvr32.exe wintrust.dll
    regsvr32.exe dssenh.dll
    regsvr32.exe rsaenh.dll
    regsvr32.exe gpkcsp.dll
    regsvr32.exe sccbase.dll
    regsvr32.exe slbcsp.dll
    regsvr32.exe cryptdlg.dll
    regsvr32.exe oleaut32.dll
    regsvr32.exe ole32.dll
    regsvr32.exe shell32.dll
    regsvr32.exe initpki.dll
    regsvr32.exe wuapi.dll
    regsvr32.exe wuaueng.dll
    regsvr32.exe wuaueng1.dll
    regsvr32.exe wucltui.dll
    regsvr32.exe wups.dll
    regsvr32.exe wups2.dll
    regsvr32.exe wuweb.dll
    regsvr32.exe qmgr.dll
    regsvr32.exe qmgrprxy.dll
    regsvr32.exe wucltux.dll
    regsvr32.exe muweb.dll
    regsvr32.exe wuwebv.dll
  4. Reset networking:
    netsh winsock reset
  5. Reconfigure proxy settings:
    • If on XP: proxycfg.exe -d
    • If not on XP: netsh winhttp reset proxy
  1. Start services:
    net start bits
    net start wuauserv
    net start appidsvc
    net start cryptsvc
  2. If in Windows Vista: bitsadmin /reset /allusers
  3. Install the latest Windows Update Agent.
  4. Reboot.

Categories:      

==============

Log Fragmentation in Windows, Especially Servers
article #854, updated 3342 days ago

Modern Windows machines, when running for a while, often accumulate many gigabytes of log files, and they are often extremely fragmented over time. Recently I have found a log file of just ~110 megabytes with more than nine thousand (9,000!) fragments, and several multigigabyte files with four and five thousand fragments.

Below is a globular list of satisfactory purges so far found. Do be aware that you should only do this when you know that you do not need their contents!

C:\Program Files\Windows Small Business Server\Logs\MonitoringServiceLogs\*.log
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash*\*.tmp.*
C:\Program Files (x86)\StorageCraft\ImageManager\Logs\*.log
C:\Program Files (x86)\StorageCraft\ShadowProtect\Logs\*.log
C:\Program Files (x86)\StorageCraft\ShadowProtect\Logs\*.txt
C:\Program Files\Update Services\LogFiles\*.old
C:\Program Files\Update Services\LogFiles\*.log
C:\Windows\inf\setupapi.dev.log
C:\Windows\Logs\CBS\CBS.log
C:\Windows\Microsoft.NET\Framework*\*\*.log
C:\Windows\Microsoft.NET\Framework*\*\*.old

Categories:      

==============

Reset Windows filesystem transaction support
article #846, updated 3388 days ago

Apparently, corruption in Windows filesystem transaction support will cause many different kinds of errors, ranging from IIS not starting to scheduled task creation failing to Windows updates failing. To fix this, one can do the following in an administrative command prompt:

fsutil resource setautoreset true c:\

In some circumstances it is reportedly helpful to repeat the above for E:\ and any other NTFS drive in production.

Categories:      

==============

Cannot delete printers in Vista, 7, and Above
article #691, updated 3477 days ago

If you get “permission denied” trying to delete printers, delete everything relevant in all of these places (leaving the folders of course):

HKEY_CURRENT_USER\Printers\Connections
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Printers\PushedPrinterConnectionStore\*
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Connections
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers

restart the spooler, refresh the Devices and Printers window, and you may be done, the involved printers will probably vanish. If they don’t they will be deletable at this point. If there are multiple user profiles on the PC, you will have to delete them in the other profiles. On some machines, some of the folders won’t exist, and this is perfectly fine.

Categories:      

==============

Delete user profiles entirely from command line
article #120, updated 3486 days ago

Currently a third-party app does it well:

https://helgeklein.com/free-tools/delprof2-user-profile-deletion-tool/

DELPROF was part of the Server 2003 Resource Kit, also here:

http://www.microsoft.com/downloads/details.aspx?familyid=901a9b95-6063-4462-8150-360394e98e1e&displaylang=en

Categories:      

==============

Update root certificates in Windows
article #792, updated 3528 days ago

Something new:

http://support.microsoft.com/en-us/kb/3004394

Categories:      

==============

Prefer IPv4 to IPv6 in Windows
article #776, updated 3575 days ago

There is a group policy available which can do this:

http://social.technet.microsoft.com/wiki/contents/articles/5927.how-to-disable-ipv6-through-group-policy.aspx

The page says disable, but an option within the GP is to simply prefer IPv4, which can solve a lot of problems straightforwardly.

Categories:      

==============

Windows Update error 0x80070057
article #775, updated 3584 days ago

Some info:

http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/windows-update-error-0×80070057/acf27e3e-0b8d-4418-b470-132e6001f1f5

Categories: