How to create user profile using the command line?

Simple stuff, you’d think as well as why would I need to do so? I just had one of these situations few minutes ago, when this way of creating user profiles comes in hand. So … remote user that connects via VPN. His domain account user profile does not exists on the PC, but he ...

Deploying reg key via batch and PSTools

Task: deploy registry key to multiple desktops. Tools needed: PSTools 1. Download PSTools, unpack and run psexec.exe. 2. Create computers.txt file within PSTools folder. 3. Place your registry key into the shared folder. 4. Open notepad and create run.bat file that will look like this: run.bat @ECHO OFF regedit /s "\\yourserver\shareddrive\sharedfolder\yourregkey.reg" 123 @ECHO OFF regedit /s ...