Helping you with things I've found that should just work but don't. I hold several certifications from Cisco, VMware, and Microsoft.
Thursday, June 10, 2021
How to Enable or Disable the News and Interests Taskbar Windows 10
Monday, November 09, 2020
Disk Management and Explorer Show Different Drive Size
I ran into this issue today when trying to extend out the drive size on a data drive on our primary file server. After expanding the virtual disk in VMware, I brought up computer management (compmgmt.exe if you want to go command line quicker).
I expanded out the disk and immediately noticed that explorer didn't reflect that change after a refresh. Also, disk management could no longer access the disk to make any edits. I restarted the virtual disk service with no success. A restart also proved futile.
MAKE A BACKUP BEFORE RUNNING THESE COMMANDS!
After some quick research, here is the fix. Use DISKPART from an elevated command prompt. Just follow the commands below and choose the proper disk on your VM. After running the command, a quick refresh of explorer now shows the correct size.
Good luck!
Tuesday, October 13, 2020
vCenter 6.7 Resizing Disk Fails Invalid Operation for Device 0
This one has been around for some time but now due to the data drive on my Exchange server getting closer and closer to full, I had to find a fix and here it is. So simple and yet so hard to find on the web.
Checking the D: drive on the Exchange server showed the disk had a size of 150.254450347GB. This disk had been restored from Datto at some point in the past and since that date this was the size showing.
Whenever attempting to expand the drive vCenter thew this error: Invalid operation for device '0'.
I tried different sizes from adding just a few gigs to going all the way up to 200GB but getting the same error.
Ready for the fix? You won't believe how easy it was.
1. Log into vCenter using the flex (Flash) client instead of the HTML 5 client.
2. Resize your disk successfully.
THAT'S IT!! Can you believe it? After all of these articles I read about changing the parameters on the VMX file, cloning the server, etc. etc. it turned out to be the behavior of the HTML 5 client. Let's hope VMware fixes this in the next versions of vCenter before they fully remove the Flash functionality.
Good luck!
Tuesday, September 08, 2020
Fix Cisco ASDM Windows 10 Error "This app can't run on your PC"
Seems that Microsoft has done some switching of how the Windows Scripting Host path is found.
This is a simple fix.
1. Install ASDM as you normally would
2. Right click on the shortcut.
3. In the "Target" line you will see a very long path to wscript.exe. Simply change this path to C:\Windows\System32\wscript.exe (leave the invisible.vbs run.bat on the end as these scripts are used to open ASDM).
4. Apply the change.
After doing this I was able to open ASDM normally and use it to update ASDM and AnyConnect files on my ASA.
Good luck!
Tuesday, June 09, 2020
Exchange Logging: Clear out the log files
Good luck.
Set-Executionpolicy RemoteSigned $days=2 $IISLogPath="C:\inetpub\logs\LogFiles\" $ExchangeLoggingPath="C:\Program Files\Microsoft\Exchange Server\V15\Logging\" $ETLLoggingPath="C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\Diagnostics\ETLTraces\" $ETLLoggingPath2="C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\Diagnostics\Logs" Function CleanLogfiles($TargetFolder) { if (Test-Path $TargetFolder) { $Now = Get-Date $LastWrite = $Now.AddDays(-$days) $Files = Get-ChildItem $TargetFolder -Include *.log,*.blg, *.etl, *.txt -Recurse | Where {$_.LastWriteTime -le "$LastWrite"} foreach ($File in $Files) {Write-Host "Deleting file $File" -ForegroundColor "white"; Remove-Item $File -ErrorAction SilentlyContinue | out-null} } Else { Write-Host "The folder $TargetFolder doesn't exist! Check the folder path!" -ForegroundColor "white" } } CleanLogfiles($IISLogPath) CleanLogfiles($ExchangeLoggingPath) CleanLogfiles($ETLLoggingPath) CleanLogfiles($ETLLoggingPath2)
