Search This Blog

Saturday, December 18, 2021

Steps to create Rescue ISO using Macrium Reflect Free edition

 

Steps to create Rescue ISO

  • Click Rescue

  • Follow prompts to select ISO

  • Click build

  • After completed, file is c:\MacriumRescue.iso

  • I copied this file to NAS as a backup.

Macrium reflect - Useful free backup /restore / clone tool

Recently, I had a external HDD fail at the house and data was lost so I am taking another stab at actually trying to maintain backups. 

Here is what I recommend:
  • Find free software to perform the backup / restore /clone / image.
    • I have bought software in the past it always seems like wasted money.
    • I selected Macrium Reflect Free
  • I decided to clone (instead of backup) to a HDD in a external USB cradle.
    • Why? I am finding external USB hard drives suck and are too expensive for what they are.
    • Buy an internal HDD and use a USB HDD cradle like this:


  • Steps to clone using 
  • Registered  Macrium reflect - Free version

  • Received code in email

  • Installed software and applied code 



  • Used HDD in USB cradle and connected to machine

  • Started Macrium reflect - Free version

  • Click clone this drive:

  • Select a disk to clone to

  • Select HDD in USB cradle

  • Follow next select prompts, select to overwrite volume data

  • After process is completed, (for me machine it was ~45 min 1 TB drive over USB3 port), reboot the computer and force it to boot from USB drive. Booting the computer will be much slower but you will know for certain in your cloning task was successful without actually swapping drives.

  • Now, I know I have functional clone on a HDD and to recover this machine all I need to do is swap drives.





Monday, April 13, 2020

.netFramework Version checker for NSIS

https://github.com/ReVolly/NsisDotNetChecker

All Users

  1. Copy DotNetChecker.dll to NSIS plugins directory (usually C:\Program Files\Nsis\Plugins\ or C:\Program Files (x86)\Nsis\Plugins\x86-ansi)
  2. Copy DotNetChecker.nsh to NSIS Include directory C:\Program Files (x86)\NSIS\Include
  3. Add to your installer project DotNetChecker.nsh file
  4. Reference DotNetChecker.nsh in your main NSI file like this: !include "DotNetChecker.nsh"
  5. Insert macros with the version of required .NET framework.

Local

  1. Copy the whole project in to the same folder as your NSIS Script.
  2. Refrence the Plugin DLL like this: !addplugindir "NsisDotNetChecker\bin"
  3. Reference DotNetChecker.nsh in your main NSI file like this: !include "NsisDotNetChecker\nsis\DotNetChecker.nsh"

In script

  1.  Added !include DotNetChecker.nsh at the top of the script.
  2.  Added this line into installer section:   
  3. !insertmacro CheckNetFramework 10 - checks for .netframework 1.0
  4. !insertmacro CheckNetFramework 461 - checks for .netframework 4.61
  5. !insertmacro CheckNetFramework 472 - checks for .netframework 4.72
  6. !insertmacro CheckNetFramework 40Client - checks for .netframework 4.0 client
  7. !insertmacro CheckNetFramework 40Full - checks for .netframework 4.0 Full

Thursday, April 2, 2020

Resolve: Referenced account is currently locked out and may not be logged into



Published on Jan 27, 2018
  1. Press Windows Key + R and type secpol.msc in Run dialog box and click OK.
  2. Go to Security Settings - Account Policies - Account Lockout Policy.
  3. Double-click on Account lockout threshold policy.
  4. set the preset value to 0. Click OK. 
  5. Reboot.
Jan 27, 2018

Friday, March 27, 2020

Trying my hand at Mint Linux

Mint Linux 19.3



Recently, I converted an older Windows 10 workstation that had become crippled under the weight of the OS to Mint Linux 19.3.  Installing the OS was pretty straightward:
 - Download 64bit Mint Linux OS installer to a bootable USB stick
 - Rebooted the computer and set USB stick as a bootable option
 - Rebooted and followed steps in the installer.
 - Rebooted again w/o usb stick and I'm running Linux.  Now what?



Downloaded and installed Plex Media Server.

Had to mount NAS file shares so Plex server access them.
This was abit tricky.
 - Had to edit /etc/fstab file.  Must do this as admin or root
 - Open command prompt: sudo xed /etc/fstab
- This command opens XED text editor in root mode to allow file to edited.
After much research, I found this command allow my Zyxel NAS 326 video share to be mapped to the workstation.



NOTE: I used this pattern:

Created a local folder /home/gary/Shares/FileShare (in linux)
Mapped   //192.168.0.31/public  =>   /home/gary/Shares/FileShar
//192.168.0.31/public
username={{username}},password={{password}},iocharset=utf8,sec=ntlm  0  0


//NAS326-10TB.local/video /home/garykindel/Media/video cifs credentials=/home/garykindel/Media/plex.cred,guest,rw,uid=1000,gid=1000,x-systemd.automount,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0


//NAS326-10TB.local/video = UNC path of NAS share

home/garykindel/Media/video - location where share will be mounted to.

cifs - protocal to access share

credentials=/home/garykindel/Media/plex.cred - points to text file comtaining username=? and password=?

Rest of the parameters found by trial and error needed.  Lines ends in a 0

IMPORTANT NO OTHER SPACES IN LINE IS ALLOWABLE!

Again in the command prompt, to load allow configured shares:
cmd:> sudo mount -all