Command Line
Adding a Computer to the Domain
A few weeks back I needed to figure out how to add some computers to our domain. I did not want to go to every computer. There are a couple of ways to add a computer to the domain. The first is a VBS script. I am not sure where I found this script, but here it is:
Restricting Network Access
I work at a college, and there is a need to have students who are registering or applying to our school to use computers. The problem is that they usually don't have a user name or password. In the past we created an account they could use to log in to a computer, but we discovered that everyone ended up knowing the user name and password. It became a security risk.
DS Client Communication
I had a problem - the Deployment Server not communicating with its clients. That's a major problem... no matter who you are.
Scripted OS Install - Part 7: Installing Software
It has been a while, but it is time to finish this series off. All of us have had to install Windows at some point. Most companies have stuck with XP, so we have had lots of practice getting it installed. I have installed XP on all kinds of different computers, and frankly I decided that I was sick of it. I determined that if I had to enter our XP serial number in one more time I might just switch my users to Linux. Luckily I found a solution that literally installs Windows for me.
Script Database Changes Using OSQL
OSQL is a flexible command-line utility that allows you to run SQL Queries, Commands, and Stored Procedures from the command-line or through a Batch script.
In order to run OSQL, you can either run it on your SQL Server or copy OSQL.EXE and osql.rll to a location that a client machine can run them from.
eXpress Share Utility wndctl.exe
I just discovered a nifty utility in the eXpress share called wndctl.exe. You can use it to lock the keyboard and mouse prior to any install/script and unlock it later. It can also activate, minimize, maximize, restore, hide, show, flash, close, disable, enable, tile, cascade, center, move, and resize window(s).
Migrating Software Delivery Tasks
Part of nearly every Altiris Notification Server implementation includes Software Delivery. Software Delivery enables us to, well, deliver software, but also provides us distribution points, policy-based actions on client computers, and repeatable, dependent rollout of system and application changes. No doubt the longer you have utilized Software Delivery, the more collections, packages, and tasks you have created. When it comes time to rebuild your Notification Server or move to a new NS, migrating the SWD infrastructure can become very, very time consuming. This article will demonstrate how to migrate your existing SWD tasks to a newly built server without recreating all the necessary items by hand.
Shell Script to Direct a Unix, Linux or Macintosh Client to a New NS Server
It's really not that difficult to direct a Unix, Linux or Macintosh client to a different NS server. Simply change the 'Server-1' value in the client.conf, restart the agent and voila! The following shell script will even do it all for you!
Service Control Command
Have you ever wanted to start, stop, delete, create, or configure a service in your batch script? The "SC" command will allow you to do this and more.
Shell Script to Manage the Unix and Macintosh client.conf hold_queue Value
Do you hate (or don't know how to use) the Unix and Mac vi editor but need to troubleshoot a Unix or Mac client running the Altiris Agent?
Here are a few tips (and a script) to get you on your way.

















Recent comments
45 min 34 sec ago
3 hours 38 min ago
6 hours 37 min ago
11 hours 25 min ago
11 hours 42 min ago
12 hours 4 min ago
13 hours 6 min ago
13 hours 55 min ago
14 hours 59 min ago
15 hours 51 sec ago