3.12.22

CHECK THE HOSTNAME OF A DESKTOP USING IP ADDRESS

 

Click the Windows Start button, then "All Programs" and "Accessories." 

Right-click on "Command Prompt" and choose "Run as Administrator."  

Type "nslookup %ipaddress%" in the black box that appears on the screen, substituting %ipaddress% with the IP address for which you want to find the host name.

 

 

---------------------------------------------------------------------

8.11.22

How to fix Windows 11 Black and White Screen issue

 

Solution of Windows 11 Black and White Screen issue

Step 1: Right-click on desktop and select Display settings.


Display Settings Min

 

Step 2: In the Display settings, check if the Night light feature is turned off. If it is not turned off, click on the toggle button to turn it Off.

 

Night Light Min

 

Step 3: Search for Color filters in the search bar of settings.

 

Color Filetrs Min

 

Step 4: Check whether the Color filters option is turned On. If Yes then disable it to turn off the Greyscale filter or other color filters which is selected. If No then turn it On and Off. If there is any glitch in the system turning it On and Off will override the settings.

 

14.9.22

Windows - Stop shutdown every hour

First download Windows PsTools.

This tool is provided by Microsoft for maintaining processes and services through command line.

We will extract all the contents of the zip file in C:\ drive into the folder PS (which we just created)

Open CMD in 'Run as Administrator'

c:> CD PS

c:> psexec -i -d -s cmd

Click- Agree on the license agreement dialog box
Then you will get another command prompt running under "nt authoriy\system"
To check if the command prompt is running under "nt authority\system"
 
c:> whoami
 
Then type,
c:> services.msc
 
Then services window will open.  

Select Windows licensing Monitoring and change the startup type to DISABLE.

After that restart the machine..

Where can I find shutdown logs?

In Event Viewer, select 

Windows Logs > System from the left pane. 

From the right, click on the Filter Current Log link. 

Type in 41,1074,6006,6008 into the box below Includes/Exclude Event IDs... 

Hit Ok. Windows then displays all shutdown-related events.

13.8.22

Disable UTM

 

Login to Firewall and open CLI console.

config system fortiguard
set webfilter-force-off enable
end
execute update-now

 --------------------------------

12.8.22

Remote session close when press CTRL+C

 

Open Remmina settings.

Open Advance Page.

Check the Disable Clipboard sync.


------------------------------------------------

19.7.22

Flush DNS Cache in Mint

 

Execute the below command to Flush DNS cache on your Ubuntu and Linux Mint systems.

sudo /etc/init.d/dns-clean start

16.7.22

Remote Logoff via CMD

 

Open CMD in Administrator mode.

C:\> QUser /server:ComputerName 

                        To view the list of users currently connected in RDP.

c:\> Logoff sessionID /server:ComputerName

 

7.7.22

How To Fix Busybox Initramfs Error On Ubuntu...

 

When I switched the linux machine on,

 (initramfs) df -h

(initramfs) fsck  /dev/sdXX  -y

(initramfs) reboot

4.7.22

Shortcut that will close frozen processes:

 


    Right-click an empty space on your desktop and choose New > Shortcut.
    You'll be asked to enter a location for the shortcut. In that box, paste the following command:

    taskkill /f /fi "status eq not responding"


    This command is simple to understand when you break it down:
        taskkill is the command to kill a process, which you should do when something is frozen.
        /f tells the command to force-close the program. Without this, Windows nicely asks the process to terminate, which won't work if it's stuck.
        /fi tells the command to run only on processes that meet the following filter criteria.


        Finally, the text in quotes is the command criteria. You want it to only kill processes with a status equal to Not Responding. Otherwise, this command would close all running processes!


    The shortcut creation box will then ask you to name your new shortcut. Call it anything you like, then press Finish.
 

27.6.22

Memory Information

 

Open CMD

wmic MemoryChip get

 

wmic 

 

Memory Type will report back a number that aligns to a particular “type” of RAM module. 

20 means it’s DDR memory. 

DDR2 is 21. 

DDR3 is 24. 

DDR4 is 26. 

Sometimes, this may show a 0. If so, you’ll want to use “wmic MemoryChip get SMBIOSMemoryType” instead

31.5.22

Remove Windows 10 /11 default applications

 

 

