List of WMI Privileges

Microsoft has a published list of optional WMI privileges at the following link: http://msdn.microsoft.com/en-us/library/aa392758(VS.85).aspx These privileges are sometimes necessary for enabling certain operations in WMI. For example, if you do not specify the Security privilege when accessing instances of the Win32_NTLogEvent WMI class, you will not be able to view event log entries from the … Read moreList of WMI Privileges

Prevent Installation of ConfigMgr Client

You may have some systems which you specifically want to exclude from installing the ConfigMgr client. There are a variety of automated methods in which a system may get the ConfigMgr client installed, desired or not. These methods could include: Client push installation Active Directory startup script Centrally executed management / health check script Recently, … Read morePrevent Installation of ConfigMgr Client

AutoIT: Enumerating all Windows

Here is a short script I wrote using AutoIT, which enumerates all of the windows, to the StdOut stream: ConsoleWrite(“Enumerating windows”) $AllWindows = WinList() ConsoleWrite(“Found ” & UBound($AllWindows) & ” windows”) for $i = 0 to UBound($AllWindows) – 1 ConsoleWrite(@lf & “Name: ” & $AllWindows[$i][0]) ConsoleWrite(@lf & “HWND: ” & $AllWindows[$i][1]) next ConsoleWrite(@lf & “Completed … Read moreAutoIT: Enumerating all Windows

Windows API Code Pack

There is some free code available on the MSDN Code Gallery, called the Windows API Code Pack for Microsoft .NET Framework, which enables .NET developers to access certain Windows 7 features that are not typically available via the .NET Base Class Library (BCL). Naturally, since this is .NET code, the same functionality ought to be … Read moreWindows API Code Pack

Uploading a Video to Youtube via PowerShell

Hey guys! I know it’s been a long time since I have posted anything useful (that is, assuming anything I post is useful! haha). While sitting at Starbucks today, I suddenly came up with an idea for a new post though, and after doing a quick bit of research, figured I would write about it! … Read moreUploading a Video to Youtube via PowerShell

Handy Process Management Utilities

Hey guys, I just wanted to share a couple of cool utilities to assist with managing processes. ImageCFG (http://www.robpol86.com/index.php/ImageCFG) ImageCFG is a utility that lets you tweak the CPU affinity of an executable. What does this mean? Well, if you have a multi-core system, or even a hyper-threaded (virtual multi-core) system, you can restrict which … Read moreHandy Process Management Utilities

PowerShell: Allowing all file exts. for ConfigMgr

When running Configuration Manager 2007 on Windows Server 2008, you must enable certain file extensions in IIS, so that a BITS-enabled distribution point (DP) can transfer files correctly. See this Technet article for more information. If you would like to enable all of the file extensions on a BITS-enabled DP, simply run the following PowerShell … Read morePowerShell: Allowing all file exts. for ConfigMgr

PowerShell: Making WebDAV Configuration Edits on Server 2008

If you’re configuring a Windows Server 2008 system to be a ConfigMgr site system, you may have noticed that you need to make some changes to the WebDAV configuration in IIS. Unfortunately, making those changes through the IIS GUI doesn’t always work quite right. Instead of digging around inside of an XML file though, you … Read morePowerShell: Making WebDAV Configuration Edits on Server 2008