• Home
  • About
    • Disclaimer
  • Archives
  • Tools

Posts tagged How to

How to: shrink an SQL log file.

Dec24
2011
Written by david

Once in awhile I meet an sql based program that won’t work or stop respond to client requests until I flush the SQL database log file.
I wanted to create a script so I can run it through the scheduled tasks and get rid of this annoying task.

This is what I needed to do:
To shrink SQL log file on a scheduled base I did the following:
create a text file and change the extension to sql (Example: Shrink_log.sql)
add this lines to the script file: READ MORE »

VN:F [1.9.20_1166]
please wait...
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: +3 (from 3 votes)
Posted in Command Line, How To:, MS SQL 2008, Windows - Tagged CMD, MS SQL 2008

Fortigate rates legitimate web sites as “pornography”

Nov15
2011
Written by david

I had this problem with a few of my costumers.
The Fortigate appliance suddenly decided that legitimate web sites categorized as porno.
At first I filled the form for reevaluate the web sites until is became a flood.
I have opened a ticket at Fortinet for this problem and this is there respond…. READ MORE »

VN:F [1.9.20_1166]
please wait...
Rating: 6.0/10 (2 votes cast)
VN:F [1.9.20_1166]
Rating: +2 (from 4 votes)
Posted in Fortigate - Tagged Fortigate

How To: Set LACP trunk with Nortel switches.

Oct21
2011
Written by david

I have recently needed to connect a backup server to the network with 4 network cards to increase the backup bandwidth.

The server was Dell PowerEdge R510 Rack Server with 12 hot-swap 2TB SATA hard disks for storage and two internal system disks.
The backbone switches were two ERS5510 in a stack. READ MORE »

VN:F [1.9.20_1166]
please wait...
Rating: 7.0/10 (3 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 2 votes)
Posted in How To:, Networking - Tagged LACP, Nortel, Trunk

How to: manually prevent the NTFS file system compression function.

Jul05
2011
Written by david

The file system compression can be a major overhead for servers during the backup time and in extreme cases it can double the time it takes to backup the server.

To prevent from accidentally using the compression on your server you can try the steps below to edit Registry and disable compression function. READ MORE »

VN:F [1.9.20_1166]
please wait...
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in How To:, Windows - Tagged Registry, Storage, windows

Logging user login activity through logon script.

May16
2011
Written by david

Here is a script, to log user logins in the local network trough the logon script.

The output is saved in a CSV file format and stored in a network share.

It’s a simple batch file with basic functions. It can be used in various situations to keep track of the computers the user’s login to and work with, or just to gather information and create statistics about the login behavior of the users. READ MORE »

VN:F [1.9.20_1166]
please wait...
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in Command Line, How To:, Windows - Tagged CMD, Command Line, windows

How to: Enable SNMP monitoring on a Fortigate device from CLI.

May13
2011
Written by david

This document will show you step-by-step, how to enable the SNMP on a fortigate device from the cli, to be able to monitor its performance from your favorite network monitoring tool (Nagios, NetXMS, Big Sister, Cacti etc). I use The Dude (by Mikrotik) to monitor my networks, it’s a great free windows based tool. READ MORE »

VN:F [1.9.20_1166]
please wait...
Rating: 9.6/10 (7 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
Posted in Fortigate, Networking - Tagged CLI, CMD, Fortigate, Monitoring, SNMP

How to: relocating DHCP scope to a new server.

May10
2011
Written by david

When we need to relocate a DHCP service on to a new server with a lot of IP reservation and scopes, the easiest way to achieve it is by using the netsh command to export the DHCP settings to a txt file and than import them to the new server. READ MORE »

VN:F [1.9.20_1166]
please wait...
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in Command Line, How To:, Windows - Tagged CMD, Command Line, DHCP, netsh

How to: Creating a VHD based OS multi-boot.

May07
2011
Written by Max

There are times when we need more than one operating system on our computer. We can build a dual or multi-boot OS’s, but it requires us to make a lot of partitions for the OS file systems, and that is not always comfortable.

Another way to set a multi-boot OS’s on our computer, is creating a VHD file and then to install operating system on it. It’s easier and does not require to change partitions on our disk, also we can store the VHD file in any place. READ MORE »

VN:F [1.9.20_1166]
please wait...
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in Command Line, How To:, Windows - Tagged Command Line, multi-boot, VHD, windows

Configure PPTP vpn on a Fortigate device from CLI.

Apr25
2011
Written by david

Beginning with version 4.0, Fortinet, for some reason, removed the PPTP VPN option from the GUI interface.
If the vpn was configured, prior to the firmware was updated to version 4.0+, the PPTP  vpn server would have continued to function, without the option to make changes from the GUI.

In a freshly installed device or in a new device with a pre-installed firmware version greater than version 4.0, this option is disabled by default and for some reason, you need to enable this option.

The only way to do that, is to go to the CLI and enable it from there. READ MORE »

VN:F [1.9.20_1166]
please wait...
Rating: 7.6/10 (9 votes cast)
VN:F [1.9.20_1166]
Rating: +3 (from 3 votes)
Posted in Fortigate - Tagged CLI, Fortigate, PPTP, VPN

Categories

  • Command Line (11)
  • Exchange (8)
    • 2007 (4)
    • 2010 (5)
  • Fortigate (10)
  • FreeNAS (2)
  • HmailServer (1)
  • How To: (8)
  • MS SQL 2008 (4)
  • Networking (4)
  • Open Source (1)
  • PowerShell (2)
  • Recovery (1)
  • SBS (8)
    • SBS 2008 (6)
    • SBS 2011 (3)
  • Terminal Server (2)
  • Veeam (2)
  • VMware (6)
  • Windows (18)

Links

  • חי הדפסות – דפוס משי, חולון
  • שלישיה – זה לא מה שחשבתם

Archives

  • March 2018
  • January 2018
  • September 2015
  • January 2015
  • August 2014
  • May 2014
  • December 2013
  • January 2013
  • October 2012
  • September 2012
  • July 2012
  • June 2012
  • May 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
Site Meter

EvoLve theme by Theme4Press  •  Powered by WordPress How to do.....IT