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 »

, ,

5 Comments

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.

Read the rest of this entry »

,

No Comments

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?

Windows Registry Editor Version 5.00 

[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 Name: Default IE Page – google
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

,

2 Comments

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.

rundll32.exe user32.dll,LockWorkStation

Read the rest of this entry »

,

No Comments

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 »

,

No Comments

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 »

, , ,

1 Comment

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 

shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]

Read the rest of this entry »

,

1 Comment

Add Command Prompt Here Context Menu

Easy fast administration means less stress. This nifty script aims to save you some time.  This adds the right click context menu to all folders in explorer ‘cmd prompt here’. When you click this option a command prompt with the current directory will be displayed. This is a very useful tool for administrative functions and saves you the time of opening a command prompt and changing directory to the folder you need. Additionally, it gives you a really easy way to walk a user through opening a command prompt window when you need them to run something like ipconfig over the phone. This is a visual basic script and runs silently, so it can be deployed by login script, or GPO as well as kaseya. Just save it as a .vbs.
Read the rest of this entry »

, ,

No Comments

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 »

, ,

No Comments