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

Feb 21, 2024

Windows 10 : Create Recovery Partition

Sometimes we just need to fix the Windows Recovery Partition or just wanted to increase that partition size so that Windows Update able to run without any error.

The recommended Recovery Partition size by Microsoft is at least 1GB.

There are 2 scenarios here :-

1. The Recovery Partition is NOT available in the HDD/SSD.

2. The Recovery Partition is available but the size is too small (eg. less than 1GB).


METHOD 1 (No Recovery Partition).

1. Open --> Computer Management.

2. Goto --> Disk Management.

3. Right-Click on [C:] drive, select --> Shrink Volume.

4. Decrease the [C:] drive volume, enough to have a balance of 1GB (or 1000 MB).

5. Once the [C:] drive volume have shrinked successfully, you will now see an empty volume available.

6. Create the a new partition on the empty volume, FORMAT it but do not assign any drive letter yet.

6. Now, open --> CMD (as admin).

7. Run --> Diskpart utility and set the correct configurations for Recover Partition to work.

C:\>diskpart

8. List all available drive and select the correct drive.

DISKPART>list disk

DISKPART>select disk 0

9. Next, is to display all the available partition in that drive and select the new partition. Assuming that the new partition is numbered 4.

DISKPART>list partition

DISKPART>select partition 4

10. Now we need to configure the partition, depending on your drive's configuration it may either be MBR or GPT type. Choose the correct command based on your drive's configuration.

MBR
DISKPART>set id=27

GPT
DISKPART>set id=06d1-4d40-a16a-bfd50179d6ac

DISKPART>gpt attributtes=0X8000000000000001

11. Once done, just exit the Diskpart utility.

12. Now we need to enable and create the recovery partition. This make take a while to complete.

C:\>reagentc /enable

13. Once completed, you should now be able to view the new partition have been identified as "Recovery Partition" in the Disk Management panel.


METHOD 2 (Exiting Recovery Partition).

1. If there is an existing Recovery Partition in the drive, we need to first disable it. Open --> CMD (as admin).

C:\>reagentc /disable

2. Next is to run Diskpart utility.

C:\>diskpart

3. List all available drive and select the correct drive.

DISKPART>list disk

DISKPART>select disk 0

4. Next, is to display all the available partition in that drive and select the new partition. Assuming that the existing Recovery Partition is numbered 4.

DISKPART>list partition

DISKPART>select partition 4

5. As the Recovery Partition cannot be deleted, we need to force delete the partition.

DISKPART>delete partition override

6. Open --> Computer Management.

7. Goto --> Disk Management.

8. Right-Click on [C:] drive, select --> Shrink Volume.

9. Decrease the [C:] drive volume, enough to have a balance of 1GB (or 1000 MB) on the empty volume.

10. Once the [C:] drive volume have shrinked successfully, you will now see an empty volume available.

11. Create the a new partition based on the empty volume, FORMAT it but do not assign any drive letter yet.

12. Back to the command prompt and while still in Diskpart utility, we need to ensure the correct partition is selected.

DISKPART>select partition 4

13. Now we need to configure the partition, depending on your drive's configuration it may either be MBR or GPT type. Choose the correct command based on your drive's configuration.

MBR
DISKPART>set id=27

GPT
DISKPART>set id=06d1-4d40-a16a-bfd50179d6ac

DISKPART>gpt attributtes=0X8000000000000001

14. Once done, just exit Diskpart utility and next is to re-enable back the Recovery Partition. This may take a while to complete.

C:\>reagentc /enable

15. Once completed, you should now have a larger Recovery Partition size in the Disk Management panel.



!!! HAPPY COMPUTING !!!


Nov 8, 2023

Batch : Rename Hostname via Batch File

This is an example of a batch file to rename the Hostname or Computer Name as per your preferences, it is much faster way to do computer renaming for many computers.

Note that the batch file must be "run as administrator" mode in order to works.

 @ECHO OFF
CLS
>NUL CHCP 65001

:asktorename
REM To ask whether to Rename the Hostname or not.
ECHO.
ECHO.
ECHO.
ECHO               ╔═════════════════════════════════════════╗
ECHO               ║         RENAMING THE HOSTNAME           ║
ECHO               ╚═════════════════════════════════════════╝
ECHO.
CHOICE /M "──────────────► DO YOU WANT TO RENAME THE HOSTNAME "
    IF ERRORLEVEL 2 GOTO eof
    IF ERRORLEVEL 1 GOTO askforname
