Scripts

Batch Script Get Admin

Ever needed to do something in a batch script that requires administrator privileges to run? Well, here is a simple code snippet that will elevate your script to admin rights and allow you to do exactly that: Anything you now write below that snippet will be executed as admin, providing the user successfully authenticated via … Read more

VB Script to Lookup and Open Home Directory

Years ago when administering a school network there was a requirement for teachers to access student home directories (redirected folders e.g documents, pictures, videos, music ). In theory this was no problem as teachers had full NTFS permissions over student home folders, however in practice this didn’t work because: Teachers didn’t know the UNC paths … Read more

Windows Server Homefolder Permission Fix

Often in large active directory environments administrators will redirect users data to a share on the network commonly referred to as a homefolder. This data usually includes the users documents, pictures, music and videos folders and can include user downloads and app data although this is less common due to a lesser need of having … Read more