Create a VBS script and run it when computer boots

 To create a VBS script that opens the `rabiaattach.blogspot.com` website when the computer starts, you'll need to create the script and set it to run at startup. Here’s how you can do it:


1. Create the VBS Script


1. Open **Notepad**.

2. Copy and paste the following code:

   Set objShell = CreateObject("WScript.Shell")

   objShell.Run "https://rabiaattach.blogspot.com"

   Set objShell = Nothing


3. Save the file with a `.vbs` extension, for example, `OpenWebsite.vbs`.


2. Place the Script in the Startup Folder

To make the script run when the computer starts, you can place it in the Windows Startup folder.


1. Press `Win + R` to open the Run dialog.

2. Type `shell:startup` and press Enter. This will open the Startup folder.

3. Copy the `OpenWebsite.vbs` file you created earlier and paste it into this Startup folder.


Alternative Method: Using Task Scheduler

If you want more control over when the script runs, you can use the Task Scheduler:

1. Press `Win + R`, type `taskschd.msc`, and press Enter to open Task Scheduler.

2. In the **Task Scheduler** window, click on **Create Task** in the right-hand pane.

3. Under the **General** tab, name the task (e.g., "Open RabiaAttach Blog").

4. Under the **Triggers** tab, click **New** and set the trigger to "At startup."

5. Under the **Actions** tab, click **New** and set the action to "Start a Program."

6. In the **Program/script** field, browse to the location of your VBS script (`OpenWebsite.vbs`).

7. Click **OK** to save the task.


Now, whenever the computer starts, the VBS script will run, and it will open the specified website in the default web browser.


Comments

Popular posts from this blog

PYTHON FOR ETHICAL HACKING INTRO

INSTALLATION OF PACKAGES AFTER KALI BOOTUP AND UNINTALLATIONS

GITHUB