Open Power shell and type the following command.

get-appxpackage <*packagename*> | remove-appxpackage
 
List of packages 
 

Uninstall 3D Builder:

Get-AppxPackage *3dbuilder* | Remove-AppxPackage

Uninstall Alarms and Clock:

Get-AppxPackage *windowsalarms* | Remove-AppxPackage

Uninstall Calculator:

Get-AppxPackage *windowscalculator* | Remove-AppxPackage

Uninstall Calendar and Mail:

Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage

Uninstall Camera:

Get-AppxPackage *windowscamera* | Remove-AppxPackage

Uninstall Contact Support:

This app can't be removed.

Uninstall Cortana:

This app can't be removed.

Uninstall Get Office:

Get-AppxPackage *officehub* | Remove-AppxPackage

Uninstall Get Skype:

Get-AppxPackage *skypeapp* | Remove-AppxPackage

Uninstall Get Started:

Get-AppxPackage *getstarted* | Remove-AppxPackage

Uninstall Groove Music:

Get-AppxPackage *zunemusic* | Remove-AppxPackage

Uninstall Maps:

Get-AppxPackage *windowsmaps* | Remove-AppxPackage

Uninstall Microsoft Edge:

This app can't be removed.

Uninstall Microsoft Solitaire Collection:

Get-AppxPackage *solitairecollection* | Remove-AppxPackage

Uninstall Money:

Get-AppxPackage *bingfinance* | Remove-AppxPackage

Uninstall Movies & TV:

Get-AppxPackage *zunevideo* | Remove-AppxPackage

Uninstall News:

Get-AppxPackage *bingnews* | Remove-AppxPackage

Uninstall OneNote:

Get-AppxPackage *onenote* | Remove-AppxPackage

Uninstall People:

Get-AppxPackage *people* | Remove-AppxPackage

Uninstall Phone Companion:

Get-AppxPackage *windowsphone* | Remove-AppxPackage

Uninstall Photos:

Get-AppxPackage *photos* | Remove-AppxPackage

Uninstall Store:

Get-AppxPackage *windowsstore* | Remove-AppxPackage

Uninstall Sports:

Get-AppxPackage *bingsports* | Remove-AppxPackage

Uninstall Voice Recorder:

Get-AppxPackage *soundrecorder* | Remove-AppxPackage

Uninstall Weather:

Get-AppxPackage *bingweather* | Remove-AppxPackage

Uninstall Windows Feedback:

This app can't be removed.

Uninstall Xbox:

Get-AppxPackage *xboxapp* | Remove-AppxPackage

17.5.22

Check Office activation information...

 

Run   ---  CMD

C:\Program Files\Microsoft Office\Office16>CSCRIPT.EXE ospp.vbs /dstatus

 

------------------------------------------------------------------------------------


16.5.22

Enable folder share in Linux Mint 19

 

$ apt-get update

$ apt-get install caja-share

 

After this, please restart the machine to get the share option in folder properties..

Open office installation in Linux Mint

1. Download the package from web.

2. apt-get remove --purge libreoffice*     // for remove libre office from system

3. $ sudo apt clean

4. $ sudo apt autoremove

5. $ cd Downloads

6. $ cd en-Us/DEBS

7. $ dpkg -i *.deb

8. $ cd desktop-integration/

9. $ dpkg -i *.deb

9.5.22

GRUB rescue Mode - in Linux

rescue grub> set

rescue grub> ls

rescue grub> ls (hd0,msdos1)

rescue grub> set root=(hd0,msdos1)

rescue grub> insmod normal

rescue grub> normal

7.5.22

Barcode issue- left side not clear

 

