Showing posts with label Scripting. Show all posts
Showing posts with label Scripting. Show all posts

Sunday, July 29, 2018

QuickPost: PowerShell Scripts and Win 10 Helps

Since having a system migrated to Windows 10, I’ve noticed a trend of the hard-drive getting significantly fuller now.  I’ve done all the standard post-migration cleanups. I cleared over 40 GB of old software packages off the system and was feeling pretty good.  The next day all my space-gains were lost and I was back at 100 GB of free space where I started.

I suspect there is some caching activity going on in the background and that it running off a quota that keeps me returning to the magical 100 GB free of a 500 GB drive.

Normally, I’d just run one of these tools to identify the space/file hogs and start cleaning up. I’ve ordered these in my general preference; though I like them all for slightly different things they bring to the table on a space-hunt.

However in this case I cannot use any third-party tools and must stick with using Microsoft OS-based solutions only.

So that led me to find a script I could use in PowerShell.

I’ve divided them into file-size analyzers and folder-size analyzers.

I found it is relatively easy to hunt down singular files on your system in PowerShell that are the largest. However, what happens if you have a bunch-load of very small files? Individually they may never float to the top, however in aggregate, they could add up to a lot of space usage.

I’ve listed these as well in my order of preference.

Note: They all seemed to run fine on my Win 10 systems in PowerShell ISE – though tweaking was needed for each one to target specific folders and/or report outputs – depending on the script.

PowerShell File-Hog Hunters

PowerShell Folder-Hog Hunters

If you do export output to CSV and don’t “pre-format” the bytes output to MB, here is a tip on a custom formatting rule in Excel you can use to make it more readable.

formatting - How can I format bytes a cell in Excel as KB, MB, GB etc? - Stack Overflow

I’ve not loaded Ubuntu on Windows to have a Bash console, but in looking for tools, I came across this that looked pretty neat: ncdu: Identify Large Files on Windows 10 - Trevor Sullivan

Finally, on Win 7 I used a pretty small set of common keyboard shortcut to navigate my way around the system.  In Windows 10, I’m finding a desire to expand my quick-access key combo skills. Here are some good resources:

If I’ve missed a useful script or you have any tips for hunting for space/file hogs using only “on-board” native Windows 10 OS tools, please drop a comment!

I expect I’ll be adding to the list of links in this post too as I uncover more PowerShell scripts that could be useful. As I post this, I think I am overlooking one or two others that I found useful

Cheers!

--Claus V.

Monday, May 30, 2016

Sysadmin Tools and Tips Linkfest: Part II

Mores…

Windows Updating and Patching – Tips and Tricks

Windows Troubleshooting and Tips

Windows Tools

Windows PowerShell

Microsoft News Bits

Cheers,

Claus Valca

Coding & Scripting Notes

I’m still working out the PowerShell basics and my study time allocated is woefully inadequate.

So for some crazy reason I’ve decided I need to expand my toolset.

Here are some links for my reference.

Learn SQL – Codecademy – This will be my primary focus because I interact daily with a SQL-based application and want to improve my query skills.

How to learn to code when you have no idea where to start – iMore. Serenity Caldwell provides a great collection of websites and recommendations for learning to code.

Learn the Basics of Four Programming Languages to Get to the Early Coder Stage – Lifehacker

Bento - Learn to code the way professional programmers do

Claus V.

Saturday, November 28, 2015

Gpupdate /mostlyfineasis

One of the cure-all’s we use at work for fixing issues with our AD-joined systems is to run the following command:

gpupdate /force

Fixes everything! (not)

So when this Helge Klien post came in this week with it’s incendiary lead-in, I had to pay attention.

How Group Policy Impacts Logon Performance #1: CSEs • Helge Klein

Gpupdate /force is for wimps!

Say you have changed a Group Policy setting in the domain and want to test its effects on a member computer. You open a command prompt and type:

gpupdate /force

Please pause and think this over before hitting enter. Why the /force switch? To show that stupid machine who is its master? Are you one of those people that click Apply before they click OK? Do you wear both belt and suspenders? Of course you do not! So let us take a look at the help text for the /force parameter:

Reapplies all policy settings. By default, only policy settings that have changed are applied.

That is quite telling. Group Policy keeps track of what has been applied and does not reapply settings that are already present. Nice! So why would we override this optimization? We would not. Using /force typically is only required when your Group Policy infrastructure (i.e. AD and/or DNS) are broken. Go fix it instead of telling poor old Group Policy to forego optimizations!


That got me digging just a little bit deeper into the whole gpupdate /force thing we do and tell others to do without consideration.

GPUpdate or GPUpdate /force? Learn the difference! - DeployHappiness.

From Joseph Moody’s entertaining post:


As it turned out, Group Policy was always working – I just didn’t understand it. So what’s the difference between GPUpdate and GPUpdate /force? Well –

GPUpdate: Applies any policies that is new or modified

GPUpdate /force: Reapplies every policy, new and old.

So which one should I use? 99% of the time, you should only run gpupdate. If you just edited a GPO and want to see results immediately, running gpupdate will do the trick. In fact, running GPUPdate /force on a large number of computers can be damaging to your career. This is because these machines will hit a domain controller and reevaluate every GPO applicable to them.

Note: If you are looking for the remote version of GPUpdate in Active Directory Users and Computers, see this guide.

Anything else?

Since you asked, why yes there is! GPUpdate has a few other options for you to use.

/LogOff: Certain GPOS, such as Folder Redirection, can’t apply in the background. If a logoff is required, this switch will initiate it.

/Boot: If a policy, such as software installation, needs to be applied – the boot command will reboot the machine.

/Sync: Useful for changing the foreground (startup/logon) processing to synchronous.



Also handy after running a “gpupdate” command:  “gpresult /h c:\temp\myGPreport.html”


Open with IE or Chrome or something and check your results of applied policies. If you use this technique, you can quickly search through the results with the search feature of the browser to highlight and jump to specific policy references you are looking for. It is a real time saver



Bonus Material



Cheers,


Claus Valca.

Sunday, May 03, 2015

Sysadmin Linkfest Extravaganza

Like I said, I’m opening up the floodgates…again for my personal reference but there is the off-chance you might find something useful in here.

Network Stuff

Vivaldi Browser News/Releases

Firefox/Mozilla News

Google Account Protection for Chrome (sort-of)

The point of the bypasses (to me) isn’t so much that Goggle’s effort is a fruitless effort, but that the noble cause demonstrates the challenges of password security monitoring and the (relative) ease of exploiting/bypassing such attempts.

Chrome Web Browser News and Tips

Internet Explorer 11 and Enterprise Mode

Critical Updates…better late than never…

I note that on at least one Win 7 Professional system I support (x64) KB3046269 continues to present itself as needing to be installed after it installs and the system reboots. This seems to be reported by others as well. It’s not fatal but is a nuisance.

Samsung SSD EVO 840 Firmware Released (+ other SSD news & Tips)

Previous details:

The Samsung Magician software update (v 4.6)and then followup firmware update (EXT0DB6Q) went smoothly on my EVO 840 SSD drive. The only special thing I had to do was first to disable RAPID mode, reboot, apply the update, reboot, enable RAPID mode again, then reboot.

New and improved utilities

Malwarebytes Anti-Malware Update

General Security Bits for Sysadmins

I have always liked using Stinger as an alternative malware scanning tool to get an additional opinion on a system’s state of cleanness after a malware infection. I also like the features that Raptor provides. However I’m not sure I like it being bundled in with Stinger; particularly since it actually installs into the system and you need to know in advance it does this…and how to remove it when done. Count me undecided for now…

So, have you seen that new Age-Guesser App from Microsoft? Guess what…

IANAL and there is some conflicting commentary about the TOS noted on the page link and the “P.S. We don’t keep the photo” statement also on that page. I’m just saying…

Update 05/04 - per the Observing Virality in Real Time article post, they have provided the following statement:

Updated 5/2/2015

We've had some questions so we updated this post to be more clear. To answer the top one: No we don't store photos, we don't share them and we only use them to guess your age and gender. The photos are discarded from memory once we guess. While we use the terms of service very common in our industry, and similar to most other online services, we have chosen not to store or use the photos in any way other than to temporarily process them to guess your age.

Tips, Tricks and Tools

I really like the OffCAT tool. It is awesome for diagnostics and configuration troubleshooting and assessments. This new version looks even more feature-packed!

Ubuntu 15.04 Released

