To connect a YubiKey to a VMware Workstation virtual machine:
Shutdown the virtual machine.
Edit the virtual machine .vmx file to include the following line: usb.generic.allowHID = "TRUE"
Start the virtual machine and connect the YubiKey.
Wednesday, 31 December 2014
VMware Workstation: Connect YubiKey
Friday, 19 December 2014
iTunes: iTunes Has Stopped Working
iTunes 12 on Windows 7 crashes when synchronising applications with the error message:
iTunes has stopped working.
The following event is logged:
Faulting application name: iTunes.exe, version: 12.0.1.26, time stamp: 0x543e558b
Faulting module name: MSVCR100.dll, version: 10.0.40219.1, time stamp: 0x4d5f0c22
Exception code: 0xc0000417
Fault offset: 0x0008af3e
Faulting process id: 0x11ec
Faulting application start time: 0x01d01ad09d71f8f7
Faulting application path: C:\Program Files\iTunes\iTunes.exe
Faulting module path: C:\Windows\system32\MSVCR100.dll
Report Id: dadd4987-86c4-11e4-b0af-c44619e1242a
The issue can be caused by a UNC path being used instead of a drive letter.
\\fileserver\users\username\music\itunes\itunes media\mobile applications
The solution is to move the iTunes library to local or USB storage or open from a drive letter:
eg: Z:\username\music\itunes\itunes library.itl
Hold down shift when launching iTunes to choose a new library.
Check the file path of the applications by right clicking the application and selecting the File tab.
If a UNC path is still in use then delete the applications from within iTunes and then drag back into iTunes from the new file path.
iTunes has stopped working.
The following event is logged:
Faulting application name: iTunes.exe, version: 12.0.1.26, time stamp: 0x543e558b
Faulting module name: MSVCR100.dll, version: 10.0.40219.1, time stamp: 0x4d5f0c22
Exception code: 0xc0000417
Fault offset: 0x0008af3e
Faulting process id: 0x11ec
Faulting application start time: 0x01d01ad09d71f8f7
Faulting application path: C:\Program Files\iTunes\iTunes.exe
Faulting module path: C:\Windows\system32\MSVCR100.dll
Report Id: dadd4987-86c4-11e4-b0af-c44619e1242a
The issue can be caused by a UNC path being used instead of a drive letter.
\\fileserver\users\username\music\itunes\itunes media\mobile applications
The solution is to move the iTunes library to local or USB storage or open from a drive letter:
eg: Z:\username\music\itunes\itunes library.itl
Hold down shift when launching iTunes to choose a new library.
Check the file path of the applications by right clicking the application and selecting the File tab.
If a UNC path is still in use then delete the applications from within iTunes and then drag back into iTunes from the new file path.
Tuesday, 16 December 2014
Infor Query & Analysis (Q&A): Install Excel Add-in
To install for a user with administrative rights:
Start > All Programs > Infor Query & Analysis > Maintenance > OK > Configure Microsoft Office
To install for a standard user without admin rights:
Browse to C:\Program Files (x86)\Infor\Query and Analysis
Run ExcelAddinRemoveAdd.exe
Tick Microsoft Excel and then Apply
It may also be necessary to trust the ribbon.
Open an administrative command prompt and enter:
cd C:\Windows\Microsoft.NET\Framework\v2.0.50727
CasPol.exe -ag 1 -url "file://C:\Program Files (x86)\Infor\Query and Analysis\Infor.QAA.Ribbon.dll" FullTrust
Start > All Programs > Infor Query & Analysis > Maintenance > OK > Configure Microsoft Office
To install for a standard user without admin rights:
Browse to C:\Program Files (x86)\Infor\Query and Analysis
Run ExcelAddinRemoveAdd.exe
Tick Microsoft Excel and then Apply
It may also be necessary to trust the ribbon.
Open an administrative command prompt and enter:
cd C:\Windows\Microsoft.NET\Framework\v2.0.50727
CasPol.exe -ag 1 -url "file://C:\Program Files (x86)\Infor\Query and Analysis\Infor.QAA.Ribbon.dll" FullTrust
Labels:
Excel,
Excel 2010,
Infor Q&A,
Infor Query & Analysis
Wednesday, 3 December 2014
Veeam 8.0: Reverse Incremental Job Error
Processing VM Error: The process cannot access the file because it is being used by another process.
Failed to open file [D:\xxx.vbk] in readonly mode. Agent failed to process method {Stg.IsObjectExist}.
To resolve, enable Parallel Processing in Options > I/O Control
http://helpcenter.veeam.com/backup/80/vsphere/options_parallel_processing.html
Failed to open file [D:\xxx.vbk] in readonly mode. Agent failed to process method {Stg.IsObjectExist}.
To resolve, enable Parallel Processing in Options > I/O Control
http://helpcenter.veeam.com/backup/80/vsphere/options_parallel_processing.html
Robocopy: Mirror Two Directories
Robocopy command to mirror two directories:
robocopy "X:\Dir" "Y:\Dir" /B /E /COPYALL /DCOPY:T /R:1 /MIR /TEE /LOG:C:\Robocopy.log /NP
/B : Copy files in Backup mode.
/E : Copy subfolders, including empty subfolders.
/COPYALL : Copy all attributes.
/DCOPY:T : Copy directory timestamps.
/R:n : Number of retries.
/MIR : Mirror a directory tree (equivalent to /PURGE plus all subfolders /E) and updates directory security.
/TEE : Output to console window, as well as the log file.
/LOG : Output to log file.
/NP : No Progress - suppress % copied.
robocopy "X:\Dir" "Y:\Dir" /B /E /COPYALL /DCOPY:T /R:1 /MIR /TEE /LOG:C:\Robocopy.log /NP
/B : Copy files in Backup mode.
/E : Copy subfolders, including empty subfolders.
/COPYALL : Copy all attributes.
/DCOPY:T : Copy directory timestamps.
/R:n : Number of retries.
/MIR : Mirror a directory tree (equivalent to /PURGE plus all subfolders /E) and updates directory security.
/TEE : Output to console window, as well as the log file.
/LOG : Output to log file.
/NP : No Progress - suppress % copied.
Thursday, 27 November 2014
AMD Graphics: Add Custom Display Resolution
Open AMD Catalyst, select Information and then Software.
Note the 2D Driver File Path.
Open Regedit as Administrator.
Browse to the 2D Driver File Path registry path.
Open the DALNonStandardModesBCD2 key and add the custom resolution.
13 66 07 68 00 00 00 60
(60 specifies the screen refresh rate)
Close Regedit, reboot and select the custom resolution.
Note the 2D Driver File Path.
Open Regedit as Administrator.
Browse to the 2D Driver File Path registry path.
Open the DALNonStandardModesBCD2 key and add the custom resolution.
13 66 07 68 00 00 00 60
(60 specifies the screen refresh rate)
Close Regedit, reboot and select the custom resolution.