How-to Setup Windows 2008 R2 Server Core As An Active Directory Server

On April 7, 2011, in How-to, by Cubert aka (Cube Dweller)

Setup Active Directory on a Windows Server 2008 core

 

This is pretty simple actually; Install Windows as normal but selecting a Server Core as your installation medium. It will install just like a normal Windows 2008 install until the reboot process when it loads Windows for the first time. At the point it will ask for you to set your admin password and then boot to a Window’ish Continue reading

How-to Emulate the TOP command in Windows

On April 6, 2011, in How-to, Scripting, by Cubert aka (Cube Dweller)

Top is a Linux process that shows a list of processes running on the system and what levels of resources are being used. This application provides all processes running, the CPU and Memory consumed and with several switches available you can see things like the location of the executable that is running.

Unfortunately, they don’t make a TOP executable ported for Microsoft Windows but don’t despair.   You can Continue reading

Tagged with:
 

Kaseya 2 Agent procedures and free scripts

On March 26, 2011, in How-to, Scripting, by Cubert aka (Cube Dweller)

 

www.kaseya.com

 

Do you run Kaseya RMM and need some free scripts?

Here is a compilation of scripts I have created for Kaseya to do different tasks, feel free to use them but keep in mind there is no guarantee. Use at your own discretion!

# Blackberry Enterprise Server ( BES Continue reading

Tagged with:
 

How to configure Windows TCP/IP settings from the Command Prompt (CLI)

On March 17, 2011, in How-to, Scripting, by Cubert aka (Cube Dweller)

Window’s Netsh.exe command-line scripting utility  allows you to display or modify the network configurations of any computer that is currently running a resent flavor of Windows. Netsh.exe also provides a scripting feature that allows you to run a group of commands in batch mode against a computer both locally and remotely.  You can also use Netsh.exe to save a configuration script in a text file for archival purposes or to help you configure Continue reading

Tagged with:
 

Windows 7 – Add a non-indexed UNC path as a library

On February 11, 2011, in How-to, by Cubert aka (Cube Dweller)

Add a non-indexed UNC as a library in Windows 7

There is an occasion when you may want to add a non indexed UNC path to a library inside of your Windows 7 system. Normally Windows bitches and complains when you try to hook up a UNC path that is not indexed but by tricking it we can make it happen. Here is how you do it.
===========================
1. Create a Continue reading

Tagged with:
 

Samba and Winbind Fix for Windows 2008 R2 Active Directory Services

Having issues with file sharing when inside a Windows 2008 R2 Domain? Are you getting these errors in you logs?
rpc_client/cli_pipe.c:rpc_api_pipe(790)
rpc_api_pipe: Remote machine 0.0.0.0 pipe \NETLOGON fnum 0x8007 returned critical error. Error was NT_STATUS_PIPE_DISCONNECTED
A little searching online shows a lot of people with this or related problems, It looks like there’s a bug in the samba package that prevents Continue reading

Tagged with:
 

XYMON External Test Script for APC NetBotz Environment Monitor

On February 4, 2011, in How-to, Scripting, by Cubert aka (Cube Dweller)

So you got a APC environment monitor (NetBotz) and you want XYMON / Hobbit / BB to monitor and alert if your tempature is rising? Funny me too.

I spent several hours trying to get a VB script to built to do this and I am just not a big fan of VB. So being a Perl plucker I desided to write one in Perl and share it with Continue reading

Tagged with:
 

Exchange 2007-> Adding and/or Deleting Holidays to and from All User Calendars

On January 7, 2011, in How-to, by Cubert aka (Cube Dweller)

You can  customize the Outlook holiday file to include your own holiday information. You might choose to do this if a particular local holiday is not included in the Outlook file and you want to deploy new holiday information to a large group of people (if you just want to do this for yourself, it’s probably easier to just add events directly to your calendar).

You can open the Continue reading

Tagged with:
 

The terminal server has exceeded the maximum number of allowed connections. The system can not log you on. The system has reached its licensed logon limit. Please try again later.”

This problem happens because Windows only allows two remote terminal services connections when you are in administrative mode, and you’ve either got two people already on that server, or more likely, you’ve got a disconnected session that still thinks it Continue reading

Tagged with:
 

VBScript code: View CPU usage for a process name

On July 14, 2010, in How-to, Scripting, by Cubert aka (Cube Dweller)

So you need a VB script to check for a process or set of processes CPU usage? Let’s say I want to see all “svchost.exe” process PID’s and the amount of CPU each process is using? see in line 6 and 7 the name of the process your looking for? Just edit the name of the process and run the script. It will print out the PID and the CPU Continue reading

Tagged with: