Something I hardly see mentioned here is encryption for data such as on your PC. My modus operandi is to encrypt all the things. This is a little .bat script I came up with to lock all drives, except the C: drive, all in one click.

It resides on my desktop as an icon, and i can lock all drives in a couple seconds vs doing it drive by drive.

Not sure if anyone here could use it, but I thought I’d share. I am sure that some of you real coders here could fine tune it a bit, and I’d be open to suggestions.

@echo off
REM Script to lock multiple BitLocker drives with admin privileges

REM Check for administrative privileges
net session >nul 2>&1
if %errorlevel% neq 0 (
    echo This script requires administrative privileges.
    echo Requesting elevation...
    REM Create a VBS script to trigger UAC prompt
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\elevate.vbs"
    echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\elevate.vbs"
    cscript //nologo "%temp%\elevate.vbs"
    del "%temp%\elevate.vbs"
    exit /b
)

REM List of drives to lock
set drives=D: G: I: H: E: F: P: J:

REM Loop through each drive and lock it
for %%d in (%drives%) do (
    echo Locking drive %%d...
    manage-bde -lock %%d -ForceDismount
)

echo All specified drives have been locked.
pause
Jeena
link
fedilink
132d

I would like to tell my story which led to me encrypting my PC hard drive, even if it’ not a laptop.

I had a iMac, first it was from work but when I left the company I bought it ao I could keep it. When asked if I want to encrypt the drive while setting it up I denied because it’s not a laptop so I didn’t take it with me so it couldn’t get stolen.

Until I woke up one day and this big iMac which was the center of my desk was suddenly gone, together with my Nikon camera, my external sound card and other electronics the thieves could grab quickly while I was snoring in the bedroom.

I didn’t mind the hardware so much and I had backups of most of the things already anyway, but the feeling that they could mount the HDD and get all the data especially I was logged in to all websites and change my passwords, etc.

Since then I’m encrypting everything.

irmadlad
creator
link
fedilink
32d

snoring in the bedroom.

I swear I read ‘snoring in the bathroom’, Picturing someone passed out in the tub snoring.

Create a post

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

much thanks to @gary_host_laptop for the logo design :)

  • 0 users online
  • 124 users / day
  • 1.05K users / week
  • 1.3K users / month
  • 4.58K users / 6 months
  • 1 subscriber
  • 4.18K Posts
  • 106K Comments
  • Modlog