June 15 2017

Syncing OneDrive folder located across multiple disk drives

OneDrive doesn’t have the option to select folders from multiple disk drives – this wasn’t a problem for other online storage/synchronization tools that I have used previously, however OneDrive wants you to simply selection one “root” folder and it will only included files/folders beneath that.

I have a scenario where I have a 100GB SSD disk for frequently accessed files and a 1TB slower SATA disk for photos and archives. I have files and folders in both drives that I want to be synchronized to the OneDrive “Cloud”.

So to do this I needed to use the Windows command line tool MKLINK to create a symbolic link.

C:\Users\danovich\OneDrive\         <——- “Root” OneDrive folder, located on the 100GB SSD drive
D:\Data\Photos\         <——- Photos folder, located on the 1TB SATA drive, containing 500GB of photos I want to be sync’d into OneDrive

Open a command prompt with admin privledges and type:

mklink /d "C:\Users\Dan\OneDrive\Photos" "D:\Data\Photos"

You’ll get a success message:

symbolic link created for C:\Users\Dan\OneDrive\Photos <<===>> D:\Data\Photos

Data will now be syncing with OneDrive and the “Photos” symbolic link, essentially a shortcut, will appear in the OneDrive folder:

June 14 2017

Create certificate from CSR on a Microsoft Certificate Authority using command line

Do you have a Certificate Signing Request (CSR) from a device with which you need to create a certificate from a Microsoft Windows Certificate Authority?  This is actually pretty straight forward.  On a domain machine, launch a command prompt and save the CSR into a file on that machine (CSR.REQ in the example below).  Then just use the command:

certreq -submit -attrib "CertificateTemplate:WebServer" CSR.req cert.cer

You’ll get a prompt to select the issuing CA you want to use.  Substitute WebServer for whichever template you need to use.  You then have your certificate – cert.cer.



June 12 2017

CISM exam passed

Last week I passed the ISACA Certified Information Security Manager (CISM) exam, and thought I could share some information on the resources I used to study:

  • Two months before the exam, I started to listen to and watch the Cybrary CISM training course videos.  About 8 hours of content all up, these were fantastic to listen to on the train or while driving to work.  Well presented, good coverage of the material and also free – although I did end up making a donation.  Download the app or use the website –  https://www.cybrary.it/course/cism/
  • A month before the exam I attended a 5 days CISM course run by ALC training in Melbourne.  This was a great course and provided online and paper study material that I used for the next month.  https://www.alctraining.com.au/course/cism-certified-information-security-manager/
  • ISACA self assessment test – I used this 50 question test to see where I should concentrate my efforts – http://www.isaca.org/certification/cism-certified-information-security-manager/prepare-for-the-exam/pages/cism-self-assessment.aspx
  • CISM Review Manual 15th Edition – fantastic study guide covering the content in great detail.  Well laid out so you can quickly find sections and terms that you want to focus in on.
  • CISM Review Questions, Answers & Explanations Manual 9th Edition – well worth spending the time to go through some practice questions to prepare yourself for the formatting of the questions.  Again I used this to work out areas I needed to focus on.

All the study in the world doesn’t replace experience, I’d been lucky enough to have been applying most of this content in my day-to-day job already, so I didn’t find the exam too far removed from decisions I’d make on a daily basis.