Skip to main content

Posts

Showing posts from November, 2018

Windows Tools- PsExec

The PsExec is a windows internals utility to execute commands in a remote machiene from your command line.  This is very useful for windows system administrators since It allows you to run programs and processes on remote systems, using all the features of the interactive interface of console applications, without having to manually install the client software. The main advantage of PsExec is the ability to invoke the interactive command-line interface on remote systems and remotely run programs (in the background and in the interactive mode) and execute any commands. The PsExec utility is one of the most popular programs of the PsTools package from Sysinternals. You can download it on this page: https://docs.microsoft.com/en-us/sysinternals/downloads/psexec

Syntax: psexec [\\computer[,computer2[,...] | @file\]\]\[-u user [-p psswd][-n s][-r servicename][-h][-l][-s|-e][-x][-i [session]][-c executable [-f|-v]][-w directory][-d][-<priority>][-a n,n,...] cmd [arguments]

Parameter …

How to find windows 10 edition from the OS installation disk iso image

I faced this issue when one friend gave his laptop to update windows and to fix some issues, I noticed that windows 10 pro version is not activated in it. I asked him and he said the OS had activated license till he gave the laptop to someone else for some repair.
I checked the actual windows license by clicking the "troubleshoot activation" button in the computer properties window. It gave the  details the laptop had activated "Windows 10 home single language" edition license, but the laptop is now installed windows 10 pro.
I had different windows 10 installer images created using windows 10 media creation tool.  But I didn't know which one is Win10 pro and which is Win 10 home.
I found this command to find the version from the Image.
step 1: mount the iso image in windows 10 as a drive step 2: copy the path to "install.esd" file step 3: run command as administrator:  dism /Get-WimInfo /Wimfile:<path>\install.esd /index:1

Resolved: Hotspot connected, no internet issue in Moto G5 plus

I had come across this issue on moto G5 plus phone while I was trying t connect my friends android tv to the hotspot on the moto phone. This was not working, I was continuously getting :connected,no internet" message after connecting to the hotspot.
I also tried with an mi phone with the same sim on it (airtel), and this was working fine now. I understood the problem is with the moto phone and started by looking for the OS updates for the phone. there was an update, but it didn't help to resolve the issue.
Now I started reading all the Lenovo support forums and other pages and videos came on google search, but none of them helped to fix the issue. most of them suggested to change the APN setting on the phone, and changing performance booster settings, etc. none of these are a solution for the no internet issue.
Now I connected the hotspot to a windows laptop, and tried to browse. This also was not working. I had checked the ip address and the dns settings, The ip was getting…

Linux Certification course study notes: Unit 2: Linux / UNIX Directory Structure

Linux Certification course study notes: Unit 2: Linux / UNIX Directory Structure





/root - home directory for root user
/home - home directory for other users
/etc - contains all basic configuration files for the services
/boot - contains boot loader and boot configuration
/mnt – Store external data or mount point
/media – empty directory, default mount for external devices
/var – contains public files or folders of the services, and contains the zone files. It contains ftp home directory
/misc – empty directory mainly used for mounting point
/opt – to store external data
/net – to mount network directories
/usr – user controllable directory files
/lib- all library files
/bin – binary files of the commands
/sbin – secured binary files – for the commands which can be accessed by the root user
/selinux – secured addition for linux like firewall configuration(Security enhanced linux)
/proc – virtual directory contains current running processes

Go to previous unit :
UNIT 1