GOTO eof
REM --------------------------------------------------------------------------------------

:askforname
REM To ask User for the preferred hostname.
ECHO.
ECHO.
SET /P NEWNAME="PLEASE TYPE THE NEW HOSTNAME: "
ECHO.
ECHO "     ► ► ► THE NEW HOSTNAME IS ───► %NEWNAME%"
CHOICE /M "     ► ► ► IS THIS CORRECT "
    IF ERRORLEVEL 2 GOTO asktorename
    IF ERRORLEVEL 1 GOTO dorenhost
GOTO eof
REM --------------------------------------------------------------------------------------

:dorenhost
REM To proceed Rename the Hostname as per Input by User.
ECHO.
ECHO "     ► ► ► OK, RENAMING HOSTNAME → %NEWNAME%, PLEASE WAIT..."
WMIC COMPUTERSYSTEM where name="%COMPUTERNAME%" CALL RENAME name="%NEWNAME%"
TIMEOUT /t 3 /NOBREAK
ECHO.
ECHO "     ► ► ► RENAMING HOSTNAME COMPLETE"
ECHO.
ECHO "THE NEW HOSTNAME WILL TAKE EFFECT AFTER COMPUTER RESTART"
TIMEOUT /t 5 /NOBREAK
GOTO eof
REM --------------------------------------------------------------------------------------

:eof
START SHUTDOWN /r /f /t 10
COLOR
>NUL CHCP 437
EXIT /b



!!! HAPPY COMPUTING !!!

Nov 6, 2023

[UPDATED] Internet Explorer : Enabled via VBS Script File

Latest script to launch Internet Explorer with preferred webpage loaded.

1. Open --> Notepad

2. Type or Copy the following script:

Set objExplorer = CreateObject("InternetExplorer.Application")
with objExplorer
    .Navigate strPath
    .ToolBar = 1
    .StatusBar = 1
    .Width = 1000
    .Height = 593
    .Left = 1
    .Top = 1
    .Visible = 1
    .FullScreen = 0
    .Navigate("https://www.google.com.my")
End With

 Note: Replace the URL with your preferred URL address.


3. Save the file as --> IE_Link.vbs

4. Test run the script file, you can also create a Shortcut in the "Desktop" and replace the icon to Internet Explorer icon too.


!!! HAPPY COMPUTING !!!

Sep 5, 2023

Windows : Get Operating System Info in Command Prompt

How to get the installed Operating System information via the Command Prompt.

1. To get OS Architecture type.

wmic os get OSArchitecture



2. To get OS Edition info.

wmic os get Caption /value



3. To get OS CD-Key info.

wmic path softwareLicensingService get OA3xOriginalProductKey



!!! HAPPY COMPUTING !!!

May 26, 2023

Windows : Fix Windows 7 Update Error 80072EFE

 Fix Windows 7 Update Error 80072EFE.

Download and run update KB3138612, select the correct architecture.

  1. Windows 7 64-bit --> Windows6.1-KB3138612-x64.msu
  2. Windows 7 32-bit --> Windows6.1-KB3138612-x86.msu
After installed & restart computer, Windows Update will be able to run without any error.


!!! HAPPY COMPUTING !!!

May 17, 2023

Multi-Boot USB : Ventoy (Open Source)

Ventoy is an open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files.

With Ventoy, you don't need to format the disk over and over, you just need to copy the ISO/WIM/IMG/VHD(x)/EFI files to the USB drive and boot them directly.

You can copy many files at a time and Ventoy will give you a boot menu to select them. You can also browse ISO/WIM/IMG/VHD(x)/EFI files in local disks and boot them.

Supports x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI and MIPS64EL UEFI. Most types of OS supported (Windows/WinPE/Linux/ChromeOS/Unix/VMware/Xen etc.)

Official Ventoy Website : https://www.ventoy.net/en/index.html




!!! HAPPY COMPUTING !!!


Mar 13, 2023

CloneZilla : Restore Disk Image to Smaller Disk Size

CloneZilla restoring a "Disk Image" that are captured in larger disk size capacity to a smaller disk size must be done via another procedures.

