Saturday, 29 June 2024

Software List - Inventory -WMIC Product

 Using the `wmic` command, you can create a comprehensive software inventory list. Here’s how to generate a detailed inventory of installed software on your Windows system:

### Steps to Create a Software Inventory List

1. **Open the Run Dialog**:
   - Press `Win + R` on your keyboard to open the Run dialog box.

2. **Open Command Prompt**:
   - Type `cmd` in the Run dialog box and press `Enter` to open the Command Prompt.

3. **Retrieve Software Inventory**:
   - In the Command Prompt window, type the following command and press `Enter`:
     ```shell

     wmic product get name, version, identifyingnumber, installdate, vendor
     ```


This command will retrieve and display a list of installed software products along with their names, versions, identifying numbers, installation dates, and vendors. The output will look something like this:

```
IdentifyingNumber                        InstallDate  Name                                    Version               Vendor
{23170F69-40C1-2702-0920-000001000000}                7-Zip 16.04 (x64 edition)                16.04                 Igor Pavlov
{1A15507D-1C14-4BA5-9C55-FF42ECF0A89C}                Adobe Acrobat Reader DC                  19.012.20040          Adobe Systems Incorporated
{4C930CC2-27F9-45C4-A487-BDBF151EECD4}                Google Chrome                            91.0.4472.124         Google LLC
...
```

### Save the Inventory to a File

To save the inventory list to a file for later review, you can redirect the output to a text file. Here’s how:

1. **Open Command Prompt**:
   - Follow the same steps as above to open the Command Prompt.

2. **Run the Command with Redirection**:
   - In the Command Prompt window, type the following command and press `Enter`:
     ```shell
     wmic product get name, version, identifyingnumber, installdate, vendor > C:\Path\To\Your\Folder\SoftwareInventory.txt
     ```

   Replace `C:\Path\To\Your\Folder\` with the actual path where you want to save the file. This command will create a file named `SoftwareInventory.txt` in the specified location containing the software inventory list.

### Example of the Command

```shell
wmic product get name, version, identifyingnumber, installdate, vendor > C:\Users\YourUsername\Documents\SoftwareInventory.txt
```

After running this command, you can open the `SoftwareInventory.txt` file in any text editor to view the detailed list of installed software.

This method provides a simple and effective way to audit and document the software installed on your Windows system.

How to Update software through cmd \\How to look at the boot time of your system\\Dns thru check history

 Go to cmd right click As administrator open

c:\user\pc>winget list

c:\user\pc>winget update software name hit enter

How to look at the boot time of your system //How do I find my computer startup and shutdown history?

cmd as administrator open

user\pc\c:> wmic os get lastbootuptime  hit Enter

Dns through check history ----- Go to Win+R, press cmd open, type ipconfig /displaydns, and hit enter.

  1. Open the Run Dialog:

    • Press Win + R on your keyboard to open the Run dialog box.
  2. Open Command Prompt:

    • Type cmd in the Run dialog box and press Enter to open the Command Prompt.
  3. Display DNS Cache:

    • In the Command Prompt window, type ipconfig /displaydns and press Enter.

This command will display the DNS cache entries currently stored on your system. You will see a list of domain names and their associated IP addresses, along with other details such as the record type and time to live (TTL) values. This information can help you understand which DNS queries have been resolved recently by your system.

 


Dark Mode using on browser:

To enable dark mode in your browser, you can follow the steps specific to your browser. Here's how you can do it for some popular browsers:

Google Chrome

Go to Google Chrome and open it, then show the search bar in type (chrome://flags)  Hit Enter search box in type Dark than code dark mode showing display _default click Enable select OK

 Battery saving mode on phones and laptops offers significant benefits for extending device usage. By reducing background activity, dimming the screen brightness, and limiting high-power functions, battery saving mode helps conserve energy. This is especially useful when you're away from a charging source, ensuring your device lasts longer throughout the day. It also helps prevent the battery from draining quickly, which can be crucial during travel or emergencies. Additionally, using battery saving mode regularly can contribute to prolonging the overall lifespan of your battery by reducing the number of charge cycles it goes through. This mode can also reduce heat generation, which is beneficial for maintaining the health of both the battery and the device. Overall, battery saving mode is a simple yet effective way to manage and optimize power consumption, ensuring your phone or laptop remains operational when you need it most.

1. **Enable Dark Mode in Windows or macOS**:
 **Windows**:
 Go to `Settings` > `Personalization` > `Colors`.
 Under "Choose your color," select `Dark`.
 **macOS**:
 Go to `System Preferences` > `General`.
 Under "Appearance," select `Dark`.

2. **Enable Dark Mode in Chrome**:
 Open Chrome and type `chrome://flags/` in the address bar.
 Search for `Dark Mode`.
 Enable `Force Dark Mode for Web Contents`.
 Relaunch Chrome.

### Mozilla Firefox

1. **Enable Dark Mode in Windows or macOS**:
 **Windows**:
     - Go to `Settings` > `Personalization` > `Colors`.
 Under "Choose your color," select `Dark`.
 **macOS**:
 Go to `System Preferences` > `General`.
 Under "Appearance," select `Dark`.

2. Enable Dark Mode in Firefox:  Open Firefox and click the menu button (three horizontal lines) in the upper-right corner.
 Select `Add-ons and themes`.
 In the "Themes" section, find and enable the `Dark` theme.

### Microsoft Edge

1. **Enable Dark Mode in Windows or macOS**:
 **Windows**:
     - Go to `Settings` > `Personalization` > `Colors`.
 Under "Choose your color," select `Dark`.
 **macOS**:
 Go to `System Preferences` > `General`.
 - Under "Appearance," select `Dark`.

2. **Enable Dark Mode in Edge**:
 Open Edge and click the menu button (three horizontal dots) in the upper-right corner.
 Select `Settings`.
 Under "Appearance," set the theme to `Dark`.

### Safari (macOS) 1. **Enable Dark Mode in macOS**:
 Go to `System Preferences` > `General`.
 - Under "Appearance," select `Dark`.

2. **Enable Dark Mode for Websites**:
 Open Safari.
 Go to `Safari` > `Preferences` > `Advanced`.
 Check the box for `Show Develop menu in menu bar`.
 In the menu bar, go to `Develop` > `Experimental Features` > `Dark Mode CSS Support`.
 ****Opera****

1. **Enable Dark Mode in Windows or macOS**:
 **Windows**:
 Go to `Settings` > `Personalization` > `Colors`.
 Under "Choose your color," select `Dark`.
 **macOS**:
 Go to `System Preferences` > `General`.
 Under "Appearance," select `Dark`.

2. **Enable Dark Mode in Opera**:
 Open Opera and click the `Easy Setup` button (three horizontal lines) in the upper-right corner.
 Under "Themes," select `Dark`.

Following these steps should enable dark mode in your browser, making browsing easier on your eyes, especially in low-light environments.

Control Panel in Settings

 

It seems like you want to create a script using Notepad to open the Control Panel or a specific tool within the Control Panel, and then create a shortcut to that script. Here’s how you can do it:

{D20EA4E1-3957-11D2-A40B-0C5020524153}

COPY CODE AND CREATE FOLDR AND RENAME FOLDER(AdminTools.pastcode)

than run admintools

### Step 1: Create the Script

1. **Open Notepad**.
2. **Write the Script**:
    - To open the Control Panel, you can use a simple batch script. Here’s a basic example:

      ```batch
      @echo off
      control
      ```

    - If you want to open a specific tool within the Control Panel, such as the Device Manager, you can use:

      ```batch
      @echo off
      control /name Microsoft.DeviceManager
      ```

3. **Save the Script**:
    - Go to `File` > `Save As`.
    - In the "Save as type" dropdown, select `All Files`.
    - Name your file with a `.bat` extension, e.g., `OpenControlPanel.bat`.
    - Save the file to a location of your choice.

