Thursday, 27 June 2019

How to add WinRAR ZIP archive to Right Click context menu 'New' in Win 10

With WinRAR installed, the Window context menu 'New' will have option for WinRAR archive. Select this option will create new RAR file ready for adding archive.

To disable it, open WinRAR (Run it from C:\Program Files (x86)\WinRAR\WinRAR.exe if there isnt any shortcut) and choose Option -> Settings -> Integration than untick Integrate WinRAR into shell.


WinRAR also has another option to create archive, in zip format. But it is not added in the context menu. To add this entry to the context menu, i am using the window registry.


Open Window search box and type 'regedit'. Run regedit.exe when you see the command. Go to CLASSES_ROOT and find filetype '.rar' than click ShellNew to see the key FileName and data. Right click to modify FileName and copy the vaslue data 'C:\Program Files (x86)\WinRAR\rarnew.dat'.


Scroll down to find filetype '.zip'. Right click on '.zip' to add new key 'ShellNew'. Right click ShellNew to add a new string value. Change the value name to 'FileName' and paste the copied data just now to value data. Change the value data rarnew.dat to zipnew.dat. This will add ZIP option for New menu in Windows Explorer right click context menu. 

Quit the regedit.exe. If you don't see the new ZIP option now, restart the computer.

Wednesday, 26 June 2019

Synchronize folder timestamps

Now i have moved my working platform (Win7 x86) used for the last 10 years to newer machine (Win10 x64) and have used ViceVersa Pro to synchronize all the required directories and files in the partitions to the new machine.

All the softwares installed on the Win7 machine have been installed the same (some still use x86 version because x64 is not available and other download latest x64 version) to the new Win10 machine.

However, even though the timestamp for the files were synchronized correctly but not the folders. Most of the timestamp  in the new folder used the date and time when it was synchronized. This is not good because this group of folders (same timestamp) cannot tell the work progress by time.

Than the same miricle in google i came to this website providing the trick using robocopy which i did try some years ago but failed.

http://www.aionsolution.com/it-support/windows-7/robocopy-a-hint-for-those-with-folder-timestamp-issues-after-syncing/

Hence this is the command.

robocopy "(source") "(destination)" /dcopy:t /copy:t /s /log:(drive letter e:)mylog.txt /NDL


However there is a catch. The command will only syn the date modified and usually the folder detail viewer will only show a date column which does not match with the date modified. I do not know why but you only need to right click the folder viewer heading in order to show the date modified column for syn confirmation.

To generate mylog.txt greatly helps to determind whether there is error for the robocopy command. If mylog.txt has been created instantly, than there is some error.

Now my new folders are syn with the correct timestamp. However, some folders timestamp remain at the last syn timestamp when i moved from WinXp to Win7 and i did not manage to correct it.

Tuesday, 11 June 2019

PDFCreator does not print

This utility program is very stable (with many version updated) even on my upgraded Win 7 x86 computer but the last working version on my Win 7 is v2.2.2 released on Feb 2016.

Any following new version does not work on my computer because whenever i launch a print, the pdf file is not generated. The printer print test page function does not generate anything as well.
I cannot find any solution or repair advise therefore I have to revert PDFCreator back to v2.2.2 in order to continue using at least a working copy for myself.

Today while i am upgrading my Windows platform from 7 x86 Intel Duo Core to 10 x64 Intel i5 (different computer hardware), i try to upgrade PDFCreator to the latest version to see if the problem has been solved.

To my surprise the latest v3.5.0 still continue to refuse to generate pdf file. As a result i try to google for a fix and landed on this site https://forums.pdfforge.org/t/pdfcreator-simply-will-not-print-help-needed/12715/7.

The user has reported problem that's the same issue on me. A support staff name Robin seems to point to the root of the problem, the security permissions at the PDFCreator spool folder is not configure correctly. So i check on the spool folder properties, "%USERPROFILE%\AppData\Local\Temp\PDFCreator\Spool", and the full control access right was not enable/allow. Refer to screenshot below.


After that i edit the SYSTEM and Administrators user's permissions to add with full control. Then the PDFCreator v3.5.0 is finally able to generate a pdf file now.



Update 25 Jun 2019

The same thing has happened again. PdfCreator does not generate pdf file. Apply the same Full control permissions to SYSTEM & Administrator in "%USERPROFILE%\AppData\Local\Temp\PDFCreator\Spool" and the problem disappear.

Update 28 Dec 2022

The same thing has happened again on Win10 and PdfCreator 4.2.0. However the Print PDFCreator Test Page is working, unlike the problem on Win 7 and PdfCreator 2.2.2. The same solution apply again which is to add full control permissions to user "Administrator" at the PDFCreator Spool folder. 

Side note 
The Save setting on PdfCreator 4.2.0 was set to Automatic and unique filenames was enable. This setting will not popup the save dialog.

























To allow save dialog to show, change the save setting to Interactive in which the setting for ensure unique filenames will be removed also. Finally remember to click Save button to activate the changes.

























The setting to activate RSS news feed and send usage statistic is disable also.






Windows 10 – Right-Click Context Menu option is missing and Freeze/Hang

Recently, my Windows 10 has started freezing whenever open a file explorer and right-click on a PDF or image file. The context menu appears,...