Tuesday, 27 December 2022

How to edit the right-click context menu for some third-party applications in Windows 10

Right-click on a folder or file in Windows 10 File Explorer will triggers a context menu with an array of Windows applications, including some from third-party applications. When more apps is being installed, this menu will become cluttered with a lengthy list of entries. Many of these are applications that may never be used and it will make the menu more difficult to navigate.

This article will edit the context menu for WinZip, WinRar, DropBox and PDFCreator.

1.    WinZip

https://kb.corel.com/en/129410

WinZip Pro 27.0 when install will automatically install some utilities or applets together. Like WinZip Image Manager, WinZip PDF Express and WinZip SafeShare. To disable those applets in the existing installation one can use the registry editor. 

Start Registry Editor, "RegEdit.exe", in Windows. In the left pane, browse to and click on HKEY_LOCAL_MACHINE\SOFTWARE\Nico Mak Computing\WinZip\Policies.


Locate the policies that you want to disable from the list below: 

  • DISABLEIMGUTIL: Specifies if WinZip Image Manager is available or not.
  • DISABLEPDFUTIL: Specifies if WinZip PDF Express is available or not.
  • DISABLESBKUPUTIL: Specifies if WinZip Secure Backup is available or not.
  • DISABLEDIPUS: Controls updates for applets.
  • ADDDESKTOPICON: Lets you add a desktop icon (applies to WinZip and the applets).
  • ADDFILEASSOCIATION: Provides options for file format associations and the Open With menu.
  • ADDSTARTMENU: Lets you add the applets to the Start menu (applies to WinZip and the applets).
  • INSTALLBGDDPrevents the duplicate file finder from being installed.
  • DISABLESHAREA: Disables WinZip SafeShare.
Disable the policies by double-clicking on each one and changing its value to 1.

Here i change the value to 1 on DISABLEIMGUTIL (Image Manager), DISABLEPDFUTIL (PDF Express) and DISABLESHAREA (SafeShare).





Finally close the Registry Editor.


2.    WinRar


When you install WinRar, it adds the following items to the context menu:
# Extract files
# Extract here
# Extract to <folder\>
# Extract here
# Extract each archive to separate folder
# Extract each archive to separate folder
# Open with WinRar (for SFX archive)
# Add to archive
# Add to <archive name>
# Compress to <archive name> and email
# Compress and email

When installing WinRar for the 1st time, it will offer context menu item option to be added towards the end of installation.

But if you already have installed WinRar, use the settings on the options tab of WinRar program to remove those entries.

Open WinRar software.

Click options tab and then click settings to open setting dialog.








Switch to the integration tab and then click contect menu items.
Now uncheck the items that you don't want to see in the context menu and finally click OK button to complete the changes.










Beside disable the context items you can also use cascading context menu. Goes back to the integration tab and enable cascaded context menus.
 















3.    DropBox

https://www.dropboxforum.com/t5/Dropbox-ideas/Add-an-option-to-remove-Dropbox-items-from-the-desktop-context/idi-p/109723/page/5#comments

DropBox has added cluttered context menu in recent versions like 9 items which is too many. Till now they are not even prepare to add cascading menu yet. 😢

In the meantime, short windows 10 fix (thanks to @Laurence D.2 above)---

 

1. Open registry editor (search, regedit)

2. Paste in the registry editor address bar:  HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\DropboxExt

3. Right-click the key in that folder, rename the value.  That removes all dropbox entries from context menu.

(You can export the folder by right-clicking it before and after your changes, if you wish, you can change it back anytime and the context menu entries will appear again)














4.    PDFCreator


https://www.sebastian-segerer.de/post/remove-items-from-context-menu/


There is a suggestion to remove the context menu in PDFCreator software. But it doesn't work.

No solution has been found yet.



















New context menu


Now the context menu is much more better than before.

Monday, 29 August 2022

How to change the total no of pages to print in Excel 2013

