Saturday, September 23, 2023

Open command prompt as Run as Administrator using command

 

  1. Press Win + R on your keyboard. This will open the Run dialog.

  2. In the Run dialog, type cmd and press Ctrl + Shift + Enter. This keyboard combination will launch Command Prompt with administrative privileges.

Alternatively, you can also try the following command in a regular Command Prompt window to open a new elevated Command Prompt window:


start cmd.exe /k "runas /user:Administrator cmd"


Repair damaged system files as follows:

  • Type cmd in Windows search
  • Right-click on Command Prompt and select Run as administrator
  • When the User Account Control window pops up, click Yes
  • Use the following command and press Enter:
    sfc /scannow
  • After the SFC scan is complete, use the following commands, pressing Enter after each:
    DISM /Online /Cleanup-Image /CheckHealth
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online /Cleanup-Image /RestoreHealth
  • Restart your system.

Wednesday, February 15, 2023

To remove write protection from USB drive

 Stesp are as follows :

1.Open command prompt with run as administrator

2.Type diskpart then enter.

3.Type list disk then enter

4.select disk 2 then enter

5.Type attributes disk clear readonly then enter.



Friday, May 6, 2022

How to undo emoji which is sent by mistake in skype ?

 During daily chat in skype, if we have entered emoji by mistake and if we need to undo that emoji action then we need to select again same emoji then we can remove inserted emoji.

☺☺☺

Friday, April 8, 2022

Windows short cut keys

 

To open run in windows operation system , just press the "Windows key" and the "R" key at the same time to open the Run box. 

Type ncpa. cpl and hit Enter and you can access Network Connections immediately.

Thursday, December 2, 2021

Get column name from list of tables in MSSQL server

 SELECT col.name AS [Column Name], tab.name AS [Table Name]

FROM sys.columns col

INNER JOIN sys.tables tab

ON col.object_id = tab.object_id

WHERE col.name LIKE '%ColumnName%'

ORDER BY [Table Name], [Column Name]


IANA timezone details in short

  The IANA Time Zone Database (often called tzdata , zoneinfo , or the Olson database ) is the global standard for representing time zones ...