Pages

Monday, December 19, 2011

Spooler SubSystem App has encountered an error and has been closed.

To fix the "Spooler SubSystem App has encountered an error and has been closed" error, delete the all the files in the C:\Windows\System32\Spool\Printers folder, DO NOT delete the folder itself.

Friday, December 16, 2011

Registry Editing has been disabled by your administrator

Click Start, Run and type this command:

REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableRegistryTools /t REG_DWORD /d 0 /f

Unable to open any programs in Windows XP

Whenever you try to open a program on Windows XP and the program does not open but the "Open With..." window appears, follow the instructions below to correct the problem.

Go To www.dougknox.com 
In the left hand column, click WinXP fixes 
Then in the list that comes up, click File Association fixes 
Then in the next list that appears, click EXE File Association Fix 

Thursday, December 8, 2011

Setup Wake-On-LAN With VLANs, FOG, and HP Procurve Switches

Components Used

  1. FOG server running version 0.29
  2. ProCurve 5304xl switch
  3. PC with BIOS setup with Wake-on-Lan

Setup

  1. FOG server on vlan 2 with IP address 10.0.1.13
  2. PC on vlan 5 with IP address lease from DHCP running on standalone DHCP server

ProCurve CLI commands



ip directed-broadcast
ip udp-bcast-forward
vlan 2
 ip address 10.0.1.2 255.255.255.0
 ip forward-protocol udp 10.0.16.255 9
vlan 5
 ip address 10.0.16.2 255.255.255.0

Wednesday, December 7, 2011

TrixBox - YOU MUST ACCESS THE CDR THROUGH THE ASTERISK MANAGEMENT PORTAL!

After doing a clean install, if you log on to TrixBox server web interface and try to view the call logs and you see:

YOU MUST ACCESS THE CDR THROUGH THE ASTERISK MANAGEMENT PORTAL!

Log on to you server using the command line and run the commands below.

service memcached start
chkconfig --add memcahced
chkconfig memcached on

The memcache module is not set to load during system startup. The above commands turns on the service and sets it to load during system startup.

ViaTalk Setting For TrixBox 2.8

The following configurations are used with Viatalk.


SIP Trunk Settings:


General Settings:
Outbound Caller ID: Leave Blank (Viatalk will override anything you place in here.)
Never Override CallerID: Leave Unchecked
Maximum channels: Number of channels purchased from Viatalk
Dial Rules: Leave Blank
Outbound Dial Prefix: Leave Blank



Outgoing Settings:
Trunk Name: Viatalk0 (Name this to your liking.)
PEER Details:
allow=ulaw&alaw
authuser=YOURNUMBER
canreinvite=no
context=from-trunk
disallow=all
dtmf=auto
dtmfmode=inband
fromdomain=HOST FQDN PROVIDED FROM VIATALK (Check your control panel.)
fromuser=YOURNUMBER
host=HOST FQDN PROVIDED FROM VIATALK (Check your control panel.)
insecure=very
qualify=yes
secret=PASSWORD
type=peer
Username=YOURNUMBER

Incoming Settings: (Incoming settings are not needed for Viatalk.)
USER Context: Leave Blank
USER Details: Leave Blank

Register String: YOURNUMBER:PASSWORD@FQDN/YOURNUMBER

VB Script To Set Boot Order On Dell Computers

In order to use this vbscript, you need to have the Dell Open Manage Interface software installed on the computer.

------------ Start Of Script ------------

strComputerName = "."
strNameSpace = "root/Dellomci"
strClassName = "Dell_BootDeviceSequence"

intKeyVal = 0
intBootOrder = 2

Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate,AuthenticationLevel=pktprivacy}\\" & strComputerName & "\root\dellomci")
Set ColSystem = objWMIService.execquery ("Select * from Dell_BootDeviceSequence")

For Each objSystem in ColSystem

 Set objInstance = GetObject("WinMgmts:{impersonationLevel=impersonate,AuthenticationLevel=pktprivacy}\\" & _
 strComputerName & "/" & strNameSpace & ":" & strClassName & "=" & _
 Chr(34) & intKeyVal & Chr(34))

  intKeyVal = intKeyVal + 1

strDeviceName = objInstance.Properties_.Item("BootDeviceName").Value
 
 Select Case strDeviceName
Case "Diskette Drive"
objInstance.Properties_.Item("BootOrder").Value = 2
objInstance.Properties_.Item("Status").Value = 1
objInstance.Put_

Case "Hard Drive"
objInstance.Properties_.Item("BootOrder").Value = 3
objInstance.Properties_.Item("Status").Value = 1
objInstance.Put_

Case "CD/DVD/CD-RW Drive"
objInstance.Properties_.Item("BootOrder").Value = 4
objInstance.Properties_.Item("Status").Value = 1
objInstance.Put_

Case "Integrated NIC"
objInstance.Properties_.Item("BootOrder").Value = 1
objInstance.Properties_.Item("Status").Value = 1
objInstance.Put_

Case "USB-FDD"
objInstance.Properties_.Item("BootOrder").Value = 5
objInstance.Properties_.Item("Status").Value = 1
objInstance.Put_

Case "USB-ZIP"
objInstance.Properties_.Item("BootOrder").Value = 5
objInstance.Properties_.Item("Status").Value = 1
objInstance.Put_

Case "USB-CDROM"
objInstance.Properties_.Item("BootOrder").Value = 6
objInstance.Properties_.Item("Status").Value = 1
objInstance.Put_

Case "USB Device"
objInstance.Properties_.Item("BootOrder").Value = 7
objInstance.Properties_.Item("Status").Value = 1
objInstance.Put_

End Select

Next

------------ End Of Script ------------