It took forever to download and upgrade my previous Ubuntu install to 15.04. Sure I made the mistake of doing it over WiFi rather than a wired connection. And I didn’t stick with it so it hung up on some packages that needed my express confirmation and I had stepped away (slept overnight) so it couldn’t continue till I discovered the pause in the morning. I was running it in a Virtual Box session and it crashed a couple of times booting up after the upgrade process completed. However I kept rebooting and eventually it cleared the errors itself and continued on to a now stable state again. Upgrade was good.

Surface Pro 3 Admin

Microsoft Visual Studio Code release - Cool factor +10

Notepad++ works good enough for me for my humble code editing needs (XML/HTML markup mostly). However this also has syntax highlighting for a ton of languages.

Note per the project page fine print:

By downloading and using Visual Studio Code, you agree to the license terms and privacy statement for Visual Studio Code. When this tool crashes, we automatically collect crash dumps so we can figure out what went wrong. If you don’t want to send your crash dumps to Microsoft, don't install this tool.

So if that bothers you, be warned that here could be privacy dragons. Or just don’t crash their code.

Topics still to be posted from the bookmark hopper..

To name just a few…

Cheers!

Claus Valca

Sunday, August 10, 2014

I’m sure there is a better way to accomplish this…

In my GSD blog post Anti-Malware Response "Go Kit" I outlined a variety of tool-sets and standalone tools that I carry on my USB flash drive for dealing with malware responses on friends/family systems.

Keeping the IR tool-sets (Confessor, MIR-ROR, rapier, TR3 Tool Kit v2, and triage-ir) updated is a lower priority for a number of reasons.

  1. It’s a lot of work,
  2. the developers often require (due to licensing) the end user (me and you) to download the supporting binaries directly from the developers’ sites, and
  3. you always run the risk that a later utility update may break the way the scripts run on the package.

None of those are deal-breakers, but because of that, keeping those updated (aside from the main IR package) leads me to not update them as frequently, maybe once a quarter to biannually.

The ones that I do update frequently are the ones that are used to to sweeps for malware and/or viruses.

Most of these are signature based, and if they are updated, there there is a high likelihood a scan with an older tool may miss something critical!

So to keep them updated, I have a bookmark folder with URL links to all the tools. I then go down the list, click, download, copy to USB, rinse and repeat.

So yesterday I wondered if I could automate the process a bit. Kind of like a poor-man’s version of NirLauncher or KLS SOFT’s WSCC - Windows System Control Center.

I’m sure there is a better way to do this, but this was my “it works for me” result.  I’m not posting the actual files (at least in fullness for now) but will show you the basics so you can build your own if you want.

First, I considered (and may still go to) a process/script that uses Wget for Windows - GnuWin32.

But I wanted to start with what I knew (or thought I did) for now.

To get the ball rolling, I made a “landing zone” folder on my Windows system at C:\TEMP\AMW_Packages

This is where I wanted to download the updated files into. I wanted to keep it separate in case I decided I didn’t want to end up overwriting any of my previous files. So once all the packages are downloaded here, I will manually copy them over onto my USB drive folder where they reside full-time.

I then created a Windows BAT file called “a-AMW_Package downloader.bat”

It does a few things.

It deletes all the files/folders in the “C:\TEMP\AMW_Packages” location to get a clean start.

It then runs down a list of the utilities I need to get/update, and downloads them into the “C:\TEMP\AMW_Packages” folder using PowerShell. (I know! Cool!)

Then, there are some packages that have some fancy dynamic page tricks/EULA’s that make getting those binary files a bit of a hassle. Some of those I was able to work around with the PowerShell commands below. However others were not so cooperative. And that was OK.

So at the end of the BAT file, it calls a custom EXE called “a-BAT-IECall.exe”.  That file was a different PowerShell script block I came up with to open up all those “problem” site URL’s in a single Internet Explorer window session, each in a different tab; more on it in a bit.

The resulting automatically opened IE window allows me to review/download those “manually” as needed.  (I guess I could put it at the front so I could be manually downloading those as the script continues to run in the background. But this made sense to me. I also dropped some FYI URL pages as well there to remind me of some tricks I keep forgetting or to see if any new tools are available that I may want to add to my tool-kit.

Here is an abbreviated version of the BAT file “a-AMW_Package downloader.bat” contents. You should be able to get the gist of what I am doing and add more lines for other resources you may want/need.

:: Anti-Malware Response “Go-Kit” Downloader

:: Clean Up Download folder first

set folder="C:\Temp\AMW_Packages"
cd /d %folder%
for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)

