Skip to main content

Posts

Windows 10 phone: This device has been locked for security reasons. Connect your device to a power source for at least two hours, then restart it to try again.

Hi All, this is my very first post on Windows 10 phone. I have a Windows 10 phone. Today, I saw following error message on phone. It didn’t allow me to unlock my phone using 4 digit pin I had set. The “Emergency calls” was the only option available to me. Error: This device has been locked for security reasons. Connect your device to a power source for at least two hours, then restart it to try again. I tried performing soft reboot but it didn’t fix. After doing a bit of research, I found a solution. Make sure that your phone is connected to Internet during this process. To fix this issue, follow these steps: Launch https://account.microsoft.com/devices on a web browser on another PC/Tablet or a smart phone Login using your Microsoft account (it is the same account you’ve used to configure your phone). Once you’ve logged in, Select your phone. On the next page, click on Lock button. A box will appear asking to enter 6 digit pin , a number where you can be reached (op

Explained: SNR Margin and Loop Attenuation

I would like to share some information about SNR margin and Loop Attenuation values for your ADSL connection. These are very important to determine the performance of the Internet connection. I strongly suggest that you should use this information as guide only. These values may vary for different types of Internet connection such as ADSL, ADSL Max or Fibre connection. SNR (Signal to Noise Ratio) margin measures strength of the DSL signal to Noise ratio. Most of the modem manufactures suggest 6dB is the lowest to able to make Internet connection. The higher the value of SNR margin, better the connection. SNR Value (in dB) Internet connection status 6 or less Bad or may experience no sync or intermittent sync issue 7 – 10 Fair connection 11 – 20 Good connection with no sync issues 20 – 28 Excellent 29 or above Outstanding Loop Attenuation (Loop Att.) measures of how much the signal has degr

Fixed: The remote session was disconnected because there are no remote desktop client access licences available for this computer. Please contact your system administrator.

The easiest way to connect to remote PC is using Remote Desktop Protocol (RDP). Most common application to make a connection to remote PC is Remote Desktop Connection in Windows environment. Sometimes you may get error while trying to make a Remote Desktop connection. Recently, I came across following error message: The remote session was disconnected because there are no remote desktop client access licences available for this computer. Please contact your system administrator. If you’re getting this error message, there are couple of ways to fix it. Option 1: Run Remote Desktop Connection ( mstsc.exe ) application as “ Run as administrator ”. Option 2: Still no luck with Option 1, try following below steps: Note : Please backup registry and make a system restore point before making changes to Registry.           Click on Start . Type Regedit and press Enter key.           In Registry Editor, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensi

Turning on/off Windows firewall on remote PC

While trying to fix one of our user’s IT issue remotely, I had to turn off Windows firewall which was set to Public. Users account does not have appropriate permission to make any changes to the system or run a command prompt. When I tried to make a RDP connection, it failed due to Public firewall is enabled. I tried below Netsh command to turn off firewall on remote PC but it didn’t work. Netsh –r 192.168.1.15 –u admin –p Password –c advfirewall set allprofiles state off Then, I learnt about PsExec command. PsExec is a light-weight telnet replacement that allows users to run programs executable files on remote machines. First, you will have to download PSTools. Click Here to download it. Once you’ve downloaded PSTools, unzip the file and copy PsExec to executable path. I copied file to C:\. Run following command to turn off filewall on remote PC using PsExec: C:\> psexec ComputerName –u username –p password cmd ComputerName  - replace it with the r

Converting Ubuntu Core server to GUI - Error: E: Unable to locate package update

Today, I installed a Ubuntu server 16.04 LTS on my test lab. I installed it as a virtual machine on my Hyper-V host. When installation finished, I was presented with the server Core edition. As I am fairly new to Linux OS, I wanted to have Graphical User Interface (GUI). I went on Internet to find a way to convert my Core server to GUI. I learnt that I need to install ubuntu-desktop package to have GUI. sudo apt-get install ubuntu-desktop When I ran this command, I got a following error message: E: Unable to locate package update After doing a bit of a research, I found out that I will have to run some more commands to upgrade current package list before trying to install desktop version. I used following command to have GUI version of Ubuntu server. Use following command to upgrade packages installed on your PC or update your all system. When Prompted, type Y and press Enter key. Sudo apt-get upgrade Once you've upgraded your system, run this com

PowerShell command to export a list of domain users from AD group to a CSV file

Here I go with another post on PowerShell. This time, I would like to share a PowerShell command that will help you to export list of users of particular AD (Active Directory) group to a CSV file. Run PowerShell and type following commands: # This will import ActiveDirectory module Import-Module ActiveDirectory # This command will export list of users from GroupName to a CSV file Get-ADGroupMember -Identity "GroupName" -server "TestDomain" -recursive | get-aduser -Properties mail | select name , samaccountname | export-csv -path c:\Script\report.csv -NoTypeInformation In above command, replace GroupName with the Group you want to retrieve members list. Type your domain name in place of TestDomain . Once you run above command, it will create a CSV file “ Report.CSV ” and save it in C:\Script folder. I hope you find this post very useful. Disclaimer: www.TechieTalks.co.uk does not conceal the possibility of error and shortc

PowerShell Script: Find out free disk space from multiple servers

Hi All, this is my very first post on PowerShell Script. Today, I am going to share a script that you can use to find out free disk space from multiple servers. You will have to create a Text file and a PowerShell script to accomplish this. Let’s begin by creating a Text file. I have setup a folder on my C: Drive called PS_Script (C:\ PS_Script). I created a Text file, ServerNames.txt, and saved it in C:\PS_Script folder. Use following code to create a PowerShell script and save it as DiskReport.PS1. #Get Current date $currdate = ( Get-Date ) . tostring( "dd-MM-yyyy" ) #Set path for output file $report = "C:\PS_Script\" + "DiskSpaceReport_" + " $Currdate .html" #Run command to get free disk space from multiple servers and export output to HTML file Get-WmiObject Win32_LogicalDisk -filter "DriveType=3" -computer ( Get-Content C:\PS_Script\ServerNames.txt ) | Select SystemName , DeviceID , V