Categories:

Email
  🠪  Servers
  🠪  Testing
  🠪  Tips

Hardware
  🠪  3D Printing
  🠪  Apple
  🠪  Batteries
  🠪  Drives
  🠪  Edgerouter
  🠪  Electronics
  🠪  Laptop
  🠪  Modems
  🠪  Phone
  🠪  Printers
  🠪  Raspberry Pi
  🠪  Tablets
  🠪  Testing
  🠪  Virtualization

hidden
  🠪  General

Links
  🠪  Interesting
  🠪  Media

Network
  🠪  Data
  🠪  Testing
  🠪  VPN

Scripts
  🠪  Batch
  🠪  Linux
  🠪  Powershell

Servers
  🠪  Databases
  🠪  Misc
  🠪  Website

Software
  🠪  Other

Utilities
  🠪  Backup
  🠪  Fix Issues
  🠪  Recovery

Video
  🠪  Editing

Websites
  🠪  HTML
  🠪  Testing

Windows
  🠪  Adjustments
  🠪  Issues
  🠪  Remote Desktop
  🠪  Sercurity
  🠪  Slow
  🠪  Software
  🠪  Startup

Submit Entry
Airin's Notes

Category: Windows 🠪 Sercurity
Bitlocker Management
September 21, 2023

Lock a bitlocker drive:
manage-bde -lock d: -ForceDismount

Auto unlock a drive using a batch file. This has security implications, ensure you do this safely! These all need to run as admin
1: Create an unlock file in C:\ that will be able to unlock the D: bitlocker protected drive:
manage-bde -protectors -add d: -rk c:\
2: Find the new file that was created. It will look like 'C:\123AB123-1A23-78BC-941A-J019014322A0.BEK'
dir C:\ /a
3: Unlock the D: Drive.
manage-bde -unlock d: -rk C:\123AB123-1A23-78BC-941A-J019014322A0.BEK


Category: Windows 🠪 Sercurity
Check if a user is logged on remotely
September 24, 2023

Change pc17 to the computer name:
query user /server:pc17

You can also use psloggedon if you download the Sysinternals tools

https://devopsonwindows.com/3-ways-remotely-view-who-is-logged-on/

Keywords: Local, Logged on,, in, Remote Desktop, mstsc, Terminal Services, Console, Active, Idle, off


Category: Windows 🠪 Sercurity
Data Streams - Super Hidden Files
September 24, 2023
Data Streams in NTFS allow files to have hidden content that is harder to see.

You can see how much space is used in Windows Explorer, going to properties for a file/folder. The Size field is the main file/folder. The Size On Disk includes the main file as well as any alternate data streams.

Create a data stream from command prompt: notepad notes.txt:test

To view them in command prompt, use: dir /r

Copy a file into a data stream:
...<Too long, click to read the rest>

Category: Windows 🠪 Sercurity
Malware scanning
September 24, 2023

Online Virus Scan - Upload a file and have it scanned by many AV tools
https://www.virustotal.com/gui/

Download Offline 'Microsoft Safety Scanner'
https://docs.microsoft.com/en-us/windows/security/threat-protection/intelligence/safety-scanner-download

Malwarebytes Map of infections they detected when a different AV didn't find it:
https://www.malwarebytes.com/remediationmap


Category: Windows 🠪 Sercurity
Setup OpenSSH on Windows for SSH authentication for Visual Studio Code
September 17, 2023

partial steps..
Install Visual Studio Code
Install extension Remote Explorer
https://code.visualstudio.com/docs/remote/ssh#_remember-hosts-and-advanced-settings


Use Puttygen to generation a new SSH key.
- Copy the text from large textbox to authorized_keys on remote SSH server.
- Use Conversion --> Export OpenSSH Key to save to a file for OpenSSH remoting.
- Use Save Private Key to save a file which can be used with WinSCP.

C:\Users\Username\.ssh\config

Example format:
Host google.com
...<Too long, click to read the rest>





This site is meant to be used as a reference for myself, although others may find it useful. I use it to keep track of certain fixes, software, and other solutions which I may need while assisting customers. The page layout is pure HTML/CSS and is kept simple to optimize loading time and fast results.

Return to Airin's Computers