0

Tips & Tricks : Issue with SmartCode VNC Manager License

-

Sometimes i thappens that SmartConde VNC Manager fails to activate. In that case follow steps below to fix issue with licensing:

  1. Open cmd.exe and change directory to:
    • Enterprise Edition: C:\Program Files\SmartCode Solutions\VNC Manager (Enterprise Edition)\
    • Standard Edition: C:\Program Files\SmartCode Solutions\VNC Manager (Standard Edition)\
  2. Run the following command: vncmanager.exe /licdev
  3. You will be prompted to enter a serial number. You must complete this step. After that the application will close.
  4. Start SmartCode VNC Manager normally via the start menu shortcut.

Source: SmartCode Knowledgebase

0

Tips & Tricks : How to add .NET Framework 3.51 to Windows 8 or Windows Server 2012

-

Unfortunately there is a problem when you try to add .Net Framework 3.51 to Windows Server 2012 using Server Manager. In order to fix that issue and get .Net Framework 3.51 installed (which is required by majority of applications and servers) issue following command from Command Prompt:

dism /online /enable-feature /all /featurename:NetFX3 /source:x:\sources\sxs

Please notice that x: in source parameter has to be replaced with appropriate drive letter for DVD with Windows Server 2012 installation files.

0

Config snippets : useful Netdom command

-

Quick side note, not to forget for future.

Rename computer

Netdom renamecomputer %computername% /newname:Test-Server

Join computer to domain

Netdom join %computername% /domain:domain.com /UserD:Administrator /PasswordD:*
0

Tips & Tricks : Introduction to Laravel : Free coding tools

-

In previous articles:

we created and published web project.

Now it’s time to try to do some development and modify out-of-the-box project to create our own application.

Question is what tools should we use to start code development.

You might want to have a look at two available for free:

Sublime Text

Download from: http://www.sublimetext.com

Sublime Text

Visual Studio Code

Download from: http://code.visualstudio.com

Visual Studio Code


Both apps can highlight syntax for PHP-based code, so both can be used for development purposes with Laravel web application.

Check them and decide which one will be better fit for you.

8

How-to : Using WebSVN as RANCID repository access tool

-

In previous articles in the RANCID series I described:

So, we have RANCID collecting configuration from network devices to repository with version control. Only question is how to get access and make use of information collected there.

In this part of RANCID stories I will show how to install and configure WebSVN to access RANCID repository via web browser.

(more…)

0

Code snippets : Execute SQL script using PowerShell

-

Recently I went through requirement of running SQL scripts on multiple databases on different servers. As the list of databases was different from script to script I decided to create universal solution, which will allow to easily prepare for deployment and can be simply reused at any time.

As a platform to execute scripts I went with PowerShell as that provides flexibility in case additional functionality will be required.

Whole solution contains 3 files:

  • SqlExecutionInflow.csv – file contains list of databases and servers where particular database is located. It is simple CSV file with 2 columns
  • SqlExecQuery.sql – contains SQL script which will be executed against all databases listed in SqlExecutionInflow.csv
  • SqlExec.ps1 – main script which load SqlExecInflow.csv and executes query from SqlExecQuery.sql

All files have to be placed in same folder. As a result script will create transcript file with output from all executed commands.

And here are example files and script itself…

(more…)

0

Tips & Tricks : Windows 10 & Windows Server 2016 reset on VMware ESX 6

-

Here is one from friend of mine, very skilled Senior IT Engineer, Tomasz Jagiello. Some bugs he identified while working with VMware ESX 6.

Symptoms

VM running Windows 10 (x64) as the Guest OS is automatically reset after some hours (roughly a day). Reoccurs daily.

The thread said it also applied to Windows Server 2016 VMs.

There is an unrecoverable error that cause the VMkernel to shut down / restart / crash the virtual machine.

VMware ESX unrecoverable error: (vcpu-0) NOT_REACHED bora/devices/ahci/ahci_user.c:1530

Check if you’re using a para-virtual SATA adapter in the settings of the VM.

 

Cause

There is a VMware bug where if the SATA adapter receives SMART communications on a non-SMART device the CPU bus locks up and ESX reboots the VM.

I was using SCSI for the VM disks and SATA for the VM CD-ROM.

 

Workaround

  1. Edit VM Hardware settings
    • Remove CD/ROM
    • OK
  2. Edit VM Hardware settings
    • Remove SATA Controller
    • OK
  3. Edit VM Hardware settings
    • Add CD/ROM
    • Change to IDE
    • Remove SATA Controller
    • OK
0

Tips & Tricks : Windows 8.1 as wireless hotspot

-

When you need to use your computer as wireless hotspot, you can easily enable that functionality with PowerShell:

Windows PowerShell
Copyright (C) 2013 Microsoft Corporation. All rights reserved.

PS C:\windows\system32> netsh wlan set hostednetwork mode=allow ssid=Windows-Wireless-Hotspot key=password123
The hosted network mode has been set to allow.
The SSID of the hosted network has been successfully changed.
The user key passphrase of the hosted network has been successfully changed.

PS C:\windows\system32> netsh wlan start hostednetwork
The hosted network started.

PS C:\windows\system32>
0

Games : Screenshots : Skyrim Blackreach Sun

-

0

Apps : Get-Console : When iPad meets Cisco

-

Despite all reservations to iPad as a device which might be useful in day-to-day IT Pro activities (was thinking about it more as a toy than tool) I found it really handy after some time. One of main reasons I found iPad cool IT tool was ability to connect to Cisco console port and configure Cisco devices.

Yes, it is possible to have Cisco console cable which connect to iPad and application which allows to configure Cisco via Console from iPad 🙂

(more…)