Wednesday, October 24, 2018

You install Office Updates and Office Volume License tells you it isn't activated.

You install Office Updates (namely KB3141505, KB3128055, KB3127907 or KB3118330)  and Office Volume License tells you it isn't activated.

Go to the command prompt, run as administrator.
CD \Program Files (x86)\Microsoft Office\Office16 or the equivalent.
Type- cscript ospp.vbs /dstatus
Grab the "Last 5 Characters of installed product key:" for each product has an error errorse)
Type- cscript ospp.vbs /unpkey: and the last 5 of the product key.

Thursday, March 8, 2018

VMware VCSA 6.0 Won't Boot, password is expired and out of disk space

You decide to reboot your VMware VCSA 6.0 and discover it won't start.  Further, you can't log into it.  A fun easter egg VMware built in is that the root password expires after 90 days and log files tend to fill up the server.

To reset the root password-
Boot FULLY into the vcenter appliance.  It will take like 45 minutes.
Reboot, when the GRUB Menu comes up hit Space.  Then hit "P", the password is either your root password or "vmware".
Make sure "kernel" is highlighted, press "e".
Add a space at the end and add "init=/bin/bash", press "b" to boot.
To clear the password history, type echo "" > /etc/security/opasswd
Use the same root password as before so the database starts, to change the root password, type passwd root
To mount the file system, type mount
Type df to check the dispace, if it is at 100% do the following-
cd /var/log/audit
rm -rf auto.log.*
unmount /
mkfifo /dev/initct fi
reboot -f

Unable to backup workgroup servers with Veeam

You are attempting to back up workgroup servers with veeam with application aware processing, however Veeam fails not being able to access the ADMIN$ share.

To disable UAC remote restrictions, follow these steps:    

 - Click Start, click Run, type regedit, and then press ENTER.
 - Navigate to the following registry subkey: 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
 - Create a new DWORD 32-Bit Value called LocalAccountTokenFilterPolicy
 - Set the value to 1.




In my experience, you do not have to reboot.

Wednesday, January 3, 2018

Best Software to Recover Deleted Files on a Workstation

These are the programs I've had the best luck with-

Stellar Phoenix is great, but they are very proud of it $$$$$$ (Their Exchange recovery tools are good as well!)
EaseUS
Recuvah
Wondershare Data Recovery

Wednesday, November 15, 2017

How to prevent an RDS (Terminal Services) Server from prompting you for credentials before logging in.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\SecurityLayer value from 1 to 0 does indeed allow the user to change their expired password on Windows Server 2012 R2. I also found that, as an alternative, leaving the SecurityLayer value set to 1 but changing the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\MinEncryptionLevel value from 3 or 2 to 1 also allows the user to change their expired password.

Wednesday, October 18, 2017

How to mount a VMDK in Linux Mint / Ubuntu

This took way too much googleing.  This is what worked-

sudo su
losetup /dev/loop0 <vmdk file>
kpartx -av /dev/loop0
mkdir /mnt/vmdk
mount /dev/mapper/loop0p1 /mnt/vmdk

If loop0 comes back as busy, use another one like loop5.

Thursday, August 3, 2017

How to configure Exchange 2013 to Rest the Out of Office to send an email every day instead of once-

Here is how you set up Exchange 2013 to send an Out of Office Response Daily instead of just once-

1) Create a folder on your Exchange server.  For Example, C:\ExchangeOOOReset.

2) Open Notepad and enter the following-
$enabled = get-mailbox -resultsize unlimited |get-mailboxautoreplyconfiguration | where {$_.autoreplystate -eq "enabled"} | select identity,autoreplystate

$enabled | foreach-object {
 set-mailboxautoreplyconfiguration $_.identity -autoreplystate "Disabled"
 set-mailboxautoreplyconfiguration $_.identity  -autoreplystate $_.autoreplystate
 }

3) Save the file as OOOReset.ps1, save it in C:\ExchangeOOOReset.  Make sure you select "All Files" so it doesn't add .txt to the files.

4) Open Task Scheduler, click Create Basic Task.

5) Name it, ExchangeOOO, click Next, Next, select the time of day it should reset, Next, Start a Program.

6) Under Program/Script-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

7) Under Add Arguements-
-NonInteractive -WindowStyle Hidden -command ". 'C:\Program Files\Microsoft\Exchange Server\V15\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto; C:\ExchangeOOReset\oooreset.ps1"

That's it!