Windows Tech Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, 31 May 2011

A Quasi-Scientific Analysis of DoucheBaggery

Posted on 15:59 by Unknown

I was just thinking.  Yes: occassionally I do that.  We Americans like the word “douche” very much.  We use it in combination with other words to create nouns, verbs and adverbs in very creative ways.  But when denegrating others, in our rush to make a cool sounding phrase, we are actually cheating ourselves of using a more appropriate phrase: enema bag. 

That’s right.  We like to say “douche bag!” and other phrases like “douche-face”, “douche-breath” and “sir douche-a-lot”, or even my personal favoriate: “Lord Douchely” (only if you say it like a big, barrell-chested retired British Army Colonel with a bushy mustache and monacle). 

We don’t call people “enema bag” and “enema face” because it just doesn’t roll off the tongue quite as well.  So, douche wins.  Not because it’s actually a symbol of lowest comparative denominator, but because it just sounds better.  It’s also easier to say “douche brain” than “enema bag” when you’ve polished off a case of beer.

And some people wonder why I don’t get government study grants handed to me.  P-shaaaa!

Read More
Posted in bongloads, cranium drainium, languages, people, society, thoughts | No comments

Programming Thoughts

Posted on 12:37 by Unknown
If you write code that supports an application that maintains an active stream read (consumes a data stream) from a remote file, registry key, WMI/WBEM provider, DB source, etc., such as an active log parser or event monitor, and your app hangs when the remote connection fails:

Walk outside and kill yourself. Your software sucks and is causing pain to other human beings. If suicide isn't your thing, then volunteer for medical research. That is all. Thank you.

Read More
Posted in | No comments

Friday, 27 May 2011

Stupid Geek Tricks: PowerShell, VBscript, Jscript

Posted on 18:10 by Unknown

When I’m bored on a Friday night and none of my twitter followers are bored enough to suggest something for me to do, I do stupid crap like this:

PowerShell script that calls Cscript and a VBS script, which invokes Javascript and returns the result up the pipeline back to PowerShell.  Enjoy.

PowerShell code (test1.ps1):

$answer = cscript.exe /nologo .\test1.vbs
"Cosine of 33 is $answer"


VBscript code (test1.vbs):



Function Cosine(numValue)
Set sc = CreateObject("ScriptControl")
sc.Language = "jscript"
result = sc.Eval("Math.cos(" & numValue & ")")
sc = 0
Cosine = result
End Function

x = Cosine(33)
wscript.echo x


Drop both files in the same folder and run the PowerShell script to spank the VBscript into submission.  Yes, I know it's not passing object handles around, but rather just passing strings around but who cares. It's Friday and I'm bored out of my skull. I have no life. I hope you do.

Read More
Posted in bongloads, powershell, programming, scripting, vbscript | No comments

The 10 Basic Laws of Scripting

Posted on 12:45 by Unknown
These apply regardless of language, platform, nationality, planetary or galactic realm...



1. Thou shalt Document thy code or thou shall be kicked in thy crotch, severely and repeatedly. Thou shall at least provide a heading to denote filename, author, date and description.



2. Hard-coded folder paths shall be avoided at all costs. Use path variables from the fountain of variables. Violators shall be violated by gangs of convicts.



3. Assumptions shall not be taken about execution environment conditions. All shall be validated at runtime.



4. Error checking shall be done at all points where even the idea of an error might occur.



5. All errors/exceptions shall be properly handled or thou shall be banished to thy woodchipper. This applies to type checking as well.



6. Execute remote elevation in local system context. If thou hast done their preparation, this will always work.



7. Thou shall consume caffeine or alcohol if permissible. Even if not permissible.



8. Expect failures at every point and plan ahead for them.



9. Thou shall test thy code in an isolated environment before ever touching thy production environment. Failing to heed will result in a most horrific use of ice-climbing boots



10. Nay-sayers shall be drawn and quartered.



Let it be written.
Read More
Posted in | No comments

Tuesday, 24 May 2011

What’s Wrong with this Blog

Posted on 19:44 by Unknown

This blog.  My blog.  It violates almost every rule SEO nutjobs insist upon.  But that’s exactly why I chose the path I’ve taken with it.  The name “Skatterbrainz” has been my monicker for years.  I started on Twitter with it, but before that I used it when signing up on forums and bulletin boards and various other things.  There are other people using the same name of course, but I only use it on tech-oriented sites and my own blogs and sites.

They say a blog should stick to a narrow, focused, concise topic or subject.  I do not.

They say a blog should mention brand names within a focused context.  I do not.  Well, not usually.

They say a blog should be closely integrated with a holistic social network experience. Mine does not.

Do I pay a price for this ecclectic diffusion of mental diversity?  Not really.  Blogs are free.  I spend time on it, but to me that is therapy.  I make no money from this blog in any way except to mention my books (ok, ok, okaay, geeez: e-books), but that’s still not a direct return.  My total AdSense revenue balance is around $0.20, so that doesn’t count really.