Sometimes you may want to do a quotation in Excel and make the 1st page as cover page. Than you print the page no and total page no starting from page 2. But you will need to start the page no as 1 in  the 2nd page.

For example, you do this by inserting the page no & total pages in the header/footer starting from page 2  to page 4 with the following code.

"Page &[Page] of &[Pages]" where [Page] is the page no & [Pages] is the total page no. 










Hence the print preview on the 2nd page.











However you will need 2nd page to print as page 1 and the total pages is 3 instead of 4. 1st page (cover page is not counted).

To overcome this set focus on 2nd page, open the page setup in the PAGE LAYOUT.















Change the First page number from Auto to 1. Click ok.

Next open the header/footer, to reduce a total page type -1 after the &[Pages].








However make sure to add a blank line after that. Otherwise the result is weird.

Hence the new preview on 2nd page.





Saturday, 4 June 2022

Cannot see shared computer in network and sharing center

Local area networks is one of the most powerful features available in modern computing that allow to share movies or music or data files across all the devices in your home or office. The network can be set  up for a server, share printers and scanners or just to share files among computers.

When the computers are connected together in a network you can see the computer which has shared folders in network and sharing center.

However a common problem is the inability of one computer to see shared folders on another computer or vice versa.

Usually the common causes of it is the incorrect setup.

Once the sharing has been set up you should be able to access the shared folders from another computer. Open Windows Explorer, select Network from the left pane, select the file and log in using your credentials.

However if you still cannot see the shared computer perform these checks.

1.    Make sure your computers are using the same network and IP version, i.e. IPx4 or IPx6. Most home networks use IPv4.

2.    Make sure Network discovery is enabled on all computers and make sure all the setting is the same in all computers.












3.    Make sure File and Printer sharing is enabled on all computers.

4.    Toggle Turn on password protected sharing to off and retest.

5.    Make sure you are logging in using the same account you entered when you added users to Share with.

6.    If you use Windows Defender firewall, open the Firewall app, select Allowed apps and ensure File and printer Sharing is allowed to pass.



7.    Make sure computer description is not empty. Check the computer description in system properties. 
 


For Win10 open Setting\System\About\Rename this PC in the middle.













Friday, 3 June 2022

BCD (Boot Configuration Data) - How to set boot entry

Windows Boot Manager (BOOTMGR) is a utility that boots operating systems. If you have several operating systems, you can enable Windows Boot Manager when the computer boots and then select the target operating system.

To add more operating systems to the boot manager refer to How to Multi-Boot Two or More Versions of Windows

Boot manager started since Windows 7. This is how the Windows 7 boot manager looks like.



The boot manager has changed its look since Windows 8 and beyond.


When a new operating system has been added, the computer will start booting from the new boot manager of the latest operating system. The default boot entry will be set to the new operating system also (refer diagram below). If it is necessary to reset the boot manager back to the previous operating system.





How to set default boot entry

I am using Windows 7 as the 1st and Windows 10 as the 2nd booting option.

I prefer to use Windows 7 as the default boot manager because Windows 10 is used as software test platform. Sometimes it is necessary to reinstall Windows 10 again because some test software might corrupt the Windows 10. 

Below is the example to set the default boot manager back to Windows 7

www.backupassist.com/blog/how-to-fix-boot-issues-with-bcdboot

Make sure Windows 7 is the current running operating system. 

Open the command prompt and run as administrator. Run diskpart. Find out which volume belongs to Windows 7. For this case the Windows 7 volume is 'E'. Exit diskpart and type "bcdboot e:\windows" than enter. Now command prompt should show message "boot files successfully created".




How to remove boot entry

docs.microsoft.com/en-us/windows-server/administration/windows-commands/bcdedit

BCDEdit – Guide for Windows Vista, 7, 8, 10

BCDEdit is a command-line tool for managing BCD stores and the primary tool for editing the boot configuration of Windows Vista and later versions of Windows. It is included with the Windows Vista distribution in the %WINDIR%\System32 folder

