RSS

Monthly Archives: November 2019

LAN Messages on Windows 10 using CMD

 

using the following command

msg /server:pcname username message

server stays as is. pcname is the name of the pc you are sending to. user name is the name the user is logged in under on that PC. message is obviously the msg u want to send.

you will also need to change a setting on the receiving computer by using regedit.

the following registry key must be activated (as described by Consoles above):

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server

Name : AllowRemoteRPC

Type : REG_DWORD

Value : 1 (the dafault is ‘0’)

(not tested myself: need to verify)

 
Leave a comment

Posted by on November 19, 2019 in Windows

 

Understanding scientific notation of large numbers

( Disclaimer: I am saving this here for my future use as a backup. Copy pasted from onlinemath4all.com . link to the original post is ==> https://www.onlinemath4all.com/scientific-notation-rules.html )


Scientific notation is a standard way of writing very large and very small numbers so that they’re easier to both compare and use in computations.

In this section, we will learn the rules which are required to write a number in scientific notation.

Scientific Notation Rules

Every number in the scientific notation must be in the form of

a x 10n

where ≤ a < 10 and n must be a positive or negative integer.

To convert a number into scientific notation, first we have to identify where the decimal point and non zero digit come.

There are two cases in it.

Case 1 : 

To move the decimal point to the left, we have to count number of digits as explained in the example given below.

According to the example given above, we have to move the decimal point 3 digits to the left and exponent of 10 should be 3 (positive integer)

When we do so, we get the scientific notation of the given number.

Hence, 2301.8 = 2.3018 x 10³

Case 2 : 

To move the decimal point to the right, we have to count number of digits as explained in the example given below.

According to the example given above, we have to move the decimal point 5 digits to the right and exponent of 10 should be -5 (negative integer)

When we do so, we get the scientific notation of the given number.

Hence, 0.000023 = 2.3 x 10

Important Note: 

If we don’t find decimal point at anywhere of the given number, we have to assume that there is decimal point at the end of the number.

For example, 

2300000 ————-> 2300000.

Here, the non zero digit comes first and decimal point comes next. So we have to apply case 1 to convert this number into scientific notation.

Scientific Notation Rules – Examples

Example 1 :

Write the given number in scientific notation.

0.00006

Solution :

Here decimal point comes first at non zero digit comes next.

We have to move the decimal point to the right.

No. of digits from the decimal point up to the first non zero digit is 5.

So, the decimal point has to be moved 5 digits to the right and exponent of 10 should be -5 (negative integer)

Hence, the scientific notation of 0.00006 is

6 x 10-5

Example 2 :

Write the given number in scientific notation.

5400000

Solution :

Here we don’t find decimal point in 5400000. So we have to assume that there is decimal point at the end .

Then, 5400000 ———> 5400000.

Here non zero digit comes first and decimal point comes next.

We have to move the decimal point to the left.

No. of digits between the 1st non zero digit and the decimal point is 6.

So, the decimal point has to be moved 6 digits to the left and exponent of 10 should be 6 (positive integer)

5400000  =  5.400000 x 106

5400000  =  5.4 x 106

Hence, the scientific notation of 5400000 is

5.4 x 106

(Here zeros after the decimal point are not taken. Because, they are not valid zeros)

Example 3 :

Write the given number in scientific notation.

71 x 102

Solution :

Here we don’t find decimal point in 71x 102. So we have to assume that there is decimal point at the end of 71

Then,

71 x 102 ———> 71. x 102

Here non zero digit comes first and decimal point comes next.

We have to move the decimal point to the left.

No. of digits between the 1st non zero digit and the decimal point is 1.

So, the decimal point has to be moved 1 digit to the left and exponent of 10 should be 1 (positive integer)

71. x 102 = 7.1 x 101 x 102

71

Hence, the scientific notation of 71 x 102 is

7.1 x 103

Example 4 :

Write the given number in scientific notation.

33 x 10-3

Solution :

Here we don’t find decimal point in 33 x 10-3 So we have to assume that there is decimal point at the end of 33

Then,

33 x 10-3 ———> 33. x 10-3 

Here non zero digit comes first and decimal point comes next.

We have to move the decimal point to the left.

No. of digits between the 1st non zero digit and the decimal point is 1.

So, the decimal point has to be moved 1 digit to the left and exponent of 10 should be 1 (positive integer)

33. x 10-3  = 3.3 x 101 x 10-3

33. x 10-3  = 3.3 x 10-2

Hence, the scientific notation of 33 x 10-3 is

3.3 x 10-2

Example 5 :

Write the given number in scientific notation.

0.63 x 10-3

Solution : 

Here decimal point comes first and non zero digit comes next.

We have to move the decimal point to the right.

No. of digits from the decimal point up to the first non zero digit is 1.

So, the decimal point has to be moved 1 digit to the right and exponent of 10 should be -1 (negative integer)

0.63 x 10-3  =  6.3 x 10-1 x 10-3

0.63 x 10-3  =  6.3 x 10-4

Hence, the scientific notation of 0.63 x 10-3 is

6.3 x 10-4

 
Leave a comment

Posted by on November 19, 2019 in Uncategorized

 

Tags:

HP Keyboard Fn key toggle – no option in BIOS

I ran into a small problem. How to how to turn off multimedia keys on included wireless keyboard and instead use fn keys. (HP Pavilion All In One, HP Pavilion gaming PC- Windows 10)

Most suggested solution was to enable or disable action key option in BIOS. But this option was not found in my BIOS.

Some people on google said holding down the Fn key and tapping the Caps Lock or fn+esc will solve this issue. but did not work in my case.

Then i read the following solution on an HP forum. Not a solution by HP.
Some user came up with this workaround.

This worked for me. Copy-pasting the post below for future reference.


” I found a pretty decent workaround about this Fn lock issue after hunting down for a while. The workaround is sort of sophisticated, so you can give it a shot if you are really dedicated to solving this Fn lock issue.

The workaround method involves the use of a program called AutoHotkey.

AutoHotkey uses hooks to map the media function key presses back to F keys and F key presses into media functions keys to achieve the effect of “unlocking” the Fn lock.
My HP keyboard is Pavilion Wireless Keyboard 600 (black). I really like the white version of this soft & short-distance chiclet keyboard when I was trying it in BestBuy, but the white version is only sold together with the all-in-one. That means, I am using this HP keyboard with my custom desktop (non-HP brand) tower and unable to fix the Fn lock issue in the BIOS.

The attached code is written based on the association of media function keys and F keys on Pavilion Wireless Keyboard 600 only. Other models or brands of keyboards will likely to have different associations. You may look into the tutorial of AutoHotkey to customize your own code.

1. Go to https://www.autohotkey.com/download/ to download AutoHotkey.
2.Right-Click on your desktop.
3. Find “New” in the menu.
4. Click “AutoHotkey Script” inside the “New” menu.
5. Give the script a new name. It must end with a .ahk extension. For example: MyScript.ahk
6. Find the newly created file on your desktop and right-click it.
7. Click “Edit Script”.
8. A window should have popped up, probably Notepad. If so, SUCCESS!
9. Copy and paste the attached code into Notepad, and save the file.
10. Double-click the file/icon in the desktop to run it.
11. Create a shortcut of this .ahk file and move the shortcut to the “Startup” folder so that the script runs automatically every time you start windows.

The drawback of this method is that I haven’t found a way to revert the F7 & F8 keys. Therefore, only F1 through F5 and F8 through F12 can be reverted to achieve the effect of unlocking Fn lock by this code.

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#InstallKeybdHook
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

; Below based on HP Pavilion Wireless Keyboard 600

; F1 | Mute
VOLUME_MUTE::F1
F1::VOLUME_MUTE

; F2 | Volume Down
VOLUME_DOWN::F2
F2::VOLUME_DOWN

; F3 | Volume Up
VOLUME_UP::F3
F3::VOLUME_UP

; F4 | Last Song
MEDIA_PREV::F4
F4::MEDIA_PREV

; F5 | Play/Pause
MEDIA_PLAY_PAUSE::F5
F5::MEDIA_PLAY_PAUSE

; F6 | Next song
MEDIA_NEXT::F6
F6::MEDIA_NEXT

; F7 | Brightness Down

; F8 | Brightness Up

; F9 | Search
BROWSER_SEARCH::F9
F9::BROWSER_SEARCH

; F10 | Toggle display mode for multi-screen
<#Tab::
SendInput {F10}
Return

; F11 | ???
<^<#F21::
SendInput {F11}
Return

; F12 | System Settings
<#F21::
SendInput {F12}
Return

Credit: Crizalis

 
Leave a comment

Posted by on November 19, 2019 in Windows

 

Tags: ,

FIX: Windows Update service missing (not listed) in services.

Restore invalid/missing registry keys from a working system.

Requirement: Another working computer with the same Windows Edition.

On the working computer:

1.  Open Registry Editor: To do that:

  • Simultaneously press “Windows” + “R” keys to open the RUN window.
  • In “RUN” window “Open” box,  type: regedit
  • Press Enter

2. At the left pane, press the “+” sign and navigate to this subfolder:

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BITS

3. Right-click on BITS subfolder and select Export.

4. Give a name for the exported file (e.g. ‘BITS‘) and save it to the desktop.

5. Then navigate to this subfolder:

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wuauserv

6. Right-click on wuauserv subfolder and select Export.

7. Give a name for the exported file (e.g. ‘wuauserv‘) and save it to the desktop.

8. Close registry editor

9. Copy the exported registry files to a USB flash drive.

On the computer that Windows Update service or BITS Service is missing (not listed).

1. Plug the USB flash drive with the exported reg files to an empty USB port.

2. Double click at the exported BITS registry file (e.g. “BITS.reg) and allow to add its information to registry. *

3. Double click at the exported wuauserv registry file (e.g.”wuauserv‘.reg “) and allow to add its information to registry. *

* Note: If you have problems during import, then start Windows in Safe Mode and then import the key(s).

4. Restart the computer.

5. Check if Windows Update is working.

Original reference: Repairwin.com

 
1 Comment

Posted by on November 17, 2019 in Windows