Mar 06

Trying to mount a windows share into Ubuntu 16.04 LTS.  I could run the following command just fine:

sudo mount -t cifs -o domain=workgroupname,username=myname,password=mypassword // /media/music

But of course would lose the map on reboot.  So install “sudo apt-get install cifs-utils” and then Everytime I tried to add to fstab and “sudo mount -a” I would get the mount error(13) permission denied.

What fixed it was changing the sec on my command to “ntlmsspi”.  Hope this helps someone else.  So my command in fstab (/etc/fstab) is

// /media/music cifs username=myname,domain=workgroupname,password=mypassword,
iocharset=utf8,sec=ntlmsspi 0 0

Now that you have this working you need to create a .smbcredentials file in the /root directory to contain and hide my credentials,

Enter your Windows username and password in the file:


“sudo chmod 700” that file.  and change the fstab line command to :

// /media/music cifs credentials=/root/.smbcredentials,iocharset=utf8,sec=ntlmsspi 0 0

Jan 18

I won’t get into the security implications of doing this, but just the 2 methods I have found to get it done.  My use case was a simple single digital sign that no one had physical access to, and popped this up on every scheduled or unscheduled reboot.

  1. If you don’t mind entering a password on boot, then go to User Accounts and set “automatic login” to off.
  2. If you want it to auto login and still not ask for the login keyring (again forgoing the security lecture), go into your “Startup Programs” and uncheck the Keyrings from starting.


Jun 09
  1. Boot with Knoppix live disk or usb
  2. Open a terminal window in Knoppix
  3. Type “sudo sfdisk -l” to see what your disk (that you want to wipe) is mounted as (example – sda1)
  4. Type “sudo shred -vfz -n 100 /dev/sda1” – IMPORTANT – Substitute the disk name learned from above command.  Note that the 100 is the number of passes (and can be changed)
Jul 09

After much searching, finally figured out that this was due to a leading space on one of the column headers.

Mar 31



Moving a folder: This folder is shared with other people. If you move this folder, it will no longer be shared.

You get this message everytime you move a folder within a shared folder to another location.


The only work-around that I have found is to
1) cut  the folder you want to move
2) paste it into the recycle bin
3) cut out of the recycle bin and paste where you want it to go.

This will eliminate the annoying message.



Jan 07
  1. Make a folder in your main account’s Drive an name it whatever you want (I use <account> Drive)
  2. On your other Drive account, share you folder or folders with your main account with permission of “Can edit”
  3. Back in your main account, go to the “Shared with me” section and drag the shared folder(s) from your other account int the folder you made in step 1

That’s it, now you can access other accounts in Drive from the one account.

Jul 24

You need to get the specialized ESXi image from HP (well, provided to VMware by HP).  I found it here:

Jan 17

I have a older program who’s backup process is a bit flaky.   And there is no notification to me on whether it actually backed up or not.   Then I ran across this little program called Blat (, and it gave me an idea.  I now have a script that runs after the scheduled backup window (via Task Scheduler) to check to see if the file is actually in the backup folder and if not, to email me.

Here is the script:

If exist “\\server\share$\backups\*.zip” goto Worked
: DidNotWork
<path to blat>\blat.exe – -body “Backup did not work!!!” -to <email> -server <emailserver>-f <from email address> -subject “Backup did not work!!!”

Just change the items in the bracket <> and the subject and body (if you want to).

Jan 11

First you will need the Template Files.  They can be downloaded here:
(If you are not familiar with how to install ADM/ADMX files in Active Directory, see this guide.)

Once you have installed the template, go to Computer Configuration \ Policies \ Administrative Templates \ Classic… \ Google \ Google  Chrome and enable “Configure the list of force-installed extensions”:



And Click the “Show…” button:

And fill in the Value with the ID of the extension followed by the update url.  (The extension ID is the 32-letter string found e.g. on chrome://extensions when in developer mode.)

Example: gighmmpiobklfepjocnamgkkbiglidom;



Find ID in Chrome:

Jan 11

If you already run AdBlock, then when you run Spiceworks you are left with a blank space on the right of the screen. Run this userscript (chrome users) to remove that blank area!

Hat tip to (