Posts Tagged ‘Scripting’

Start and connect to your VirtualBox VM with a simple script

The way I like to develop is to create specific virtual machines for my web development. The chore is to start the machine, mount the file system and then open up your IDE. All a nuisance that takes time. So, I’ve taken to writing a simple Bash script that will do the grunt work for [...]

Read the rest of this entry »

rsync and the Hard Link Limitation

I’ve been setting up a new backup regime on a hosted server that I’m helping to maintain. One of the key issues right now is that it is there isn’t a solid provided backup regime, so I’ve spent the day playing around with different Linux backup solutions trying to get to the bottom of a [...]

Read the rest of this entry »

A Quick Shutdown Command

For shutting down multiple computers on a network: for /L %C in (1,1,30) do shutdown -f -s -t 0 -m \\ict-%C This shuts down all Windows computers named ict-X where X is a number from 1 to 30.

Read the rest of this entry »

Remove Network Printers from Users Before they Log On

I had a little trouble with an HP Printer driver that was causing the Vista PCs to hang at logon. Without going into the specifics of the problem (which comes down to poor HP drivers), I needed a way to ensure that the driver wouldn’t be active the next time that a user logged onto [...]

Read the rest of this entry »

Install a Ranger Package Without Ranger

Following on from my remove ranger script, here is a VBScript that will automatically install Ranger packages without the need for the Ranger software on the network.

It’s a little rough around the edges but it gets the job done. Just drag a package folder onto the script to install onto your PC.

Read the rest of this entry »

Uninstall Ranger from a Computer without the RangerRemove User

Sometimes it might be necessary to remove Sentinel’s Ranger software from a computer with the minimum of fuss. Even though there is a removal user account. For instance, this may not work. So here’s a handy script to automitcally disable Ranger on a workstation. This returns some Windows settings back to normal and backs up [...]

Read the rest of this entry »