In control panel, select " Printer Properties -- Tools -- Configure -- Configure Printer -- Media  -- Media Dimension -- Width(101mm/4") and Height(101mm/4")

Row emulation - 300, Column emulation - 300, Control code - Alternate 2

 

 

 

15.3.22

In Excel- Value List Creation

1.  Open Excel

2. Enter the values needed in the list in a worksheet.

3. Select all the cells,  

4. Then select Formula menu - Name Manager  - New

5.  Enter a Name for the range and Scope as Workbook.

 

Next you need to click on the cell, where we want the predefined list.

 

1. Data - Data validation - data validation.

2. Allow - LIST

3 Source :-   =<name>


3.3.22

Temperory profile issue...

 

  • Start your computer and login with temp profile
  • Click on START and then type RUN in search box and then click on RUN from found results, then you will get a RUN BOX.
  • Type a command in run box “regedit” and hit enter or click on OK, then you will appear a registry edition
  •  
    • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
    • You will get the similar keys under “profile list”, however one key may shows as end with “.bak”
    • “.bak” is a your original profile Example: “SID-1213428093-345618312-2235-148770.bak”
    • “Without .Bakis a your current temp profile (which currently logged on with this profile) Example:“SID-1213428093-345618312-2235-148770″
    • You have to Rename both entries
    • Rename the key “Without .Bak“, rename it and put “.temp” in the end
      SID-1213428093-345618312-2235-148770″
                                        to
      SID-1213428093-345618312-2235-148770.temp”
    • Rename the key with “.Bak“,  rename it and remove “.bak” from the end
      SID-1213428093-345618312-2235-148770.bak”
                                       to
      “SID-1213428093-345618312-2235-148770”

    How to Fix Temporary Profile in Windows 7 3

  • That’s it, Now click on start and click on log off
  • After log off, restart the computer once.
  • After restart it will automatically get your old (original) profile
  •  

18.1.22

OpenOffice installation in Linux Mint

Install OpenOffice In Linux Mint


Before you go on installing OpenOffice, I would advise uninstalling the already installed LibreOffice. To remove LibreOffice, use the following commands:

sudo apt-get remove --purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove

Once you have removed LibreOffice, let’s see how to install OpenOffice now.


Install 32 bit OpenOffice in Ubuntu and Linux Mint

cd ~/Downloads

Once you are in the Downloads, use the command below to download the files.

wget sourceforge.net/projects/openofficeorg.mirror/files/4.1.1/binaries/en-GB/Apache_OpenOffice_4.1.1_Linux_x86_install-deb_en-GB.tar.gz

Once we have the files, time to install them.

tar -xzvf Apache_OpenOffice_4.1.1_Linux_x86_install-deb_en-GB.tar.gz
cd en-GB/DEBS
sudo dpkg -i *.deb
cd desktop-integration
sudo dpkg -i *.deb


Install 64 bit OpenOffice in Ubuntu and Linux Mint

Go to Downloads directory.

cd ~/Downloads

Download the installation files.

wget sourceforge.net/projects/openofficeorg.mirror/files/4.1.1/binaries/en-GB/Apache_OpenOffice_4.1.1_Linux_x86-64_install-deb_en-GB.tar.gz

Extract and install the downloaded files.

tar -xzvf Apache_OpenOffice_4.1.1_Linux_x86-64_install-deb_en-GB.tar.gz
cd en-GB/DEBS
sudo dpkg -i *.deb
cd desktop-integration
sudo dpkg -i *.deb

Libre office - Removal


sudo apt-get remove --purge libreoffice*

sudo apt-get clean
sudo apt-get autoremove


or

sudo apt remove --purge libreoffice-core

Stop disk check on startup windows 10

 

1 Disable Automatic Chkdsk

If Chkdsk is running on every startup, it means it will show you on screen during every run which drive is being checked. Take note of the drive letter as you will need it later on. In most cases it will be C: but it can be any other letter.
Drive letter highlighted and pointed out on startup Chkdsk screen.

Method 1:

  1. Type cmd in the search field at the bottom left corner of your screen.
    cmd keyword highlighted in Windows 10 search box.
  2. Right click Command Prompt in the search results then left click Run as administrator.
    Command Prompt pointed out in search results and Run as administrator highlighted in context menu.
  3. If you get a prompt asking you if you want to allow the app to make changes to your device, choose Yes.
    Yes highlighted on User Account Control prompt.
  4. The Command Prompt will open up. Make sure it says Administrator in the top left corner of the window. If it doesn't say that, you need to repeat the above steps.
    Administrator pointed out in open Command Prompt.
  5. Type the following command:
    chkntfs C: /x

    Typically, C: will be the drive needing the scan. Use the drive letter you noted at the start of this step. Press Enter on your keyboard when done.
    Typed in command pointed out in Command Prompt.