Thursday, February 2, 2023

Find Disabled Computers in AD

 

  1. Open the Active Directory Users and Computers snap-in.
  2. In the left pane, connect to the domain you want to query.
  3. Right-click on the domain and select Find.
  4. Beside Find, select Common Queries.
  5. Check the box beside “disabled accounts.”
  6. Click the Find Now button.

Wednesday, March 17, 2021

Move a window opening on a non-existent screen

 

  1. In Windows 10, 8, 7, and Vista, hold down the “Shift” key while right-clicking the program in the taskbar, then select “Move“. In Windows XP, right-click the item in the task-bar and select “Move“. ...
  2. Use your mouse or the arrow keys on your keyboard to move the window back onto the screen.

Wednesday, January 27, 2021

Creating an Admin Shortcut

 More exact details to follow...

CD C:\ 
CD Progra~2 
CD MICROS~4 
CD ADMINC~1 
CD bin 
start micros~1.exe 
 C:\Windows\System32\runas.exe /user:{domain}\{user} /savecreds 
"C:\AdminShortcut\RemoteControl.bat"

Friday, August 7, 2020

Find Short File Name

 When you need to find the short file name for a file, navigate to the folder in CMD and run dir /x

Monday, March 6, 2017

Thursday, September 3, 2015

Unread Mail folder under Favorites in Outlook

I got really used to having quick access to my unread messages using the Unread Mail favorites folder.

Every time I have a new account using Outlook, I always forget to add it back, since it's not done automagically anymore. Once I remember I want it back, I have to look up how to do it!

Sad thing is it's pretty easy.

At the bottom of the list of folders in your account, there's a Search Folder.

Right click Search Folders, and click on New Search Folder.















Make sure Unread mail is selected in the Search Folder box and click OK.




















The folder will appear on Search Folders, and then you can right click it and select Show in Favorites. Now you can find the email you left unread so you can deal with it later.... about a week ago. :)

Tuesday, July 7, 2015

How to reset your WSUS

When your WSUS folder starts getting out of control, or you've removed a lot of stuff and the cleanup isn't giving you back your space, here's how to do a reset.

How to Do a Reset:

Note: You may want to execute the procedure below during off hours as your WSUS server will be downloading quite a bit of data.

1) Correct any settings above or disapprove any unneeded updates.

2) Close any open WSUS consoles.

3) Go to Administrative Tools – Services and STOP the Update Services service.

4) In Windows Explorer browse to the WSUSContent folder (typically D:\WSUS\WSUSContent or C:\WSUS\WSUSContent)

5) Delete ALL the files and folders in the WSUSContent folder.

6) Go to Administrative Tools – Services and START the Update Services service.

7) Open a command prompt and navigate to the folder: C:\Program Files\Update Services\Tools.

8) Run the command WSUSUtil.exe RESET

-This command tells WSUS to check each update in the database, and verify that the content is present in the WSUSContent folder. As it finds that the content is not present in the folder, it executes a BITS job to download the content from Microsoft. This process takes quite a bit of time and runs in the background.

How do you tell when the process is complete?

Other than noticing that the WSUSContent folder is no longer growing you can also check the SoftwareDistribution.log:

C:\Program Files\Update Services\LogFiles\SoftwareDistribution.log

When you start the reset process, you should see a line towards the bottom of the log which looks like this:

WsusService.13  ExecutionContext.runTryCode     State Machine Reset Agent Starting

After waiting for some time, check the log again and search for the text “State Machine Reset Agent Finished”

WsusService.13  ExecutionContext.runTryCode     State Machine Reset Agent Finished

http://blogs.technet.com/b/gborger/archive/2009/02/27/what-to-do-when-your-wsuscontent-folder-grows-too-large.aspx