:: Now Let's Get the Files!

:: Process Explorer
powershell -Command "(New-Object Net.WebClient).DownloadFile('
http://download.sysinternals.com/files/ProcessExplorer.zip', 'ProcessExplorer.zip')"
powershell -Command "Invoke-WebRequest
http://download.sysinternals.com/files/ProcessExplorer.zip -OutFile C:\temp\AMW_Packages\ProcessExplorer.zip"

:: AutoRuns
powershell -Command "(New-Object Net.WebClient).DownloadFile('
http://download.sysinternals.com/files/Autoruns.zip', 'Autoruns.zip')"
powershell -Command "Invoke-WebRequest
http://download.sysinternals.com/files/Autoruns.zip -OutFile C:\temp\AMW_Packages\Autoruns.zip"

:: Microsoft Safety Scanner & Malicious Software Removal Tool  (+ download others manually in a bit)
powershell -Command "(New-Object Net.WebClient).DownloadFile('
http://go.microsoft.com/fwlink/?LinkId=212732', 'msert.exe')"
powershell -Command "Invoke-WebRequest
http://go.microsoft.com/fwlink/?LinkId=212732 -OutFile C:\temp\AMW_Packages\msert.exe"

::And so on, and so forth for all the other tools as needed

:: Trend Micro Anti-Threat Toolkit  (download manually in a bit)
:: VIPRE Rescue (download manually in a bit)
:: AdwCleaner (download manually in a bit)
:: ComboFix (download manually in a bit)
:: Rootkit Buster - x86 - Trend Micro  (download manually in a bit)
:: System Explorer (download manually in a bit)

:: Misc Tools and Utilities (Now we fire up IE via a PowerShell script) so we can launch IE and the link URLs in tabs for manual download if we need them.

a-BAT-IECall.exe

Exit

Just add more of those download lines for all the tools you need as long as the URL download links are functional with this method.

So next, about that “a-BAT-IECall.exe”

This took a bit of creative work to generate.  There are other ways to launch IE in a standard BAT file, but it ended up opening each URL in a separate IE window that cluttered up my system, despite my best attempts. So this way worked perfectly, and because: PowerShell!

The PowerShell script that is the heart of the engine looks like this:

