Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Sunday, March 22, 2020

Desktop Icons are not showing in Windows 10

Disable the second monitor

If you’ve used a dual monitor setup before, it’s possible that Desktop icons are set to appear on the second monitor. So, make sure to disable the second monitor if you’re not using it, and the icons may appear.

Solution 5 – Make sure the Show Desktop icons feature is enabled

Although it may sound banal, it’s quite possible you overlooked this. So, just to be sure, check if your Desktop icons are set to appear once again. Here’s how to do that:
  1. Right-click on the empty area on your desktop.
  2. Choose View and you should see the Show Desktop icons option.
  3. Try checking and unchecking Show Desktop icons option a few times but remember to leave this option checked

Monday, March 16, 2020

VERR_VMX_NO_VMX, rc=E_FAIL (0X80004005) - VirtualVM is not running in Windows10


Problem:
1.    I am using Oracle VirtualVM and installed Ubuntu .
2.    I have installed Docker recently.
Now, When I tried to access the Ubuntu from VirualVM.
I am getting the following error message.


Solution: 
In Windows 10.
Type Run  > CMD > bcdedit /set hypervisorlaunchtype off

Information of each part:
BCDEdit 
BCDEdit is a command-line tool for managing Boot Configuration Data (BCD). BCD files provide a store that is used to describe boot applications and boot application settings.
Hypervisor
A hypervisor is a computer software, firmware or hardware that creates and runs virtual machines. A computer on which a hypervisor runs one or more virtual machines is called a host machine, and each virtual machine is called a guest machine

When you don't have virtualization enabled, your system acts like this:
[ Hardware ] -> [ Operating System ] -> [ Applications ] -> [ You ]

When you do with Hyper-V, there's an extra layer in there:
[ Hardware ] -> [ Virtualization Hypervisor ] -> [ One of possibly several OSes ] -> [ Applications under that OS ] -> [ You ]


Monday, March 9, 2020

echo off and on

In Windows (and DOS) the “echo off” command suppresses showing the prompt and commands entered. Only the actual output of the commands being run is displayed. This works for commands as you type them and in batch files.
Some commands such as “set” and “cd” that are run in a batch file stay in effect after the batch is done, but “echo off” doesn't.

Example : 

When we observe after typing the echo off.. we did not find any line like (E:\Softwares\apache-tomcat-8.0.36) but when i enter dir then i am able to get the directories of that folder.

E:\Softwares\apache-tomcat-8.0.36>echo off
dir
 Volume in drive E is Software
 Volume Serial Number is 9C79-CBA4

 Directory of E:\Softwares\apache-tomcat-8.0.36

09/21/2018  11:18 AM    <DIR>          .
09/21/2018  11:18 AM    <DIR>          ..
09/21/2018  11:19 AM    <DIR>          apache-tomcat-8.0.36
               0 File(s)              0 bytes
               3 Dir(s)  249,605,476,352 bytes free
echo off
echo on

E:\Softwares\apache-tomcat-8.0.36>
When we on the echo then we are able to see the E:\Softwares\apache-tomcat-8.0.36.


What does %~dp0 mean, and how does it work?



%1-%9 refer to the command line args. If they are not valid path values, %~dp1 - %~dp9 will all expand to the same value as %~dp0. But if they are valid path values, they will expand to their own driver/path value.
For example: (batch.bat)
@echo off
@echo ~dp0= %~dp0
@echo ~dp1= %~dp1
@echo ~dp2= %~dp2
@echo on
Run 1:
D:\Workbench>batch arg1 arg2

~dp0= D:\Workbench\
~dp1= D:\Workbench\
~dp2= D:\Workbench\
Run 2:
D:\Workbench>batch c:\123\a.exe e:\abc\b.exe

~dp0= D:\Workbench\
~dp1= c:\123\
~dp2= e:\abc\

Thursday, November 8, 2018

Track changes in Word

Track changes in Word

Turning on Track Changes gives you and your coworkers a way to make changes that are easy to spot. The changes are like suggestions that you can review, and then remove them or make them permanent.
Turn Track Changes on and off by going to Review > Track Changes.
Track changes
  • When it's turned on, deletions are marked with a strikethrough, and additions are marked with an underline. Different authors' changes are indicated with different colors.
  • When it's turned off, Word stops marking changes, but the colored underlines and strikethrough are still in the document.

View suggested changes

To review the changes in your document, go to Review Tracking Display for Review.

Saturday, September 22, 2018

How do I resolve the “java.net.BindException: Address already in use: JVM_Bind” error?

(Windows Only)
To kill a process you first need to find the Process Id (pid)
By running the command :
netstat -ano | findstr :yourPortNumber
As shown in picture below
You will get your Process Id (PID), Now to kill the same process run this command:
taskkill /pid yourid /f
enter image description here

Recent Post

Databricks Delta table merge Example

here's some sample code that demonstrates a merge operation on a Delta table using PySpark:   from pyspark.sql import SparkSession # cre...