Poor mans file audit on Windows Server 2008 R2 – with an easy search function and GUI

I needed a way to audit file deletions on our Windows 2008 R2 Server, but didn’t need to make pretty reports for our C levels, it was just for techs to track down who deleted what. So I used the built in Windows File Audit with GPO. We also have about 1800 people who use ...

Windows 10 not searching desktop applications with cortona

Out of the blue, my start -> search stopped functioning, it would just be blank. I reinstalled Cortana using the following procedure: Open an elevated Command Prompt window (press win + X, and then press A) Type start powershell and press enter Run the command (in one line): Get-AppXPackage -Name Microsoft.Windows.Cortana | Foreach {Add-AppxPackage -DisableDevelopmentMode ...

Adding User Principal Names in Active Directory via PowerShell for Federation

I wanted to update the UPN or User Principal Names in our AD, as we had a couple thousand users that had been in our AD for over 10 years, in the NT days. So they were created without UPN’s. This will print out the list of users and output it to a file so ...

Disable Windows Startup Repair as Default Option

I was having issues where my older raid card would not get recognized on the first boot, causing windows to reboot, then BSOD. So 50% of the time I would reboot and would be stuck on the repair screen, so I wanted to disable it. Apparently you can through the bcdedit! bcdedit /set {default} recoveryenabled ...

How to change license from server 2012 r2 eval with MAK key

I found out you can do this pretty simply. I wanted to change my 2012 R2 Standard Eval ISO to use my 2012 R2 Standard MAK key. I ran this in an elevated command prompt: DISM /online /Set-Edition:ServerStandard /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula replacing the x’s with your key, hit enter and it should work with a requested ...

creating large, empty files in windows

I ran this in Windows 7, but using fsutil you have a LOT of options. fsutil file createnew c:\testfile.txt 150000000 this created a 150mb empty file so I can use for testing. If you run fsutil you will see you have a lot more options: 8dot3name 8dot3name managment behavior Control file system behavior dirty Manage ...

setting up putty to be used as a socks5 proxy over ssh

This was taken from: http://www.ocf.berkeley.edu/~xuanluo/sshproxywin.html I am posting this for my own knowledge, just incase that site ever goes down. Run PuTTY. It starts in the “Session” screen; fill in the settings for your SSH connection. The fields “Host Name” and “Port” are pretty self-explanatory. You can enter the username too by filling the “Host ...

using chrome with socks ssh proxy without any DNS leaks

using chrome with socks ssh proxy without any DNS leaks
For funsies, I wanted to try this. I wanted to use my SOCKS proxy setup, which was very simple: Then I wanted to use chrome to bypass all proxies that IE has setup AND make sure DNS leaks do not occur. HOW TO SETUP SOCKS PROXY VIA SSH and PUTTY: http://www.ocf.berkeley.edu/~xuanluo/sshproxywin.html Once you have created ...

How to remove the chrome bell in the notification tray icon

Well this is annoying! It used to be removed via: chrome://flags/ and then just disabling “Enable Rich Notifications Mac, Windows”, but now it is: “Notification Center behavior Mac”. You also have to leave the setting to DEFAULT, and not disabled. Then relaunch and it’s gone. We shall see what it takes on the next go ...

centos 6 multiple vlans with one eth device

The scenario I had was 1 eth0 device, and my port trunk’d to allow 9 and 10 vlans. I wanted to assign the full /24 to this box, using only eth0 and the trunk port in CentOS 6. This is what I had to do. in linux NEED eth0 and one VLAN’d CFG: cd /etc/sysconfig/network-scripts/ ...