Archive - July 2012
  
"Excellence is the result of habitual integrity." - Lenny Bennett
 
 
  

Index bar1
Simple Green LCD Clock
Apply Group Policy
IE Pop-up Countdown
Lava Lamp
Return Current User SID
ZTI BIOS Check
Automatically Rename Computer
List Windows 7 Updates
Replace Underscores In File Names
Scrollbar Feedback
IE Pop-up Yes-No
Fix PNG Error


bar1






Δ Tuesday, July 31st, 2012
bar1


Δ Simple Green LCD Clock

How to create a lcd clock

[download resource files]

Demo
demo
 

By using Document.getElementbyId and by creating a show time function you can nicely
present a green LCD clock on your web page or in your packaged applications.



Δ  [email me]

bar1





Δ Monday, July 30th, 2012
bar1


Δ Apply Group Policy

How to apply group policy via the comand line

[download resource files]


Have you ever needed to deploy a group policy setting to all your usesrs with using AD?  Well,
this is how you do it.  First do the export, so that you have the .inf.  And then, you can script
the .inf to be imported automatically in a login script or a deployment package.



Δ  [email me]

bar1





Δ Friday, July 27th, 2012
bar1


Δ IE Pop-up Countdown

How to create an IE pop-up

[download resource files]

Demo
demo
 

Here is a nice and simple IE pop-up window that will countdown.  A great way to interface
with end-users using an easy pop-up.  This of course can be modified to add a lot more style
(using all web technologies).



Δ  [email me]

bar1






Δ Wednesday, July 25th, 2012
bar1


Δ Lava Lamp

How to create your very own lava lamp

[download resource files]

Demo
demo
 

This uses htmBody.Filters and arrays to build a simple blob like substance using only code,
creating your very own lava lamp.  You can experiment with sizes, randomness, and color.



Δ  [email me]

bar1






Δ Tuesday, July 24th, 2012
bar1


Δ Return Current User SID

How to return SID

[download resource files]

Demo
demo
 

Sometimes there is need to run programs in the system account, example when you deploy
software using LANDesk, SCCM, etc.  But what if your script needs to write to the current user
registry hive key?  You would normally be out of luck.  Except now, you can use this script to
return the logged on username, then do the translation from username to SID.  Once you have
the SID, you can write directly to the Users registry hive key (via the SID).  Looking something
like this: HKEY_USERS\S-1-5-21-4044905809-3024829031-2151773552-1000.



Δ  [email me]

bar1






Δ Tuesday, July 16th, 2012
bar1


Δ ZTI BIOS Check

How to check BIOS

[download resource files]


This script will retrieve the information required for populating the ZTIBIOSCheck.xml fields,
located in c:\deploymentshare\scripts\ of the MDT server. It's output is stored in a file in the same
directory as the script with the filename of the computer model.txt. This was done to accomodate
using this script with LANDesk/SCCM on multiple models of machines to differentiate the outputs.
This text file contains all of the necessary fields required for populating the information for a new
system. There is a template field at the top of the xml file that you can copy and populate with the
output data from this script. It is suggested that you update the BIOS to the latest version first before
running this script, as that will update the information acquired by this script.



Δ  [email me]

bar1






Δ Friday, July 13th, 2012
bar1


Δ Automatically Rename Computer

How to rename computer

[download resource files]


Accesses the required registry keys to change the computer name; it uses a randomized loop to
generate the name.



Δ  [email me]

bar1






Δ Wednesday, July 11th, 2012
bar1


Δ List Windows 7 Updates

How to list updates

[download resource files]

Demo
demo
 
This is a simple script that uses WMI to query the installed updates.



Δ  [email me]

bar1






Δ Monday, July 9th, 2012
bar1


Δ Replace Underscores In File Names

How to replace characters

[download resource files]

Demo
demo
 

Uses the Instr to replace underscores with a space.



Δ  [email me]

bar1






Δ Thursday, July 5th, 2012
bar1


Δ Scrollbar Feedback

How to get feedback from a scrollbar

[download resource files]

Demo
demo
 

Uses style scroll and hidden along with Document.Title to provide you with feedback from the scrollbar.



Δ  [email me]

bar1






Δ Tuesday, July 3rd, 2012
bar1


Δ IE Pop-up Yes-No

How to ask yes or no

[download resource files]

Demo
demo
 

Have you ever needed to get Yes or No from the end-suer and place it within fields?  That's
exactly what this does using pop-ups.  You could then use this information to change
available options or features.



Δ  [email me]

bar1






Δ Monday, July 2nd, 2012
bar1


Δ Fix PNG Error

How to fix png image

[download resource files]


When you open a Web page, the .PNG images in that page may not be displayed. Instead,
a red X, or a placeholder, may appear in place of the images.  However, all other image file
types may display correctly in Internet Explorer.



Δ  [email me]

bar1






 
 










  About

   I'm a Computer
   Systems Engineer

   Living and Loving Life

 

  Author