### Step 2: Create a Shortcut to the Script

1. **Right-click** on the desktop or in any folder where you want the shortcut to be.
2. Select `New` > `Shortcut`.
3. In the location field, enter the path to your script file. For example:
   ```
   C:\path\to\your\OpenControlPanel.bat
   ```
4. Click `Next`.
5. Name your shortcut, e.g., `Open Control Panel`.
6. Click `Finish`.

### Step 3: (Optional) Assign a Keyboard Shortcut

1. **Right-click** on the shortcut you just created and select `Properties`.
2. Go to the `Shortcut` tab.
3. Click inside the `Shortcut key` field and press the key combination you want to use, such as `Ctrl + Alt + P`.
4. Click `OK`.

### Example

Here's a step-by-step example to open the Control Panel:

1. Open Notepad and enter the following code:

   ```batch
   @echo off
   control
   ```

2. Save the file as `OpenControlPanel.bat` on your Desktop.
3. Right-click on the Desktop, select `New` > `Shortcut`.
4. Browse to the `OpenControlPanel.bat` file you saved, then click `Next`.
5. Name the shortcut `Open Control Panel` and click `Finish`.
6. Right-click the new shortcut, select `Properties`, then set the `Shortcut key` to `Ctrl + Alt + P` and click `OK`.

Now, pressing `Ctrl + Alt + P` will open the Control Panel.

Let me know if you need any further assistance!

Saturday, 22 June 2024

Windows defender DisableAntiSpyware

windows defender DisableAntiSpyware

Go to -Registryediter\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsDefender

Windows defender DisableAntiSpyware     direct link download

Windows defender EnableAntiSpyware     direct link download

 

New value#1 rename DisableAntiSpyware value 0

windows security threat not page showing

go to registry editor

computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender

and Windows Defender select and delete

Method 2:- Fix Page Not Available Your IT Administrator has Limited Access to some Areas of this App

and go to gpedit.msc open Go to Administrative Templates go to Windows Components go to windows security go to

Virus and threat protection open and hide the virus threat protection not configure set then ok

go to cmd run as administrator open cmd c:gpupdate/force  press ok

Fix Can't Access Virus and Threat Protection Error Page Not Available On Windows 11

C:\windows\system32\SecurityHealth  and copy the content from securityHealth folder and transfer it to flash driver or external storage and then paste the content in SecurityHealth folder where windows security is not working

Go to windows\system32\secureHealth   and secureHealthsetup.exe copy and external D:drive to past .

And copy external D:drive securehealthsetup.exe  and go to windows\system32\securityhealth  folder open an past :(securityhealthsetup.exe) an than pc restart .

And securityhealthsetup.exe run as administrator

Than check windows security page .

Setp 2 you can find securityhealthsetup.zip file from Microsoft forum website and unzip it run it as an administrator and restart your pc

Go to link https://definitionupdates.microsoft.com/download/DefinitionUpdates/windowssecurity/1.0.2306.10002/x64/securityhealthsetup.exe

Step 3 ) Run these commands and go to cmd run as administrator for example

C:windows\systm32\ Winmgmt /salvagerepository  hit Enter and restart system

Than check windows security .

Winmgmt /salvagerepository

 Setup 4  “c:\program Files\Windows Defender\mpcmdrun.exe” -wdenable

Go to cmd run as administrator  for example  c:windows\system32:> “c:\program Files\Windows Defender\mpcmdrun.exe” -wdenable  hit enter

And restart pc and the check windows security .

Setup 5:winmgmt /backup c:\wmi_repository.bak

Go to cmd open run as administrator . for example c:windows\system32:> winmgmt /backup c:\wmi_repository.bak hit enter

Winmgmt /resetrepository

Restart pc then check windows security .

Setup6 6 : update windows 11 using  Media creation tool

Windows 11 iso download and  setup windows.exe run