Administrative privileges are required to use BCDEdit to modify BCD.

Syntax

bcdedit /command [<argument1>] [<argument2>] ...

Open the command prompt and run as administrator. Type "bcdedit" without argument is to list the computer's current BCD configuration.

To delete a boot entry type "bcdedit /delete {identifier}"















How to add a new operating system to the boot manager

Insert a bootable Pendrive or DVD of the Windows version to install and restart the computer. Let it boot from the external device.

Choose all the default setting when prompted until the selection of Windows installation type. Then choose Custom - New installation and select the partition to install the Windows. Wait for the installation to be completed.

Note: After the installation the computer will use the boot manager of the latest Windows.


How to add an existing Windows to the boot manager

Boot into the default Windows, open the command prompt, run as administrator, Type "bcdedit /copy" to make a copy of the current boot entry.

Type "bcdedit /copy {current} /d "Windows name" and then pressing the "Enter" key. 

The new boot entry will be added to the boot manager. Type "bcdedit" again without any parameter to see a list of boot entry. The new boot entry is still boot to the current Windows, ie partition C:. Take note on the new identifier, device, description and osdevice . Use /set to change the setting in the new boot entry to boot from the target Windows. For example, if the target Windows is in partition K, change the device and osdevice to "partition=K:".

bcdedit /set {identifier} device partition=K:
bcdedit /set {identifier} osdevice partition=K:
bcdedit /set {identifier} description "Windows 10 Pro x64"

Restart the computer. The new boot entry should work now. 

System Reserved partition - Space not enough

What Is the System Reserved Partition and Can You Delete It?

Windows 7, 8, and 10 create a special “System Reserved” partition when you install them on a clean disk. Windows doesn’t normally assign a drive letter to these partitions, so you’ll only see them when you use Disk Management or similar utility.

The System Reserved partition contains two important things:

  • The Boot Manager and Boot Configuration Data: When your computer starts, the Windows Boot Manager reads the boot data from the Boot Configuration Data (BCD) Store. Your computer starts the boot loader off of the System Reserved partition, which in turn starts Windows from your system drive.
The System Reserved partition consumes 100 MB of space on Windows 7, 350 MB of space on Windows 8, and 500 MB of space on Windows 10.

During the new Windows installation when the target partition has enough disk space but the Windows keep refusing to install because it claim the system space is not enough, reboot to the working Windows, ie Windows 7, and shrink the Windows partition or any partition by 500MB then add extra size to the system reserved partition. Now the installation should works fine.

Link for more info about Windows Boot Manager

Friday, 20 May 2022

NAS Synology DS-107e - Power up again

Device : Synology DS-107e

Capacity : Single drive 500GB.


Upgrade




This device was used as a file backup for the local computer and also intended to build a web server. It was shut down few years ago due to the slowness internet speed, 8Mbps, which was not adequate for a web server. 

After the device was power down the file backup is to continue on external USB hard disk. 

Now this device has been replaced with a used SEAGATE ST7350640NS 750GB hard disk to maximize the device's capacity.

It is connected to the router by LAN and router is connected to the fiber-optic internet 100Mbps.

The old 500GB Linux partitions (Ext2) were copied to another hard disk as backup and the partitions were deleted in order to create a new NTFS partition to install Win 10 for network test. 

Note that when the Linux partitions (Ext2) were copied back to the 500GB hard disk and when the hard disk was installed back to the device, the device cannot boot from the hard disk. The reason being the Linux mbr has been overwritten by the Win 10 mbr. Therefore files can only be retrieved using software that can connect to the backup Linux partitions.


Connecting to device.

Connecting to the device was a bit complicated. During the 1st power on the device will spend time looking for a DHCP server to allocate an IP (the router must has DHCP enable). It may take a while for the device IP to become available.

Once the LAN light became stable (flashing at first than solid after stable), run the Synology Assistant (must have installed on the computer) to search the device IP. 

