Thursday, May 7, 2015

Important links

AcctInfo.DLL

http://www.computerperformance.co.uk/w2k3/utilities/acctinfo.htm

Robocopy

http://www.computerhope.com/robocopy.htm



Outlook Secure temp folder

The Outlook Secure Temp folder is a super hidden folder, so, unless you know the full path (and it's randomly named folder, you're not finding it. And that's fun when you have a user that's trying to play the 100th copy of a file with the same file name (can you say "voicemail messages"?) and they get an error message.

To find the Secure Temp folder, you have to hop into the registry.

HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Security

Where the number is the number of your version of Outlook. 15 is Office 2013. The registy entry will give you the file path of the Secure Temp folder, go to it and delete the contents (after you make sure they don't have any attachments open from Outlook they haven't saved elsewhere). 

After that, the countdown to the next 100th file starts!

ADUC Additional Information tab



The Additional Info tab in Active Directory Users and Computers is like, my favorite thing evar. And just because of the Password Expiration date. All the other info it shows is just a bonus. SID is helpful for when profiles poo the bed.

Here's how to get it. This should be done on the computer you are using to to run ADUC, not the server.... unless you're using the server to view ADUC.

For x86 systems

  1. Download the Account Lockout Tools from MS. https://www.microsoft.com/en-us/download/details.aspx?id=18465 
  2. Copy acctinfo.dll to the %systemroot%\system32 folder 
  3. Register the service and dll with this command: regsvr32 acctinfo 
For x64 systems

  1. Download the same installer from above. 
  2. Extract the files. Move or copy acctinfo.dll to C:\Windows\SysWOW64. 
  3. Open a Command Prompt and navigate to C:\Windows\SysWOW64 
  4. Run regsvr32 acctinfo.dll. 
  5. Open Active Directory Users and Computers in the run dialog box: dsa.msc -32 
To ease access to the 32 bit Management Console, a shortcut can be created for dsa.msc -32

Monday, May 4, 2015

Since I can't help myself....




Robocopy

I'm trying to learn Robocopy. It's hilarious fun.

Protip: Don't call your Robocopy bat file Robocopy. You'll get stuck in an endless loop, and even if you terminate the command, the next robocopy script you run will go back to that same loop, and you'll go (even more) stark raving mad.

If you DID name your bat file Robocopy, and find that stupid script is looping over and over and over and over, simply rename the bat file to go on with your life. It took me far longer than it should and a few more Google searches than it should to figure that out.