Example : The original disk image captured size is a HDD 500GB capacity, the Destination/Target is a SSD 256GB.

You need to ensure that the captured disk albeit is 500GB, but the total usage doesn't exceed 256GB after partitioning, then the restore will be successful.


As usual, boot-up CloneZilla accordingly and follow below instructions accordingly :-

1. Select --> Device-Image

2. Select --> Local-Device

3. Select --> [The external drive that contains the captured image]

4. Select --> [Mount folder, if any]

5. Select --> Expert Mode

6. Select --> Restore-Partition

7. Select --> [Disk Image Name]

8. Select --> [All Partitions available in the Image]

9. Ignore the error message displayed, Press --> [ENTER]

10. In Advanced Page, Select --> -icds (skip checking destination disk size before creating partition table)

11. Select --> Create Partition table proportionally

12. Select --> Skip Checking image before restoring

13. Select --> Shutdown

14. Just press --> [ENTER] to all prompted messages

15. Continue to by Pressing --> [Y] to all prompted messages


Upon completion, CloneZilla will auto shutdown the computer, proceed to unplug all external devices and continue to power-on the computer. Windows wizard will automatically setup the computer with OOBE (depending on your captured image).


!!! HAPPY COMPUTING !!!


Jan 7, 2023

RustDesk : Install RustDesk Server in Ubuntu

 Install RustDesk Server in Ubuntu Server v.22.0.4 64-bit.


1. Check UFW is "Enabled" in Ubuntu.

$sudo ufw status


2. Enable UFW if not available.

$sudo apt install ufw -y

$sudo ufw enable


3. Configure default UFW settings.

$sudo ufw default allow outgoing

$sudo ufw default deny incoming


4. Allow SSH connection.

$sudo ufw allow ssh

$sudo ufw allow 22/tcp


5. Allow RustDesk Ports and Protocols.

$sudo ufw allow 21114:21119/tcp

$sudo ufw allow 8000/tcp

$sudo ufw allow 21116/udp

$sudo ufw allow http

$sudo ufw allow https


6. Install RustDesk Server.

$sudo wget https://raw.githubusercontent.com/dinger1986/rustdeskinstall/master/install.sh

$sudo chmod +x install.sh

$sudo ./install.sh


7. When prompted for IP/Domain Name, key-in a FQDN address. (eg. remote.abc.com)


8. When prompted to install Web Server (HTTPD), type "Yes" (if you haven't install Apache2 Server). It will auto install GoHttpd server (recommended).


9. Upon completion, please take note of the "Public Key, Username and Password" displayed on screen, copy it to notepad for future references.


10. Ensure your router also have "Port Forwarding" configured to match the RustDesk's ports as above.


11. At another computer, open any internet browser (eg. Chrome) and browse to http://[your domain]:8000 and you will prompted for username & password to login, use the same username and password save in above steps.


12. After successful login, proceed to download the installer for Windows, its a PowerShell script. After download proceed to run the script (run as admin).


13. Once installation completed, you can open/run the RustDesk Client on your computer.


Note: as of writing, the "Address Book" function was still under development and there are no timeline available for the release, thus the "Login" function in the "Address Book" module will return an error message.


Edit, 2-Apr-2023: Added Video.





!!! HAPPY COMPUTING !!!



Jul 1, 2019

Ransomware : HORON (Recovering Encrypted Files)

Last week, a friend of a friend was very unlucky and got infected with Ransomware "HORON", all his files was encrypted or held ransom. He have asked his friend to assist but he only managed to clear the virus but not recovering his files, he also tried sending it to the nearest computer shop for help but they also can't assist further.

Lastly he seeks help from his friend and this friend so happens to knows me, well at first they did not told me it was ransomware, he told some kind of virus only. So I was like why there are no anti-virus installed in the first place ?

It seems that he's not very familiar on the terms of computer, all he knows is using it.... Duh!...

After some studies and checking on the ransomware, it was infected with "HORON" which it encrypts all the files such as Word, Excel, PDF, JPG, BMP etc. It will leave behind a text file demanding for ransom "_readme.txt" in each of the infected folders.

So I did some searching and studies on the internet and this ransomware is kinda old and was a known infections, luckily someone took the efforts to developed a tool to decrypt it ... bravo guys !!!

NOTE : I do not take credits on this, as the tools was not created by me, I just summarized the steps on recovering the files and removing the ransomware entirely.


1. On the infected computer, boot Windows into "Safe Mode". This can be done in 2 ways :

     a) Boot the computer normally, then search for "msconfig", goto "Boot" tab and enabled "Safe boot" option with "Minimal" setting. Save and restart the computer.

     b) During the POST screen (before the Windows loading screen), press [F8] key repeatedly to invoke the boot selection. Select "Start Windows in Safe Mode" option (the words may not be exact depending on which Windows you are running on).

