Today I found myself in an odd situation. A remote work PC needed join to Active Directory. But VPN would not work unless PC was already in the domain. Catch 22. After some searching and reading, I found that using “DJOIN” in Windows 7+, the PC could offline-authenticate. DJOIN is bundled with the system, by default. Here’s what to do:
On a trusted PC:
- On a CMD prompt as the appropriate Domain Admin or delegate.
djoin /provision /domain ad.example.com /machine PC-NAME /reuse /savefile blob.txt
- Copy blob.txt to the PC.
On remote PC:
- Open a privileged
CMD (right-click on CMD, select run as Administrator).
djoin /requestODJ /loadfile blob.txt /windowspath %SystemRoot% /localos
- I still had to login as the local account and establish the VPN connection, which this time worked just fine.
- When VPN is running, Switch user (Win+L).
- Login as ad\username
Presto! From here on, I disconnected the VPN from my local account and started it again with the AD account.
A while ago a neighbour was about to throw away his old Mac Mini from circa 2007 AD, but I apprehended him and he gave it to me instead. If for nothing else, it has a nice keyboard…
I re-installed MacOS on it, but sadly found it wouldn’t move to a higher release than 10.7 (Lion). And so started my journey to get Linux on my Mac. Continue reading →
Hello! Bonjour! ¡Hola! Hej! Guten Tag!
So it has finally happened, I’ve started blogging. It’s been on my mind for quite some time now, but never really got around to it until now.
My mission with this particular blog is to have a space to write down my nerdy endeavours around computer technology, system setups, programming and related topics. As a vivid heavy metal fan who enjoys festivals and concerts, there is a good chance you’ll read something about those, just as there might be the occasional post about economics, politics, exercise and travel. So in short – whatever I feel like. I will try to keep them properly tagged though so you won’t accidentally end up with a financial report when you’re looking for ideas around PHP-programming or setting up a server.