Monday, June 30, 2014

To make Unmanged TrendMicro OfficeScan to managed by server

1) Copy ipxfer.exe from Ofscan folder at server side to Local C:\
2) go to command prompt
3) Type ipxfer.exe  -s servername -p 81
4) Wait for a while and check in OfficeScan Server Console.
5) Done




Thursday, June 26, 2014

[FIX] Windows Server Domain Controller failed to start with Error Code: 0xc0000001


Blue Screen? OMG~~
STOP: c00002e2 Directory Services could not start because of the following error: A device attached to the system is not functioning.

Error Status: 0xc0000001. Please shutdown this system and reboot into Directory Services Restore Mode, check the event log for more detailed information.


If this happens in Domain controller server, which is in Windows Server 2008/2008 R2 or Windows Server 2012/2012R2

Restart the server and press F8 key, select Directory Services restore mode.
Log in with the local administrator username and password
Type: cd \windows\system32
Type: NTDSUTIL
Type: activate instance NTDS
Type: files
If you encounter an error stating that the Jet engine could not be initialized exit out of ntdsutil.

Type: cd\
Type: md backupad
Type: cd \windows\ntds
Type: copy ntds.dit c:\backupad
Type: cd \windows\system32
Type: esentutl /g c:\windows\ntds\ntds.dit
This will perform an integrity check, (the results indicate that the jet database is corrupt)

Type: esentutl /p c:\windows\ntds\ntds.dit
Agree with the prompt

Type: cd \windows\ntds
Type: move *.log c:\backupad (or just delete the log files)
This should complete the repair. To verify that the repair has worked successfully:

Type: cd \windows\system32
Type: ntdsutil
Type: activate instance ntds
Type: files (you should no longer get an error when you do this)
Type: info (file info should now appear correctly)
One final step, now sure if it’s required:

From the NTDSUTIL command prompt:
Type: Semantic Database Analysis
Type: Go



Reference:




 





Saturday, June 21, 2014

[HOW] How to Convert from Virtualbox hard drive VDI to VHD

How to do if you have a .vdi file and need to put into HyperV?
Don't worry, here is a trick for you.

If you have virtualbox in your machine, then find out the tool "vboxmanage" under C:\Program Files\Oracle\VirtualBox (where virtual box is installed)
Else, go ahead to download free version virtualbox and install in machine


This tools does the job for us and very quickly:

Example: Hard drive name ITweirdo-XP.vdi
1. First we go where virtual box is installed: cd C:\Program Files\Oracle\VirtualBox by command prompt
2. Now use the tool vboxmanage with the switch clonehd:

C:\Program Files\Oracle\VirtualBox>vboxmanage clonehd "E:\Images\Virtual machines\Kiekieworld\ITweirdo-XP.vdi" z:\ITweirdo-XP.vhd --format vhd
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Clone hard disk created in format 'vhd'. UUID: 801c7ac4-b396-42cb-bf9a-939d78ad08f8

If you noticed my hard drive was in the E drive and my destination drive was in the Z drive, your case is going to be different.

3. Now we create a virtual machine in Hyper-V without hard drive and attach the result hard drive to the virtual machine in my case was ITweirdo-XP.vhd

This was quicker than my export to OVF and later to other format.

NOTE: Make sure destination harddrive have enough space for the new .vhd file.

Friday, June 13, 2014

[HOW] Turn on Policy-Based IPSec in Fortigate in FortiOS 5

For FortiOS 5 and newer version:  (Policy-Based IPSec is disable)
There is no subtype under VPN policy type.

How to turn on Policy-Based IPsec
Go to System -> Config -> Features, turn on Policy-Based IPSec VPN and click Apply

Then under policy, policy subtype will be enable when VPN policy type is selected.



Wednesday, June 11, 2014

Megapop configuration over ATM (Consumer router - ADSL connection)

Login the router and access to Channel Config

Make sure there is no record under Current ATM VC table.

Add new Channel Configuration 
Default Route selection: Auto
VPI: 8
VCI: 35
Channel Mode: IPoA
Encapsulation: LLC
NAPT: Disable
802.1q: Disable
Local IP address: Customer WAN IP
Remote IP Address: Singtel WAN IP
Netmask: 255.255.255.252


Check and make sure the ATM VC has been setup properly.

Setup LAN Interface


Enable LAN DHCP


Add routing - Advance -> Routing -> Static Routes

Make sure the static route is enable

Lastly, go to maintenance, Save and reboot




Thursday, June 5, 2014

[HOW] setup port forwarding in Thomson Router TG585 v7 / v8

Step 1
Open your favorite web browser and input your routers ip address in the address bar.
Please note that you must have the http:// in order to connect to your router/modem properly.

Step 2
Once logged into your router click on the "Toolbox" tab on the left.
Under "Toolbox" click "Game & Application Sharing".
Once the page is done loading click on "Create a new game or application".

Step 3
For Name, give the new rule a name.
Choose "Manual Entry of Port Maps and then click "Next".
Step 4
For 'Protocol' Choose 'TCP' or 'UDP' depending on which you need to use.
For 'Port Range' enter the ports to be forwarded.
Example: 2100 to 2200 or 3000 to 3000
Click 'Add'.
Repeat this step for all ports.
Once you have entered all the ports for this entry click 'Assign a game or application to a local network device'.
Step 5
In the "Game or Application" list, choose the name of the new rule you created.
For "Device" you can either choose the computer name to forward to, or choose "User-Defined" to manually enter a IP address.
If you choose "User-Defined" a new text box will show up, enter the local IP to forward to here.
Once you are all done click 'Add'

All done.


Reference:

http://www.pcwintech.com/port-forwarding-thomson-tg585-v7-thomson-firmware



Related Posts Plugin for WordPress, Blogger...