2. Once boot-up, open Control Panel --> Folder Options. Under "View" tab, enabled "Show hidden files, folders and drive" option.

3. Now browse to --> C:\Windows\System32\drivers\etc folder and look for a file named "hosts", edit the file using "Notepad". Ensure there are no DNS entry in the file, if it exist just delete all entries and save the file.

Example of an empty "hosts" file should look like :

4. Next is to ensure there are not program started automatically, goto --> C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp folder, delete all applications in the folder just to be sure.

5. Next is to ensure there are no entry in the registry, open "regedit" and browse to the following entry :

     a) HKEY_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Run --> Remove all entries just to be sure or if you know that is the drivers loading then leave as those entries as is, only remove entries that are suspicious or in doubt.

     b) HKEY_Current_User\Software\Microsoft\Windows\CurrentVersion\Run --> Do the same as above.

     c) Then search for "%temp%" folder, remove all entries also.

6. Once done, you can open back "msconfig" and disabled the "Safe Boot" option or if you press [F8] key then just simply restart the computer normally.


7. On a good/clean computer, download the following tools from the link below (note that some anti-virus may report these tools as virus and may blocked it from downloading, thus you need to temporarily disabled your anti-virus program before doing so).

     a) Download FileLocater Lite (aka AgentRansack), link here. This is an exe file, download and installed it on the infected computer.

     b) Download the "STOPDecrypter" latest version here. This is a zip file, download and extract on the infected computer.

8. Once both the tools is copied/installed on the infected computer, run the "STOPDecrypter" tool (run as admin), select "Yes" when prompted to continue.


9. Next is to select the infected folder by clicking on "Select Directory" button, note that the tool also works with sub-folders, thus only select the root folder. But beware that selecting the entire root folder will results slow response of the computer.


Once the folder is selected, click on the "Decrypt" button to start the process, this may take some times depending on the file sizes and quantity of the files. Some file types takes longer to decrypt such as .MP4 or video files.

As such it is important to decrypt only data files and not programs like .apk or .dbf or similar.

10. As the process only decrypt the files, the existing *.HORON files are still intact, thus if the decrypt is successful, you need to manually delete those files to avoid your HDD space running out. Use the "FileLocator Lite" tool to do this at more easy and convenient way.

     a) Click --> "Folder" icon (next to "Look in" field).
     b) Type --> *.horon (in "File name" field).
     c) Click --> Start button.

Example screenshot of the tool below :

Once the search completed, simply select all the files and press the [DELETE] key, next is to empty the "Recycle Bin" when you confirmed all data files is decrypted successfully.

NOTE : Be careful when doing this step, if you wrongly select the folder you may accidentally delete files that are yet to be decrypted.

11. Once all the files have been decrypted, you may want to transfer (Copy & Paste) to an external HDD or flash drive. Then you may want to reformat & reinstall the computer, just to be sure but this steps is of course optional but highly recommended.

Hope this will help others and do yourself a favour and install at least some kind of anti-virus like Microsoft Defender or better.

!!! HAPPY COMPUTING !!!

Dec 10, 2017

Windows 7/10 - Printer Sharing (A policy enabled on your computer that blocks Windows NT 4.0 kernel drivers)

Recently I've encountered a very weird and odd problems when performing printer sharing in Windows 7/10.

The Windows 10 (aka PC-1) is connected with a new HP LaserJet Pro M402dn via a USB cable, the drivers installed without any problems and sharing was configured with correct credentials and permissions.

Now the problems occurs on a Windows 7 (aka PC-2) which need to use that new printer and since its networked the sharing should have no problems, but there's where I encountered the problems. It kept on prompting the same error message "A policy enabled on your computer that blocks Windows NT 4.0 kernel drivers...."

