Showing posts with label Windows XP. Show all posts
Showing posts with label Windows XP. Show all posts

Wednesday, August 13, 2014

Automate PDF printing from batch file command line

Adobe Reader is not suitable for printing PDF files using a batch file because it remains open after the print is done and there is no simple, safe & reliable mechanism to close it.  Instead use Ghostscript commandline as shown below:

gswin32c -dPrinted -dBATCH -dNOPAUSE -dNOSAFER -q -dNumCopies=1 "C:\test.pdf"

*Must be a recent version of Ghostscript, e.g. 9.x

Wednesday, February 15, 2012

iPhone has wrong name in Windows Explorer (Digital Camera)

Windows remembers a USB devices name and fails to update if the iPhone's name is changed.  Use regedit to search for the name starting at HKLM\SYSTEM\CurrentControlSet.
 Edit the device names & labels as found - multiple may be found.

Tuesday, October 11, 2011

ZeroAccess trojan rootkit virus removal

ZeroAccess rootkit shows as a process in task manager that is a series of numbers with a colon in the middle, e.g. 1784223:3221239.exe, which cannot be killed.

ESET have a tool that detects and kills the process - requires a reboot.
Kaspersky have the TDSSKiller tool that detects the infection as Sirefef trojan.
MBAM and MSSE are halted when attempting to run a scan.
The trojan/rootkit is active whenever networking is active.
It continues to re-infect via driver files.

To clean the infection use a boot disk such as Parted Magic that contains Clamav - update the clamav pattern files then run a command such as:
 clamscan -r -i /medica/sda1/
(-r = recursive, -i = show infected only)
Delete or overwrite the files as required.