I’ve tried several times to elicit feedback from readers as to what subjects I should focus on mostly, but that was a failed effort.  The four responses I received were entirely unrelated and offered no real direction to follow.  So, without a GPS to guide me on my journey through the fields of idiocy, I chart my own course using my patented Stevie Wonder GPS.

I don’t possess enough pure technical wisdom to maintain a serious fountain of knowledge like other blogs do, which is fine.  They do an amazing job of that already.  I’m not trying to compete with anyone.  I just dump my thoughts and hopefully a little something to make someone smile.  Even if I just make someone shake their head in total disbelief, that’s a good thing.

I’ve taken some breaks and pauses along the way.  I’ve even given up on it twice, but I had to come back to it.  I wasn’t even sure if anyone was reading it, but that isn’t important.  I hope to keep this thing going for a while longer.  Above all, I want to thank YOU for reading my posts and sharing your thoughts with me and other readers.

Read More
Posted in blogs, thoughts | No comments

Assorted Ways to Detect .NET 4.0

Posted on 19:26 by Unknown
CMD / BAT

@echo off
reg query hklm\software\microsoft\.NETFramework\v4.0.30319 >nul
if %errorlevel%==0 (
echo found
) else (
echo not found
)

VBScript Registry Test

Set oShell = CreateObject("Wscript.Shell")
On Error Resume Next
bKey = oShell.RegRead("HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\")
If err.Number = 0 Then
wscript.echo "found"
Else
wscript.echo "not found"
End If

PowerShell Registry Test

if (test-path hklm:\software\microsoft\.NETFramework\v4.0.30319) {
write found
} else {
write not found
}

VBScript Folder Test

Set objFSO = CreateObject(“Scripting.FileSystemObject”)
If objFSO.FolderExists(“C:\Windows\Microsoft.NET\Framework\v4.0.30319”) Then
wscript.echo “found”
Else
wscript.echo “not found”
End If

PowerShell Folder Test

If (test-path $env:windir"\Microsoft.NET\Framework\v4.0.30319") {
write found
} else {
write not found
}

VBScript WMI Win32_Product Test

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery( _
"SELECT * FROM Win32_Product WHERE Caption LIKE '%.NET Framework 4%'",,48)
For Each objItem in colItems
Wscript.Echo "Caption: " & objItem.Caption
Next
Read More
Posted in scripting, vbscript | No comments

Wise is Dead

Posted on 06:20 by Unknown
It's official. Wise Package Studio, like the Wise brand itself, is dead. It just doesn't know it yet. Like a family circled around their 116 year old grandfather laying on a bed in a coma on life support. They refuse to accept the inevitable.



Was there an official announcement? No. I'm basing this diatribe on de facto environmental signs.



What signs?



- WPS 8.0 doesn't install and work properly on Windows 7. At least not consistently. Even though the brochure material hints that it is.



- The Symantec folks at Tech-Ed 2011 reacted to my Wise questions as if they were surprised that the brand name was still in existence.



- The comments in the Symantec Endpoint Wise Package Studio forums are pretty blunt that Symantec is not putting any effort or funding into future development.



That means Flexera will soon be the market monopolist. Even with dozens of smaller vendors in the ring, most customers are moving to, or will soon move to AdminStudio.



What a shame. I've been involved with software development projects staffed with brilliant and creative people, but were suffocated to death by accountants and clueless MBA golfers. I think of that when I realize how much work has been put into WPS over the years. With Symantec producing pure shit products on a higher marketing level, this is one that could retain their integrity and value as a real competitor in a market of only two real players. Both of which being way over-priced.



Oh well. Sorry to see you go, Wise. You were pretty good while you were alive. RIP.
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Voting Time: Help Me Out?
    I need to get a better view of how I should manage this blog if I'm going to keep at it. I'd like to know how you typically discover...
  • A World Without Competition
    Try to imagine what things would be like today had there not been fierce competition in certain key parts of our world.  I’ll give you some ...
  • Book Update
    I posted some gibberish a few weeks ago about another book project.  Well, I'm getting close to wrapping it up, so I thought I'd go ...
  • Cost
    Software technology, like any technology, provides a means to solving problems.  Some big. Some small.  Some that help.  Some that hurt.  An...
  • Windows 7: Default User vs All Users
    A lot of confusion seems to occur with understanding the difference between the "Default User" profile, and the "All Users...
  • Time to Give Props
    With the ever-expanding volume and breadth of information on the Internet today, it's easy to focus on my own thoughts, experiences, ide...
  • Table of Contents (Preliminary)
    Here's the preliminary Table of Contents for my new book "The AutoCAD Network Administrator's Bible - 2013 Edition".  I...
  • The Nicest IT and IT Vendor Folks I Know
    I've ranted many times before how it's unfair to "hate" an entire company, without providing a rationale for it based on s...
  • Windows 8
    Two small, yet irritating things, that I hope Windows 8 addresses with respect to Windows 7: Being able to put the Recycle Bin in the S...
  • Stupid Assumptions
    After years of watching sci-fi TV shows, movies, etc. it's finally come to a point where even the so-called brightest of our authors and...

Categories

  • a
  • activation
  • active directory
  • advertising
  • agile
  • agility
  • amazon
  • american
  • apple
  • application virtualization
  • applications
  • art
  • articles
  • asp
  • augi
  • authors
  • autocad
  • AutoCAD Autodesk
  • autodesk
  • autolisp
  • automation
  • automotive
  • backups
  • batch
  • beer
  • beta
  • blackberry
  • blogs
  • bongloads
  • book
  • books
  • Books writing kindle amazon technology business projects
  • browsers
  • business
  • cad
  • career
  • certification
  • chrome
  • city government
  • civilization
  • cloud services
  • cmd
  • cmmi
  • comedy
  • command
  • community
  • computers
  • conferences
  • config manager
  • consultants
  • consulting
  • contracting
  • cranium drainium
  • crapware
  • culture
  • data center
  • data mining
  • databases
  • deployment
  • directx
  • DLL
  • domains
  • dumb
  • earth
  • economy
  • editor
  • education
  • election
  • elections
  • employment
  • engineering
  • entertainment
  • environment
  • error monitoring
  • events
  • exchange
  • facebook
  • family
  • firefox
  • flexnet
  • fud
  • fun
  • funny
  • games
  • gary vaynerchuk
  • gmail
  • google
  • government
  • group policy
  • hampton roads
  • health
  • history
  • holidays
  • home
  • html5
  • humor
  • hyper-v
  • iis
  • industry
  • infrastructure
  • installation
  • installshield
  • internet
  • internet explorer
  • interviews
  • jobs
  • jtbworld
  • kindle
  • kixtart
  • lab setup
  • languages
  • ldap
  • learning
  • legal
  • licensing
  • life
  • lifecycle
  • linux
  • lisp
  • logging
  • management
  • manufacturing
  • marketing
  • markets
  • mdop
  • mdt
  • medical
  • messaging
  • microsoft
  • microsoft access
  • military
  • mountains
  • movies
  • mozilla
  • music
  • nature
  • network administration
  • news
  • nook
  • nothing
  • office
  • open source
  • openoffice
  • opera
  • operating systems
  • oracle
  • osx
  • packaging
  • patches
  • people
  • photos
  • podcasts
  • policy
  • politics
  • powershell
  • predictions
  • process automation
  • products
  • programming
  • projects
  • psychology
  • publishing
  • rail
  • reading
  • registry
  • religion
  • reporting
  • reviews
  • rsat
  • rss
  • safari
  • safety
  • sales
  • satire
  • sccm
  • scheduling
  • science
  • scripting
  • search
  • security
  • servers
  • services
  • sharepoint
  • shopping
  • sms
  • social stuff
  • society
  • softgrid
  • software assurance
  • software deployment
  • software development
  • software packaging
  • sony
  • speaking
  • sports
  • sql express
  • sql server
  • statistics
  • Statistics news marketing
  • steve jobs
  • stories
  • stuff
  • stupidity
  • symantec
  • sysinternals
  • system center
  • systems architecture
  • t-sql
  • taxes
  • technet
  • technical support
  • technology
  • TED
  • ted talks
  • testing
  • textpad
  • thoughts
  • traffic
  • training
  • transportation
  • travel
  • troubleshooting
  • tutorials
  • twitter
  • ubuntu
  • unattend
  • unemployment
  • updates
  • upfront ezine
  • utilities
  • vacation
  • vba
  • vbscript
  • video
  • virginia
  • virginia beach
  • virtualization
  • visual lisp
  • vmware
  • vmware server
  • voting
  • war
  • weather
  • web
  • web browsers
  • web development
  • web sites
  • windows
  • windows 7
  • windows live
  • windows server
  • windows server 2012
  • windows8
  • winpe
  • wise
  • wmi
  • work
  • writing
  • ws08
  • wsus
  • wwa
  • x64
  • xml
  • ze frank

Blog Archive

  • ▼  2013 (37)
    • ▼  October (1)
      • 10 Questions: With Ralph Grabowski
    • ►  September (5)
    • ►  August (8)
    • ►  July (2)
    • ►  June (4)
    • ►  May (4)
    • ►  April (2)
    • ►  March (2)
    • ►  February (8)
    • ►  January (1)
  • ►  2012 (120)
    • ►  December (14)
    • ►  November (12)
    • ►  October (10)
    • ►  September (7)
    • ►  August (3)
    • ►  July (2)
    • ►  June (6)
    • ►  May (6)
    • ►  April (20)
    • ►  March (16)
    • ►  February (18)
    • ►  January (6)
  • ►  2011 (343)
    • ►  December (15)
    • ►  November (23)
    • ►  October (27)
    • ►  September (35)
    • ►  August (29)
    • ►  July (17)
    • ►  June (23)
    • ►  May (20)
    • ►  April (38)
    • ►  March (61)
    • ►  February (54)
    • ►  January (1)
Powered by Blogger.

About Me

Unknown
View my complete profile