If the device cannot be found, login to the router software management or use other network IP detection software to search the device IP. 

Once the IP is available just type in the IP and get to the device or use Synology Assistant and highlight the device name in it then click connect to connect to the device.

The device will prompt for the DSM file to be installed and in this case find and use the 'DSM3.1-1639.PAT' v3.1639 saved in the computer folder. 

The DSM will take sometime to install and when it is ready, type or click on the same IP will open the DSM in the default browser. 






How to set up your Synology NAS




Login to DSM (default user is 'admin' and password is blank) to start setup the server now.

If the device really cannot be found, set the router IP to 192.168.1.1 (most common use IP by Synology server) and enable DHCP. Restart the router and restart the device and most likely the device to automatically get assign an IP by the DHCP server. Then repeat the steps in connecting to device again.

Synology-DS107e Router Setup

How do I find my Synology NAS via Web Assistant or Synology Assistant?

Synology DS107e Router Login Information


Problem mapping drive with Windows 10

When mapping drives in Synology Assistant on Windows 10 an error code 384 will occur. Previously the device is connected to Windows 7 and the mapping drive has no problem.








Some web explain the problem as follow. Paessler Synology Error Code 384 

This problem occurs because the SMB 1.0/CIFS File Sharing Support has been deactivated on Windows 10, Windows 10 Fall Creators Update version 1709 and higher.

The SMB 1.0 protocol is important for the Computer Browse service to populate the Windows Explorer Network node ("Network Neighborhood"). This legacy protocol does not route, has limited security and is long deprecated. As this service does not work without SMB 1.0, it is removed when SMB 1.0 is disabled.

 Hint:

  • Open the search bar on Windows 10, type "Windows features" in the search bar and by double-click turn Windows features off and on
  • Look for SMB 1.0/CIFS file sharing support
  • Check if the box and all others will auto populate and click OK
  • Restart your computer

Now the mapping drive in Synology Assistant should works on Windows 10.

DSM newer version than v3.1639 should be able to set the SMB in the server itself.


Connect to the Linux partition in Windows

To connect to the Linux partition in Windows and retrieve files, software like Linux reader, ext2explore

and Ext2Fsd can be used. Ext2Fsd, Ext2 Volume manager, is prefer since it can assign a drive letter to the Ext partition. 






To copy the files back to the device use the Fastcopy software where the timestamp of the file and folder can be copied as well.











Reset Synology NAS

www.howtogeek.com/344497/how-to-factory-reset-your-synology-nas/

1.    Reset Network Settings

Locating the reset button on the back of the NAS drive.


Use a paper clip and hold down the reset button for about five seconds until you hear a beep. Then let fo immediately.

After that, fire up Synology Assistant, and then double-click the NAS drive to access it and login.



The default username is "admin" and the default password is left blank. Click "Sign In' after entering in these credentials.




2.    Reinstall DSM, but Keep Data

Completely resetting the DSM operating system, but still keeping all of their data intact. This is great for DSM giving some issues and you just want to wipe and start fresh.

Locate the reset button on the back. Use a paper clip and hold down the reset button for about five seconds-until you hear a beep. Then let go immediately. Right after that, hold down the reset button again for five seconds until you hear another 3 beep. Let go immediately after that.

The NAS will reboot. After a couple of minutes, the status light will blink orange. DSM is now ready to be reinstalled.


Open up Sunology Assistant, and double-click the NAS drive to access it (it will say "Configuration lost" next to it).










Click the "Install" button.








 

Setup Wizard


Installation file

 

DSM_DS107e_1639.pat

 

Leave blank for password

 

Network setup - get from DHCP

 

Formatting partition

 

 

 

Installing DSM

 

Rebooting

 

System has been installed successfully

Login to DSM

 

DiskStation is ready

To add images into blogger side by side watch www.youtube.com/watch?v=DkvND3q_3C4


11/Jun/2022

More info about setting of NAS.

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,...