$ie = New-Object -ComObject InternetExplorer.Application
$ie.Navigate2("
http://systemexplorer.net/download.php")
$ie.Navigate2("http://www.vipreantivirus.com/live/",0x1000)
$ie.Navigate2("https://toolslib.net/downloads/viewdownload/1-adwcleaner/",0x1000)
$ie.Navigate2("http://www.bleepingcomputer.com/download/combofix/",0x1000)
$ie.Navigate2("http://www.bleepingcomputer.com/forums/t/403413/cannot-execute-exe-reg-regedit/",0x1000)
$ie.Navigate2("http://free.antivirus.com/us/rootkit-buster/index.html",0x1000)
$ie.Navigate2("http://www.microsoft.com/security/scanner/en-us/default.aspx",0x1000)
$ie.Navigate2("http://www.microsoft.com/en-us/download/malicious-software-removal-tool-details.aspx",0x1000)
$ie.Navigate2("http://windows.microsoft.com/en-us/windows/what-is-windows-defender-offline",0x1000)
$ie.Navigate2("http://esupport.trendmicro.com/solution/en-us/1059509.aspx",0x1000)
$ie.Navigate2("http://support.kaspersky.com/viruses/utility",0x1000)
$ie.Navigate2("http://firesage.com/mbrwizard.php?x=4x",0x1000)
$ie.Navigate2("http://freeofvirus.blogspot.com/2009/05/remove-fake-antivirus-10.html",0x1000)
$ie.Navigate2("http://www.bleepingcomputer.com/download/rkill/",0x1000)
$ie.Navigate2("http://www.bleepingcomputer.com/download/unhide/",0x1000)
$ie.Navigate2("http://www.bleepingcomputer.com/download/windows/security-utilities/",0x1000)
$ie.Navigate2("http://support.microsoft.com/kb/299357",0x1000)
$ie.Visible = $true
stop-process $PID
#

Add/remove/change URLs accordingly.

To create the EXE version for this PowerShell script to include the call to in your main BAT file:

  1. Edit the PowerShell script block above to add/change/remove any URLs
  2. Save it somewhere for quick future re-editing.
  3. Launch the PowerGUI Script Editor.
  4. Create a new workspace tab.
  5. Copy those lines into it.
  6. From the menu bar select “Tools” then “Compile Script…”
  7. Select where you want to save it...should be same place as the “a-AMW_Package downloader.bat” BAT file…and what name you want to give it, for me I used “a-BAT-IECall.exe”
  8. I left the Target framework set at “Microsoft .NET Framework 4.0” for my system.
  9. I guess you could give it a cool custom icon if you wanted. I didn’t for now.
  10. Select “OK” and let it build!
  11. Close stuff out when done.
  12. Find/test! (see result below)

3kq2ba2q.oox

Now, when I want to update my IR package tools, I just fire off the main BAT file and away it rips, leaving me to manually download just a few packages myself -- if desired -- from IE.

Misc Notes and references.

I wasn’t aware until composing this post that the PowerGUI project appears to have been taken over by Dell: Welcome to the New Home of PowerGUI. OK.

I’m sure there are WAY BETTER ways to deal with this with Wget, PowerShell, BAT files, but this works and I learned a lot in the process. I’m open to recommendations/suggestions.

The PowerShell commands in the BAT file are pretty flexible.

powershell -Command "(New-Object Net.WebClient).DownloadFile('URL-path-for-binary.file', 'binary.file’)"
powershell -Command "Invoke-WebRequest
URL-path-for-binary-file -OutFile C:\temp\AMW_Packages\binary.file"

This one is straight forward with the pattern:

:: AutoRuns
powershell -Command "(New-Object Net.WebClient).DownloadFile('
http://download.sysinternals.com/files/Autoruns.zip', 'Autoruns.zip')"
powershell -Command "Invoke-WebRequest
http://download.sysinternals.com/files/Autoruns.zip -OutFile C:\temp\AMW_Packages\Autoruns.zip"

I was able to make changes to some of the “binary.file” names to change the name as it got saved, and in some cases the URL path didn’t actually contain a binary.file name in the path but it still handled it OK. Once you have the format down you can experiment a bit. See below for one example:

:: Microsoft Safety Scanner & Malicious Software Removal Tool  (+ download others manually in a bit)
powershell -Command "(New-Object Net.WebClient).DownloadFile('
http://go.microsoft.com/fwlink/?LinkId=212732', 'msert.exe')"
powershell -Command "Invoke-WebRequest
http://go.microsoft.com/fwlink/?LinkId=212732 -OutFile C:\temp\AMW_Packages\msert.exe"

Here are the URL’s of many of the sites/tips I reviewed to get me to this stage, and a few that I wanted to do but couldn’t quite get to work like I wished.

Again, any tips, tricks or alternative suggestions would be appreciated!

Cheers!

--Claus V.

P.S. Microsoft has a number of tools for scanning/removing malware from a system.

Microsoft Malicious Software Removal Tool - This is on most all Windows systems as the MRT.EXE file. Type “MRT.exe” in the RUN bar and you will be off to the races (assuming Windows Updates are current, otherwise download the file manually above or effectiveness will be diminished.)

Then there is the heavy-duty version Microsoft Safety Scanner which gets updated every 10 days.

And, in my original post I mentioned the Microsoft Standalone System Sweeper from Microsoft that was available only via the Microsoft Connect site unless you went through a third-part download source. See this Utility Spotlight: Repair Your PC Infection from TechNet Magazine to get more info on it.

Working on the URL/Download location for this one led me to discover the Windows Defender Offline tool that may have replaced (?) the Microsoft Standalone System Sweeper.  This one is for most “modern” versions of Windows but if you are running Windows 8.1 you will need to jump to this Windows Defender Offline Beta build page.

--cv

Saturday, August 02, 2014

Bargain Basement SysAdmin Link Sale!

It’s that time of the year again for Claus to unload all of the pending Sysadmin-related links that he’s been collecting.

Bear with me here…some of these are older than others and this is more of a link-dump then those posts that come with more commentary.

Think of it more like a “pop-up” edition without the actual pop-ups.

Actual SysAdmin Stuff

TinyApps bloggist recently thought I might be interested in a sysadmin-related site called System Administration Screencasts.

Indeed I was!  Though it mostly follows a *nix bent, there is lots of great material here. Most all of it is screen casting, however in most episodes a transcript can be found.  I’m working my way through these right now:

I really encourage you to also check out the About page as there are some great “recommended reading” links as well.

I’m particularly curious about The Visible Ops Handbook: Implementing ITIL in 4 Practical and Auditable Steps book to see if it can enhance the ITIL trainings I’ve already been to.

That also reminded me of this giant list of RSS feeds that the Standalone Sysadmin posts (with a OPML file for fast snagging) that TinyApps also shared with me in the past.

Oh, and one of my favorite miscellaneous sysadmin sites is the MoonPoint Support Weblog. I frequently find troubleshooting tidbits that are valuable. I also finally found the RSS feed for that weblog so now I can follow the postings much more easily.

Daniel Miessler’s blog is another of those sites that is a balance of tech, troubleshooting, and ponderings on deeper life stuff. I really appreciate all he posts and look forward to his frequent and new postings.

Mostly Microsoft & Active Directory Stuff

AD Info - Active Directory Reporting Tool - Ckwdev - free/$ versions - recently bumped to v 1.7.9. There are lots of other tools there as well but some of the most helpful might be AD Permissions Reporter, AD Info, and AD Tidy. Check out the software link for more info on those and many more.

Those reminded me of the Sysinternals tool AD Explorer which I love and use almost daily.  It hasn’t been updated since November 2012 but I guess it still does the job perfectly.

Weekend Scripter: Non-PowerShell Books for PowerShell People - Hey, Scripting Guy! Blog

New PowerShell Scripting Tools Released - The Deployment Guys

Windows PowerShell 4.0 Book and Guides from Microsoft - The Windows Club

Download Windows PowerShell 4.0 and Other Quick Reference Guides - Microsoft Download Center

Download Windows Management Framework 4.0 - Microsoft Download Center

Microsoft's USGCB Tech Blog - Aaron Margosis blogs here occasionally.

Utility and Software - New and Updated

Updates: Autoruns v12.0, Procdump v7.0 - Sysinternals Site Discussion

Updates: AccessChk v5.2; PsExec v2.11; Sigcheck v2.1; VMMap v3.12 - Sysinternals Site Discussion

PassMark MemTest86 - $/free versions updated to 5.1.0 back in May (hat-tip to RMPrepUSB, Easy2Boot and USB booting)

Svchost Process Analyzer - Neuber software - free tool to check out the svchost.exe loaded processes. No install needed.

Moo0 File Monitor 1.11 - Moo0 software - interesting tool to monitor file access activities on your system. Spotted via this AddictiveTips blog post.  Note it  reminds me a bit of this great NirSoft tool FolderChangesView.

CCEnhancer 4.0 - SingularLabs - This one got some pretty big feature updates recently.

ImDisk Virtual Disk Driver - Version 1.8.4 released July 2014.  See also this project: ImDisk Toolkit - reboot.pro

dErase - Foolish IT LLC - free tool (now at v2.0) that does file/folder deletions with secure optional secure delete routines.  Ignores file system ownership/permissions when executing so use carefully! 

dBug - Foolish IT LLC - interesting tool to use when dealing with malware impacted systems. Basically it removes auto-start items and exe runs from know problem locations. This should allow killing of malware auto-loads which may prevent effective system cleaning. Once remediated, the tool can be re-run then puts the changes back in place.

Windows Troubleshooting Tools and Tips

Case of the Office Hang on Launch - chentiangemalc

Using Process Monitor (procmon) to Analyze Windows File Share Access (by Paul Offord) - LoveMyTool blog

Guide to Freeing up Disk Space under Windows 8.1 - Scott Hanselman

Fix .NET 4.5/ 4.5.1 issues with Microsoft .NET Framework Repair Tool 1.2 - BetaNews

Download Debug Diagnostic Tool v2 Update 1 - Microsoft Download Center

Download Debug Diagnostic Tool from Microsoft - The Windows Club (info)

VirtMemTest: a utility to exercise memory and other operations - Aaron Margosis' Non-Admin, App-Compat and Sysinternals WebLog

Offline-Update: Get WSUS Content .NET Version 2.7 - Borns IT- und Windows-Blog (original language) and Google Translated link - This was a new “offline update” tool that I recently read about. You may want to see if the feature set it offers is better for your needs than other tools such as WSUS Offline Update (still my favorite), WHDownloader, Portable Update, or Windows Updates Downloader (WUD).

Install Windows 8.1 from a USB stick with WinSetupFromUSB - 4sysops

The 12 step process to download Microsoft SQL Server Express 2014 - istartedsomething

Download SQL Server Express - Scott Hanselman

Download Visual Studio Express - Scott Hanselman

Booting Windows8.1ToGo from a USB Flash drive - RMPrepUSB, Easy2Boot and USB booting...:

Windows Performance Monitor Overview - Ask the Performance Team

Available for pre-order: Windows Performance Analysis Field Guide - Clint Huffman's Windows Troubleshooting in the Field Blog

Email Stuff

Mailviewer Opens Old Outlook, Thunderbird, and Windows Live Emails - Lifehacker

Mail Viewer - MiTeC homepage

PST Viewer - Kernel Data Recovery

OST Viewer - Kernel Data Recovery

Web-related Stuff

Advanced Gmail Filters to Manage Your Email Messages - Digital Inspiration

Browser plugin to highlight and copy text from any image - Tinyapps.org points us to the fun Project Naptha

For Internet Explorer 11 users, no update now means no security fixes - Ars Technica

Determining the default browser from the command line - MoonPoint Support Weblog

Moving from GoDaddy to DNSimple – an illustrated journey - Troy Hunt amuses and entertains again.

I Know Where Your Cat Lives - Project page - Scary - More project information here.

Enough lest we break the Interwebs…

Cheers!

--Claus Valca

Sunday, February 16, 2014

Small bytes for the sysadmins this week

Finally (did I really just slam up eight posts today?!!) here is a collection of links that may appeal to the sysadmin crowd here at GSD blog.

Fix problems that programs cannot be installed or uninstalled - Microsoft Support FixIT tool.  I ran across this tool mentioned as a possible solution maker when I was monitoring the recent spate of Apple iTunes update FAIL that happened just a while ago.

Per the Microsoft Support page link above:

Fix problems that programs cannot be installed or uninstalled.

Automatically repair issues that block program installation or removal because of corrupted registry keys. Find other automated solutions

What it fixes...

  • Corrupted registry keys on 64-bit operating systems
  • Corrupted registry keys that control the update data
  • Problems that prevent new programs from being installed
  • Problems that prevent existing programs from being completely uninstalled or updated
  • Problems that block you from uninstalling a program through the Add or Remove Programs (or Programs and Features) item in Control Panel

Free Tools for Active Directory Administration - WindowsNetworking.com

FREE: AD Permissions Reporter – View Active Directory permissions - 4sysops

…see also Free Active Directory Tools - 4sysops - Mondo list of free AD tools over at 4sysops

Microsoft Resource Monitor Quickstart (by Tony Fortunato) - LoveMyTool blog

Verifying a zeroed disk with zerocheck.sh - TinyApps blog. I need to experiment to see if the script can be ported/work under a Windows port; Is there a way to run Bash scripts on Windows? and win-bash - bash port for Windows. I’ll also dig around to see if there could be a PowerShell method as well.

PowerTip: Mount ISO or VHD File with PowerShell - Hey, Scripting Guy! Blog

2 Ways To Convert AVI & MKV Files To Add Videos To iTunes - MakeUseOf blog

Coming soon in Windows 8.1 Update 1: Internet Explorer Enterprise Mode — Within Windows

Windows 8.1 Update 1 leaks online -- This is what's new - BetaNews

Whew!

And just to prove that Claus isn’t all work and no play…my brother and I hooked up over the weekend and spend a breezy, clear and beautiful day exploring a regional bird-watching park. He tended to go for photos of actual birds. My shots were more of “desktop” background compositions…though I did get more than a few ducks in the frame.

Unfinished Bridgenessetknnfwj.xub

Do Not Passalwnbejc.eyg

Zig-Zag05xomivd.qjc

Pond3pzz13eo.jw1

Ducknnu0txvt.kjn

Cheers!

--Claus Valca

Saturday, January 11, 2014

Sysadmin Linkfest Grab-Bag Collection

Over the past several months I’ve collected the following interesting links, articles, blog-posts, and utility notices that caught my fancy.

I’m pretty confident you will be able to find at least one link here to entertain yourself with.

ComputerZen Ultimate Utility List 2014 Edition

Scott Hanselman's 2014 Ultimate Developer and Power Users Tool List for Windows - Scott Hanselman - I found more than a few power-tools listed here that I use and several new ones I made the note to explore further. Many of the tools here are developer specific but that doesn’t mean the average sysadmin cannot locate something they could use.

Utility Rundown

Updates: Coreinfo v3.21, Disk2vhd v2.0, LiveKd v5.31 - Sysinternals Site Discussion

Using Autoruns to validate system drivers - Clint Huffman's Windows Troubleshooting in the Field Blog

RawCopy - reboot.pro - NTFS file copier for low-level disk reading by parsing the $MFT, including locked ones.  Spotted via this BetaNews post: RawCopy lets you copy any NTFS file -- even if it’s locked

Of course that “RawCopy” shouldn’t be confused with these other (also great) file copiers:

USB Related

USB Image Tool 1.64 released. See the USB Image Tool main page for one of the best USB device imaging apps I’ve ever used.

Having trouble making files contiguous on a USB drive? - RMPrepUSB, Easy2Boot and USB booting.  Great tip on using Defraggler to make specific files contiguous on your USB drive.

Sysadmin Tips and Talk

How to Copy Recovery Drive to an External Drive in Windows 8.1 - Next of Windows

Adobe credentials and the serious insecurity of password hints - Troy Hunt’s blog

How to Get a Windows XP Mode Virtual Machine on Windows 8.1 - Lenny Zeltser - very clever!

Remotely query user profile information with PowerShell - 4sysops

WinSxS Folder Cleanup – Regain disk space in Windows 7 - 4sysops

Remoting Week: Non-Domain Remoting - Hey, Scripting Guy! Blog

Case Of The Missing Ini Files – A WinDbg Reconstruction - chentiangemalc - Brilliant explanation on how with tremendous patience and WinDbg, some missing INI files were re-created for customer program operation.

Video: Checking the Digital Signature of Windows Executables - Didier Stevens

Virtual Machines

Releasing IE11 virtual machines to modern.IE - Windows blog

IE11 Virtual Machines Now Available on modern.IE - IEBlog

Basically, IE 11 for Windows 7 and IE 11 on Windows 8.1 virtual machines have now been released by Microsoft. Go get ‘em!

Oracle VM VirtualBox - Version 4.3.6 was released a while back. See the Changelog for details.

Project Management Software

I hesitated dropping these links here rather than giving them their own post. But here they will sit.

Project Management Tips and Software - my original post from back in 2007. Been a while…

Express Project - free project planning software. I think this is what got my re-hunt for project management software restarted. Screenshots

GanttProject - free desktop project management tool

Bridging the Gantt - PDF Link - SANS Institute Reading Room paper. Nice intro to the Gantt tool.

OpenProj - Project Management - Free project management program.

Open Workbench - another free project management program.

TaskJuggler - free project tool.

dotproject - Open Source project and task management software

ΤΙΜΙΟΣ Gantt Chart Designer - almost as simple as you can get.

Manual Gantt Charting in Excel - David Seah

Miscellaneous Software Finds

NimbleText - a fine little freeware (for now) tool

PhotoFilmStrip - Ken-Burns Slideshows in Full-HD - just updated to version 2.0 in late November 2013. I love this tool and it really makes doing videos of static digital picture files much more interesting for presentations.

LibreCAD, 2D-CAD - version 2.0 was recently released.  MS Visio does all my heavy lifting, but I’ve seen some CAD masters do amazing floor plans with their CAD app that can run circles around my Visio work. So this seems like a great place to get your feet wet in CAD software at a great price point - Free! See also the large list of YouTube video tutorials: librecad - YouTube. For those who want to really try with no commitment, check out LibreCAD Portable 2.0.0 (2D computer-aided design (CAD) tool) over at PortableApps.com

Ultimate Windows Tweaker 3.0 for Windows 8 - I’ve not done much tweaking to Lavie’s Windows 8 system. We did add a start-button replacement utility and make some minor tweaks but that was pretty much it. That said, this would be a great tool for doing some more advanced tweaks to Windows 8.

Projects - Bitdefender Labs - Bitdefender has a number of free security-focused tools here for the interested.

Cheers,

Claus V.