Archive for category Kaseya
All About Internet Explorer 8 & Uninstall/Rollback Script
Internet Explorer 8 is the newest release from Microsoft and recently left beta and hit automatic updates. I will be discussing the issues that I have encountered, and the fixes I have found. Additionally, I will include group policy templets to prevent its distribution and a uninstall script to remove it for systems. I came in Monday to find that the software was installed on a spattering of computers across sever different clients (about 250 computers). I spent most of the rest of the week fixing them.
Read the rest of this entry »
How to Add and Remove a Local Account from a Group
Posted by admin in Kaseya, Scripts, Visual Basic Script (vbs) on April 27, 2010
Occasionally you may need to add a local user account to the local administrators group for a software install or temporary maintenance. The following vbs script can be used to add the local ‘user1’ account to the local ‘administrators’ group. Any user can be added to any local group, change the red to match your needs. The computer name is pulled from the workstation dynamically so this is also completely portable and can be run on any computer.
Read the rest of this entry »
Scripted Enumeration of Accounts with Local Admin Rights
Beefing up security on networks keeps you from having issues in the long run. An hour today can save you three later. In a effort to improve network security and individual computer security I came up with this fancy little kaseya script. It enumerates the local administrators on a computer and exports them to a text file named whatever the target computer has been named. This can also be run through a batch login script. In the example below “g:” is a admin share on my local server, you can make this what ever you want or use a get file in kaseya to snatch the text file from the computer.
Change The Default Internet Explorer Homepage
I have a chunk of registry tweaks I run on new computers, this is one of them. It changes the internet explorer homepage to www.google.com, though you can use anything you like in place of google, perhaps a intranet page?
[HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMain]
“Start Page”=”www.google.com“
Simple but powerful, and can be merged to the registry silently using regedit /s, or added to a list of registry hacks.
To use this with kaseya import the below script, change the red to your best practice and away you go.
Script Description: Set Default Page on Iternet Explorer.
IF User Is Logged In
Parameter 1 :
THEN
Set Registry Value
Parameter 1 : HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMainStart Page
Parameter 2 : http://www.google.com
Parameter 3 : REG_SZ
OS Type : 0
ELSE
[ad]
Adding ‘Lock My Computer’ Shortcut to The Desktop
In a effort to increase security at one of my healthcare providers they requested a quick way their employees can lock their computers when they walk away from their computers. I found Mklnk, it is a very tiny free utility that lets you make shortcuts from command line. I decided to use this to accomplish this task. I did some research and found that the following command will lock your computer.
Internet Explorer 7 Search Provider Import/Export
I recently came across a computer that for no good reason would seem to allow me to change or add a search provider. When I would attempt to add a provider to the search bar (since google is tons better than the default; windows live) it would cause a fatal exception and close Internet Explorer. After a ton of searching, I could not find this anywhere on the internets so i think it is worth posting here.
Read the rest of this entry »
Static and DHCP IP Address Changes Through Scripts
I have a office that uses static IP addresses at the location. The manager just got a laptop that he wants to use at the office and at his house the same static address does not work. So I made him two batch files so he can easily switch between a static IP address in the office and a dynamic IP address at home. I was thinking that this could be helpful for making sure everyone in a office is using DHCP and no one is statically assigned. It could also be really useful for changing say the DNS server address on a set of computers automatically through a login script or kaseya.
It is a super simple script. The name of the network adaptor must be changed to match the name of the network adaptor you wish to modify settings for.
Read the rest of this entry »
All about the Shutdown Command
The ability to restart and shutdown computers automatically or remotely is key to completing installs, fixing issues, or just having a hell of a time messing with end users. In this post ill detail all the switches and uses of the shutdown command.
For anyone that is not familiar with the command ‘shutdown’, it is a windows/dos function that controlls the the shutdown, logoff and restart of a compiter or server either locally or remotely.
Here are the switches
Change Windows Firewall From Command Line or Batch File
I have a set of scripts I run when I prep a computer for deployment. At specific points applications require that the windows firewall be turned off in order to install correctly. This is namely ACT! and imagine time. They use a bunch of odd ports during install, so their documentation tells you to just turn off the firewall. Well here is what I found with a little research. From run or in a batch file there is a simple netsh command to disable the firewall and one to again enable it.
Read the rest of this entry »