Windows7-10

From neil.tappsville.com
Revision as of 23:56, 1 June 2020 by Gonzo (talk | contribs)
Jump to navigationJump to search

USB Drivers not installing automaticly

Locate the latest original USB 2.0 driver from the following folder.

%System Root%\system32\Driver Store\File Repository\usb.inf_xxxxx

Copy everything in that folder to c:\temp\driver

Now plug the device in, find drivers manually and specift c:\temp\driver or you can put them in %System Root%\INF and windows7 should find them automatically.


This worked or an Orico 7 Port USB Powerd Hub that should turn up as a USB Hub (Generic)


Win10 VLC Bluray

vlc-bluray.whoknowsmy.name/


FDDI USB COM Port Drivers

www.ftdichip.com/Drivers/VCP.htm


Move My Documents Folder

  • Login as the user
  • Start --> <select user name>
  • Right click the 'folder' IE Documents
  • Location tab
  • Select Move
  • Select the new folder
  • 'Select Folder'
  • OK
  • Yes

www.techsupportalert.com/content/how-move-windows-7-personal-folders-my-documents-another-drive.htm


Hide users from the logon screeen

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList

Add 32bit DWORD with users name


X windows client

Moba Xterm, simple free for personal use.


VMWare Workstation

Makes life easy :)

To get to the bios menu, to be able to toggle numlock on/off on boot

edit the .vmk file for the image add

bios.bootDelay = "5000"

then tap away at F2 as the image boots


Add an additional disk to a RHEL Machine under VMWARE robscomputer.blogspot.co.nz/2012/06/adding-drive-to-vmware-workstation.html

  • stop the VM
  • Add disk
  • start vm
  • ls -l /dev Should have a new disk like sdb or sdc
  • create a disk - fdisk /dev/sdc, n, p, 1, enter, enter, w
  • make a filesystem - mkfs.ext4 /dev/sdc1
  • mount the disk temporarly - mount /dev/sdc1 /opt
  • add to fstab
vi /etc/fstab
/dev/sdc1               /opt                    ext4    defaults        1 2


Date in the taskbar / clock

If you want to see the date in the taskbar (I used to have a piece of s/w do this for me in xp) - under win 7 there are 2 options

  1. use two rows of icons in the task bar (right click taskbar – properties – uncheck lock task bar, drag top edge up, lock task bar again)
  2. use large icons (right click taskbar – properties – uncheck use small icons)


Quick append text to files in a directory

Using windows powershell

Get-ChildItem -Filter "*MATCH_TEXT*" -Recurse | Rename-Item -NewName {$_.name + ".APPEND_TEXT"}


Corel Draw

Macro to measure a line http://macromonster.com/index.php?mod=descr&id_desc=60&keyword=length&Submit=Go [macromonster.com/index.php?mod=pages&id_pages=18 install process]


Curve Lenth addon http://www.sawmillcreek.org/showthread.php?111024-Vector-line-length-measuring

Thunderbird

Finally an add-on to open Microsoft Outlook winmail.dat attachments https://addons.mozilla.org/en-US/thunderbird/addon/lookout/

Powershell

List sub-directory sizes

Essentially du -hs *

$colItems = Get-ChildItem $startFolder | Where-Object {$_.PSIsContainer -eq $true} | Sort-Object
foreach ($i in $colItems)
{
    $subFolderItems = Get-ChildItem $i.FullName -recurse -force | Where-Object {$_.PSIsContainer -eq $false} | Measure-Object -property Length -sum | Select-Object Sum
    $i.FullName + " -- " + "{0:N2}" -f ($subFolderItems.sum / 1MB) + " MB"
}

or use sysinternals du command

du -l 1 c:

Scheduled Tasks

Error 0x80070532 = INVALID PASSWORD, usually happens when the password for the user the task is running as has been changed.

libraries settings

Stored in

C:\users\name\appdata\roaming\microsoft\windows\libraries\libraryname.library-ms

WSL

Windows Subsystem for Linux

Blocked by Windows firewall

The following gets ping working, but not tracepath hummm


https://superuser.com/questions/1358297/windows-10-wsl-ubuntu-unable-to-ping-anything


netsh.exe advfirewall firewall add rule name=wsl_ping dir=out action=allow program=C:\Users\tapp\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\bin\ping enable=yes


Office =

Remove Password protection from MS Word 2013 Document

www.jamesewelch.com/2011/09/21/how-to-remove-passwords-from-protected-microsoft-word-documents/


DocX is a compressed zip container file. Make a copy of the original docx file. If you unzip it, there is a subfolder named word with a file named settings.xml. You can open settings.xml with a plain text editor.

Within that there is a block of text:

<w:documentProtection .... />

remove it