I was surprised on this error, as there's no policy configured for such blocking on both of the computers. Well, I will just go have a look in the local GPO and there's nothing configured on the kernel thingy.

Well, "Googling" was my next choice and found out that this was a common problems for Windows 7 which are not properly patched. Well doing a full patching will waste my time thus I go for more shorter time workaround which was a very simple steps :-

1. Open --> Services.

2. Browse for --> Print Spooler --> and Stop it.

3. Next, open Windows Explorer and browse to --> C:\Windows\System32\spool\drivers folder.

4. Inside the folder contains 2 folders called "W32x86" and "x64" folders, now you will need to rename both folders to another. I just add a ".old" to them, which end up to "W32x86.old" and "x64.old" folders name.

5. Now, go back to "Services" and START back the "Print Spooler" service.

6. Next is add the shared printer manually, by either creating a "Local Port" (eg. \\[Hostname]\[Printer 's Shared Name]) or by IP Address and manually point it to the correct drivers.

Simple as that and it only takes me 5 minutes.

HAPPY COMPUTING !!!

Dec 3, 2016

Office 2016 - Outlook AutoDiscover.xml

Recently one of my client have upgraded their Microsoft Office from 2013 to 2016 version and have encountered problems in creating an Outlook profile for their new employee(s).

What I have discovered is that Outlook 2016 no longer provide the "Outlook Anywhere" features whereby all Outlook accounts must be connected to Exchange server directly for .ost synchronization thus the feature is no longer available.

According to Microsoft the reason behind the changes is having .ost directly connected to Exchange server is for more stability & reliability... yeah rite. To me it seems more to forcing customers to upgrade their Exchange server for the new functions & features.

Anyway, luckily I am not the first one to encounter this problems any there are many solutions out there, but this is one particular solution that have worked for me.

And here are the steps :-

1. First you will need to create an "autodiscover.xml" file with the following contents. You can do this by using notepad.

<?xml version="1.0" encoding="UTF-8"?>
-<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
-<Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
-<Account>
<AccountType>email</AccountType>
<Action>redirectUrl</Action>
<RedirectUrl>https://autodiscover.[FQDN]/autodiscover/autodiscover.xml</RedirectUrl>
</Account>
</Response>
</Autodiscover>

Note : Change the [FQDN] to your domain name (eg. domain.com or domain.com.my)
 
2. Next is to modify the registry so that Outlook 2016 is aware of the "autodiscover,xml" file and its path.
 
3. Open --> regedit --> Browse to --> HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover.
Note : Create "AutoDiscover" key if not available.
 
4. Create --> String Value = [FQDN].
Note : Change the [FQDN] to your domain name (eg. domain.com or domain.com.my)
 
5. Then modify the value of the "String Value" = [Path to "autodiscover.xml" file], for example (C:\AutoDiscover\autodiscover.xml)
 
6. Below is the example of the registry, you may use this to import the registry but remember to modify it accordingly before importing.

Windows Registry Editor Version 5.00
 
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\outlook\AutoDiscover]
"[FQDN]"="[Path]\\autodiscover.xml"
 
 
7. Now you can open Outlook 2016 and use its wizard to configure user's account accordingly, Outlook should be able to locate your Exchange server now and will prompt for username and password.
 
8. At certain times, Outlook will prompt for username & password twice or thrice or sometimes more (depends whether your Exchange's autodiscover is published correctly or not), and sometimes it may prompt for certificate installations.
 
9. This is normal as your Exchange is trying to authenticate you by using both MAPI & HTTPS protocol and certificate (if any). Thus the multiple prompts for username & password.
 
Some user(s) have claimed that this also works with Office 365 environment, but I have to test it out and unsure of the outcome. But for my customer's environment this just works perfectly.
 
!!! HAPPY COMPUTNG !!!
 

Nov 7, 2016

Windows 7 - Unable to detect USB drives

Recently a colleague requesting my assistance on why the USB flash drives are not detected in the newer notebook model (eg. HP ProBook 640 G2).

It seems that the UEFI/BIOS are able to detect the USB flash drive & recognized it correctly... it was able to boot (it was configure to boot earlier into Windows 7) but unable to be detected during the installation wizard and not showing in "diskpart" utility.

Showing up in the "diskpart" utility is the first steps of the configuration they need to perform in order to continue to other steps. And they are in dire needs to have this solve the soonest... I think customer is squeezing their neck.... hehehe.... ;p

After some research & studies, I'm suspecting the USB3.0 drivers was the culprits behind the problems as Windows 7 are not bundled with USB3.0 drivers thus causing such problems. In order for the boot-up process to load the USB3.0 drivers and subsequently during the installations wizards to load the same drivers, I must first modify the "boot.wim" & "install.wim" files respectively.

Luckily, I found an utility to help me with it and thus minimizing my time spend for the solution. It's called "DISM GUI" from CodePlex. This utility is a GUI version for "dism" CLI. Much more easier to work with & easy to understand.

Now let's start the fun :-

1. First you will need a working bootable "Windows 7" USB flash drive (I am not going to write another How-To for this, there is already tons of guides on the internet).

2. Create a temporary working folder (eg. D:\WIM).

3. Create two (2) sub-folders inside D:\WIM, first folder is D:\WIM\USB3 and the second folder is D:\WIM\Mount.

4. Now in your bootable USB flash drive (assuming [G:\] is your USB flash drive), browse to G:\Sources folder and copy both boot.wim & install.wim files to the temporary working folder which is D:\WIM.

(Note : This may take a while, so be patience)

5. Once completed, you will need to download the "DISM GUI" utility from CodePlex, you may find the download link here (https://dismgui.codeplex.com/).

6. Next you also need to download the USB3.0 drivers from your manufacturer (recommended) or you can also use a generic drivers from Intel (only for Intel's chip). The download link is here (https://downloadcenter.intel.com/download/25476/Windows-7-USB-3-0-Creator-Utility)

(Note : For the sake of easy download, I have packaged all the required downloads here)

(Note : It is always recommended to download the correct USB3.0 drivers from your manufacturer if its not Intel chip).

7. After you have download the Intel drivers, extract the files and copy only the USB_Drivers\x86 &  USB_Drivers\x64 folders to D:\WIM\USB3\ location as shown below.



8. Now run the "DISM GUI" utility "as Administrator", a new windows is open as shown below.



9. At the "Mount Control" tab, click on "Choose WIM" button then browse & select "D:\WIM\boot.wim" file as shown below.



10. Next click "Choose Folder" button and select the mount point to "D:\WIM\Mount" folder. And then click "Mount WIM" button, this may take a while.



11. Once mounted, browse to "Driver Management" tab, then click "Choose Driver Folder" and select "D:\WIM\USB3" folder only. Ensure that both "Force Unsigned" and "Recurse" option is selected, next click "Add Drivers" button to continue, please wait for it to complete.



12. Go back to "Mount Control" tab, click on the "Dismount WIM" button, when prompted to commit changes, just click "Yes" button and wait for it to complete.



13. Now exit the "DISM GUI" utility.

14. Now copy the newly created "D:\WIM\boot.wim" file back to your USB flash drive and replacing the original file (G:\Sources\*.*).

15. Now repeat the same steps from #8 onwards for "D:\WIM\install.wim" file but this time you need to ensure that the correct "Index" is selected.

If you are not sure, click "Display WIM Info" button to show the correct index. This is steps is critical should the ISO image you used to create the bootable flash drives contains other editions of Windows 7 (such as Home, Professional, Enterprise, Ultimate).

Thus selecting the correct "Index" also ensure you are selecting the correct edition to load the USB3.0 drivers into it.



16. You will need to repeat this steps for each edition you want it to have the USB3.0 drivers. Else you just need to only perform this once for the edition of your choice.

17. Once you have commit the changes & unmounts, copy the "D:\WIM\install.wim" file back to your USB flash drive and replacing the original file "G:\Sources\*.*" and once completed you may eject the USB flash drive.

18. At the new computer (laptop in my case), you need to ensure the UEFI/BIOS is configured to be able to boot from USB flash drive. Once booted up via the USB flash drive, you should now be able to use "diskpart" utility and able to detect the USB flash drive itself correctly.

19. Below is the picture taken before the modification, you can see clearly that the USB flash drive is not detected in "diskpart" utility.



20. Below picture taken is after the modification, where I have added the USB3.0 drivers to both "boot.wim" and "install.wim" files. Here "diskpart" utility detected the USB flash drive correctly and indicated by the assigned [G:\] drive letter.


I hope this will help others as well and thanks for reading.

!!! HAPPY COMPUTING !!!

Jan 7, 2016

Windows 7 - Photo Viewer Slideshow

Did you know that your Windows 7 own Photo Viewer utility can run "slideshow" on all the photos that reside there ?

Quite simple and easy, just double-click on any of the photo to start the Photo Viewer first, then press [F11] key to start the slideshow function.

If you have a secondary monitor (like me) then you might want to run the slideshow on a secondary monitor instead while you can still continue work on your main monitor. Here's how :-

1. Start --> Photo Viewer.
2. Press [F11] key to start the slideshow.
3. Press [Windows] + [SHIFT] + [Arrow] key (the arrow keys depends on your monitor's location which is either left, right or even top).
4. Press [Windows] key again to activate your main monitor screen.

Isn't that cool ?

Happy Computing !!!

Dec 23, 2015

Windows 7 - MiniTool Partition Wizard

Have you ever encounter a stubborn SD card or USB flash drive that you just cannot remove the partition(s) ?

Well this happens to me when I was creating a bootable USB flash drive for Chromium OS, after the installation and I need to re-use the flash drive, it just doesn't work.

To my surprise that Chromium OS required at least 8 partitions to be created in the USB flash drive and I have no way to recover those partitions by using "diskpart" command, let alone the partition manager GUI in Windows 7.

I come across a forum recommending such utility, so I share with you guys.

You can download the free version from MiniTool website, at time of writing the latest version is Partition Wizard Free Edition v.9.1

1. Download the utility (link shown above).

2. Install and run the utility, a start-up splash screen will be displayed, just select the "Launch Application" option.



3. Once the utility have started you will be presented the main screen as shown below. It will have some similarities to Windows's own partition manager GUI.



4. Select the correct USB flash drive or SD card drive. Please be very careful not to select your local hard drive as this utility doesn't differentiate it.



5. Right-click the drive, a list of many options is displayed.


6. For my case I've selected "Wipe Partition" option.



7. There's a few sub-option available, mine was to "clean" the entire USB flash drive so I can re-use it for other purposes. I've selected "Fill Sectors with Zero (Quick)" option. Now you do understand the terms "Zero Fill" right ? If not, please google it for more information.



8. Now you need to click "Apply" button for it to start making the changes.



9. Please be patience while waiting for it to complete, as my USB flash drive is a 32GB capacity it took me for more than 1 hour to complete the tasks.

10. Once completed, you need to re-create back the partition(s) else the drive will not work, well it's entirely up to you of how many partitions you wanted to create, but to make it simple for me I just need a single partition.

11. Well I think I do not need to show you any more screenshots on how to create a partition, you can do this by using the same utility or by using Windows's own partition manager. Explore yourself on the available functions but WARNED, all data will be lost in the USB flash drive so proper backup is required before you perform any testing on this utility.


HAPPY COMPUTING !!!

MERRY CHRISTMAS AND HAPPY NEW YEAR !!!

Oct 20, 2015

Windows 7 - WSUS Offline Updater

Recently there's been several request from end users requesting for Windows Update/Patches, it's not a problem doing the updates..... the problems arises where you have to click every computers to run the updates and its a repetitive tasks.

Also every computers is downloading the same updates over and over again, it was a bandwidth waste. So there must be much more simpler way in doing this (beside using Microsoft Windows Server Update Services or commonly know as WSUS).

I found a few alternatives available in the internet, this is the one that I preferred due to the following reasons :-

  1. Auto download catalogue of update list.
  2. Auto download updates (as per your selections).
  3. Options to download others updates (such as .NET Framework).
  4. And able to perform single click installation on clients.
  5. No installation required both on the servers & clients (portable software).
Now a few screenshots below shows a few of the many selections available. You may download this software here.


 
 
Oh by the way... did I mentioned this is FREE ? And if you find it useful, some donation to the developer will help to continue his efforts.
 
Happy Computing ! :)
 
 

Sep 28, 2015

Windows 7 - Disabled UAC Warning in Registry

There might some times where you wanted to disabled the annoying UAC warning, its very simple relatively :-

1. Run --> regedit.

2. Browse --> HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System

3. Look for --> EnableLUA --> Right-click and select --> Modify option.

4. Change the value --> 0 {zero} --> Click --> OK.

5, Restart the computer.

That's simple right ? :)

Sep 27, 2015

Windows 7 - Disabled Windows 10 Upgrade Tray Notification

Yes, Windows 10 is now available for upgrade to those computer with eligible hardware and licenses, but what if I don't want to upgrade ?


Doesn't the annoying notification in the system tray bother you ? Well to me yes, I find it very distracting and after some search in Microsoft website, they have recommended to uninstall "Update for Microsoft Windows (KB3035583)".

Just follow the below steps :-

1. Press --> CTRL + ALT + DELETE.

2. This will open the "Task Manager" windows, now select GWX.exe and --> End Process.



3. Now the "Windows 10 Upgrade Notification" icon is remove from the system tray, but this is not permanent yet, to make it permanent you must uninstall the update.

4. Goto --> Control Panel --> Programs and Features --> View installed updates --> Update for Microsoft Windows (KB3035583) --> Uninstall.


Alternative method to uninstall this update via the command line, run --> CMD (as Administrator) --> wusa /uninstall /KB:3035583 --> [ENTER].


5. After the uninstall process completed, just restart the computer. Now once restarted, browse to --> C:\Windows\System32\GWX folder.

If the folder exist, just delete the entire folder.


6. Now the notification will no longer shown in the system tray, but wait here's the catch to ensure that "Windows Update" do not update it again, you must "Hide" this update.

That's all now and Happy Computing ! :)

Sep 26, 2015

Windows 7 - Printer Port Redirection

Recently a friend of mine requested some help. He is facing some problems where the new computer he bought only have USB ports available but his existing printer is using LPT port.

In this the kind of scenario, commonly people will tends to get a USB-LPT converter available in any computer shop. And does him, which he went to Plaza Low Yat to buy that particular converter.

Now the connection problems is now solved, how about installing it ?

It just happens that the printer he wanted to use is Epson TM-U210, it's a dot matrix receipt printer type that are commonly used in P.O.S. (Point Of Sales System), so he did some downloads of the drivers in Epson's website and to his surprise Windows kept on displaying an error message stating

"There are no compatible drivers available or the path is incorrect......"

So this where I comes in, remoting to the said computer via TeamViewer (I was at work that time) and force the printer to be installed as "Generic/Text Only" printer. Tested the print test page and it works just fine, even printing from a notepad also works.

But here is another catch, the software or P.O.S. system his company is using only supports LPT1, Com1 type of connection (pretty old), so I've paused for a while trying to search my mind how to solve this problems and voila !

Follow the below steps :-

  1. Ensure the printer's driver is installed, either use "Generic/Text Only" or use manufacturer's provided drivers.
  2. Share the printer, use a short common name (eg. "Receipt").
  3. Run --> Command Prompt with elevated privilege.
  4. Type --> NET USE LPT1 \\[PC Name]\[Printer's Share Name] /PERSISTENT:YES
  5. Now the printer should be printing like normal.
Example : C:\>NET USE LPT1 \\MyPC\MyReceipt /PERSISTENT:YES

What it does is by telling Windows to accept all incoming connections for LPT1 port and redirect it to the network path with auto-reconnect enabled. In this case its a loop back network path (to itself).

Just a simple and brilliant workaround. :)

May 26, 2015

Windows 7 - Enable USB Storage

If you ever encounter where your USB flash drive are suddenly inaccessible, this maybe due to conflicted GPO.

It's simple and easy to enable back the access :-

1. Go to START --> Run.

2. Type --> gpedit.msc.

3. Browse to --> Computer Configuration --> Administrative Templates --> System --> Removable Storage Access.

4. Search for "Removable Disks: Deny execute access" policy = Disabled.

5. "Removable Disks: Deny read access" policy = Disabled.

6. "Removable Disks: Deny write access" policy = Disabled.

7. "All Removable Storage classes: Deny all access" policy = Disabled.

8. Once done, close the policy editor then run command prompt (cmd).

9. Type --> gpupdate /force.

10. Now plugin back the USB flash drive and it should be all working.