tinyapps.org / blog

Replace or recover domain cached credentials #

posted to the docs section.

/windows | Jan 29, 2019

Clone "Date modified" values without recopying files #

Problem: C:\A\ and C:\B\ contain the same files and folders, but the timestamps in C:\B\ are incorrect.

Solution: Mirror the file and folder timestamp values from C:\A\ to the same files and folders in C:\B\ (without having to recopy the files) via robocopy:

C:\>robocopy C:\A\ C:\B\ /E /DCOPY:T /COPY:T
               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :         3         0         3         0         0         0
   Files :        14        14         0         0         0         0
   Bytes :   3.339 g   3.339 g         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00

   Speed :           239063077333 Bytes/sec.

robocopy's log is incorrect; no directories were skipped (all their timestamps were updated), no files were copied (only their timestamp data was), and the hardware wasn't quite up to 239GB/sec.

/windows | Jan 16, 2019

FastCopy: exclude directories and delete files unique to destination #

/windows | Jan 15, 2019

If you must run Windows 10... #

Heaven help you:

Barring divine intervention, Windows 10 Enterprise LTSC 2019 (formerly LTSB) may be the least bad option:

However, be aware that LTSC requires a volume license (VL) agreement, making onerous audits potentially more probable:

(despite Microsoft's own apparent need for a thorough inspection:

While five licenses are required to enter into a new VL agreement, they need not all be for LTSC. According to a rep I spoke with at a Microsoft Partner, this combination would work as an upgrade from a Windows OEM license (i.e., it would allow a user who bought a PC with Windows 10 preinstalled to run Windows 10 LTSC instead):

Here are links and prices from three well-known Microsoft Partners, though you should definitely confirm details with a rep before purchasing:

For those hapless souls stuck on Windows 10 Home or Pro, see:

Further reading:

/windows | Nov 30, 2018

Large hosts file causes networking issues in Windows 10 #

Network problems encountered include: web browsers crashing, websites not loading, yield symbol appearing over the notification area's WiFi or Ethernet icon, "No Internet, secured", etc.

Solution: disable DNS Client by changing the value data for HKLM\SYSTEM\ControlSet001\Services\Dnscache\Start from 2 (automatic) to 4 (disabled) (recent versions of Windows 10 no longer allow disabling DNS Client via services.msc).

References and more information:

/windows | Sep 30, 2018

A rare new addition to the aging catalog #

Green Award SNOW (Steganographic Nature Of Whitespace) [31k] {S}+ Conceal (and optionally encrypt) messages in ASCII text by appending whitespace to the end of lines. Screenshot

/windows | Jul 13, 2018

Office cannot verify the license for this product #

After cloning a Windows install to a new drive, the following error appeared when launching Word, Excel, or PowerPoint:
Microsoft Office Home and Student 2010 cannot verify the license for this product. You should repair the Office program by using Control Panel.

Microsoft's own "Microsoft Office cannot verify the license for this product" error when you start an Office app suggests disabling compatibility mode - no change.

Help Desk Geek's Fix MS Office "Cannot Verify License" Error Message offers four methods:

  1. Change time & reactivate
  2. System Restore
  3. Delete or rename C:\ProgramData\Microsoft\OfficeSoftwareProtectionPlatform\tokens.dat
  4. Uninstall & reinstall Office

none of which worked initially, as the Activation Wizard unhelpfully offered:

Telephone Activation is no longer supported for your product.

Happily, Microsoft published a new number: +1-866-421-7141. Used with method 4 above to resolve.

/windows | Jul 13, 2018

Animated GIF editor for Windows #

ScreenToGIF is billed as a "screen, webcam and sketchboard recorder with an integrated editor". Uniquely, it allows easy editing of existing animated GIFs:

A subtle but deeply gratifying feature is how ScreenToGIF displays the current frame when highlighting a range of frames in the timeline (rather than statically displaying the first selected frame).

Additionally, it's:

/windows | May 21, 2018

Connect to a Windows 10 (version 1803) shared folder from Windows XP via mapped drive #

These steps dumb down security advances made in later Windows versions in order to accommodate XP. Do not use them unless absolutely necessary; even then, do so at your own risk (and joy).

On Windows 10 PC:

  1. Control Panel\All Control Panel Items\Network and Sharing Center → Change advanced sharing settings:
    1. Private (current profile) → check "Turn on network discovery" and "Turn on file and printer sharing"
    2. All Networks → check "Turn off Public folder sharing", "Enable file sharing for devices that use 40- or 56-bit encryption" and "Turn off password protected sharing"
  2. If necessary, create a new local user account (e.g., "xpuser") and folder share (e.g., "shared")
  3. In HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters, create a new DWORD value name of AllowInsecureGuestAuth and set its value data to 1.
  4. C:\Windows\System32\OptionalFeatures.exe → check "SMB 1.0/CIFS File Sharing Support" → OK → reboot when prompted

On Windows XP PC:

You should now be able to map a network drive normally.

If you have trouble with "Reconnect at login" or "Connect using a different user name", consider a batch script in the Startup folder, e.g.,

    ping -n 11 >NUL & REM delay execution for 10 seconds
    net use * /delete /yes & REM clear any existing mapped drives
    net use x: \\WIN10PC\shared

If the Windows 10 and XP usernames and passwords match, you're done!

If they differ, you can simply store the Windows 10 username and password in Windows XP's Stored User Names and Passwords (aka Credential Manager); access via rundll32.exe keymgr.dll, KRShowKeyMgr.

Otherwise, you could specify the username in the script, prompting the user for the password each time (e.g., net use x: \\WIN10PC\shared /user:xpuser *), or you could store both the username and the password in the script (security-wise, not a great idea, but hey, you're still running Windows XP, so... net use x: \\WIN10PC\shared /user:xpuser password).

Sources and more information:

/windows | May 17, 2018

Windows Update failed: Advanced Micro Devices, Inc - System - Error 0x80070002 #

Following a clean install of Windows 10 version 1803 on an HP Notebook (15-ba113cl), Windows Update reported the following error:

Updates failed - Advanced Micro Devices, Inc - System - Error 0x80070002
Updates failed - Advanced Micro Devices, Inc - System - Error 0x80070002

Attempting to automatically update the driver in Device Manager returned:

AmdAS4 Device: The system cannot find the file specified.
AmdAS4 Device: The system cannot find the file specified.

HP's Software and Driver Downloads page for this laptop inexplicably does not include chipset drivers. However, thanks to Paul_Tikkanen's answer in Missing unknown driver ACPI\ASD0001\2&DABA3FF&2 (which took longer than a few seconds to find, hence this post), the error was resolved by downloading and installing the AMD Chipset Drivers (revision 18.10.0418, released 4/18/2018) directly from AMD.

/windows | May 13, 2018

Subscribe or visit the archives