Thursday, December 5, 2013

windows server 2008 back up

Windows Server Backup copies an entire disk volume to a .vhd file on a second local disk. After performing a backup, you can restore individual files or an entire volume. If Windows cannot start for example, if the system volume has failed, you can start the computer from the Windows installation media, restore the system volume from the backup, and have the operating system up and running in less than an hour.

I. add windows back up service

1. Start -> Server Manager
2.select Features -> Add Features


3.
4. 
5.
6.
7.
8.
9. 
10.

11.
12.
13.
II. Back Up Mantually
1. Start -> Administrative Tools -> Windows Server Backup
2.Action -> Backup Once...
3. 
4. Custom
5. Select Local Disk(C:)
    (For this Instruction has only 2 Drives, so I can select only one because New Volume E: is the place to 
     store backup file. If you have more drives to backup it will appear for select)
6.Local drives
 (Local drives are the backup destination to store backup file)
7. Select Backup Destination for down box(Place to store backup file)
    (if Free space in backup destination is smaller than Backup item size, Backup will not go on)
8. VSS copy backup (Recommended)

9.
10. Close

11.


Refference: http://www.free-online-training-courses.com/


Tuesday, December 3, 2013


            Install Active Directory in Windows Server 2008 and 2003 are similar


-        Click start à Run à Type Dcpromo à Click Nex
- Click Next 
-  Choose Domain Controller for a new domain & Click next
 -        Choose Domain a new forest and Click next
- Choose No, Just install and configure DNS on this computer, and click next
- put DNS name for new domain. Ex: Angkor.edu.kh, and click next.
-        Chang Netbios Domain Name (no need to change)

Ex: ANGKOR
-        Here you can change Database and log folders(no need to change) click next.
-        this is sharing system volume(no need to change), click next.
-        Select Second option for not allow other user to view information on server, and click next.
-        Here is put password for login to our server and click next.
-        this summary of information about install active directory and click next. Please waiting a few minute, and click finish, and restart you server. Later on you will see you server had been promoted.
 Note: when you install Active directory you need folder of windows server 2003 is I386.


test javascript

Microsoft Widget API Sample

Hurry Up Everyone! Just Sign Up! You will get it with free charge:

Start a 30-day free trial to get:
  • Unlimited, instant streaming of thousands of movies and TV shows with Prime Instant Video on hundreds of compatible devices including computers, TVs, Blu-ray players, game consoles, and set-top boxes.
  • Thousands of books to borrow for free, as frequently as once a month, with no due dates through the Kindle Owners' Lending Library.
  • FREE Two-Day Shipping with no minimum order size on millions of items.
After your free trial
  • Your membership will automatically upgrade to an annual plan for $79/year.
  • If you do not wish to upgrade, you may cancel anytime by visiting Your Account and adjusting your membership settings so that you are not automatically in charge.

Here:

Monday, December 2, 2013

How to hide/show folder saftely

Keep data safe with Notepad in Windows 7 and Windows XP

Some Steps for keeping data safe as below:

1. click start button -> All Program ->Accessory -> Notepad
2.write code in Notepad as below code:

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo "Do you want to lock Folder named Locker? y/n"
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==N goto END
if %cho%==n goto END
echo Invalid choice. 
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" 
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter Password to Unlock 
set/p "pa=>" 
if NOT %pa%==smart goto FAIL 
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder unlocked 
goto End
:FAIL
echo Good 
goto end
:MDLOCKER
md Locker
echo Locker created 
goto End
:End
3. Save as bat file with any name as your want (filename.bat)


4.open this file to create a folder name "Locker"
5. open this file again to hide folder Locker(copy file and folder to this folder to lock) -> type y or Y

* if you type n or N , command prompt will exit and folder Locker will not hide
* if you type other letter , text message will show that "Invalid Choice..." 

folder Locker is now hidden
7.open this file to show folder Locker ->type smart
* if you type other letter,Command prompt will exit and folder will not show

folder Locker is now shown

***Note: You can change Folder Name "Locker" to other name, text Message in command prompt "Do you want to lock Folder named Locker? y/n", answer "y/Y,n/N", text Message "Invalid choice.",text Message  "Enter Password to Unlock" & password "smart" in code above.   



Sunday, December 1, 2013

abc



ដំឡើង Windows 8  Windows 7 Windows Vista  ចេញពី USB Flash Memory

តើអ្វីទៅជាការដំឡើង Windows ចេញពី USB Flash Memory នោះ? លោកអ្នកពិតជាធ្លាប់ស្គាល់រួចមកហើយនូវឧបករណ៍ ចល័ត USB។វាជាឧបករណ៍ម្យ៉ាងប្រើសំរាប់ផ្ទុកទិន្នន័យដែលមានរូបរាងតូចងាយក្នុងការទុកដាក់តាមខ្លួនទៅគ្រប់ទីកន្លែងដែលសព្វថ្ងៃនេះកំពុង
មានការពេញនិយមបំផុតពីសំណាក់អ្នកប្រើប្រាស់កុំព្យូទ័រទាំងឡាយ។តើលោកអ្នកចង់ដឹងទេថា គ្រាន់តែ USB Flash Memory តូចមួយអាចដំឡើង Windows បាន ដោយមិនចាំបាច់ប្រើ DVD ROM ក្នុងការដំឡើងនោះ? ខាងក្រោមនេះគឺជាជំហានងាយៗដែលបានពន្យល់បង្ហាញយ៉ាងលំអិតពីរបៀបដំឡើងWindows 8 Windows 7 Vista ចេញពី USB Flash Memory


អនុវត្ដន៍តាមជំហានទាំង ៩ខាងក្រោមដើម្បីបង្កើតជា Windows 8 ឬ​ Windows 7  Bootable ដោយប្រើ USB Drive ដែលអ្នកអាចដំឡើង Windows 7 បានយ៉ាងងាយស្រួល។
ជំហានទី១ សូមដោត (Plug-in) USB Flash Drive ទៅកាន់ Port USB និងធ្វើការផ្លាស់ទី (Move) រាល់ឯកសារទាំងអស់ដែល មាននៅក្នុង USB Drive ទៅកាន់ទីកន្លែងដែលមានសុវត្ថិភាពនៅក្នុងម៉ាស៊ីន។


ជំហានទី២: សូមបើក Command Prompt (ត្រូវមានសិទ្ធជា Administrator)។សូមប្រើវិធីសាស្ដ្រខាងក្រោម ដើម្បីបើក Command Prompt ជាមួយនឹងសិទ្ធជា Administrator
-សូមវាយ cmdនៅក្នុង Start Menu search box និងចុច Ctrl + Shift + Enter ឬក៏ចុចលើ Start menu => All Programs => Accessories រួចចុច Mouse ស្ដាំលើ Command Prompt បន្ទាប់មកជ្រើសរើស Run as administrator

ជំហានទី៣: អ្នកចាំបាច់ត្រូវមានចំណេះដឹងខ្លះៗទាក់ទងនឹងការប្រើ USB Drive។សូមវាយនូវ Command មួយចំនួនខាងក្រោម នៅក្នុងផ្ទាំង Command Prompt។ដំបូងសូមវាយពាក្យ DISKPART រួច Enter វានឹងបង្ហាញលទ្ធផលដូចខាងក្រោមៈ




បន្ទាប់មកសូមវាយ LIST DISK command និងកត់ចំណាំទុកនូវលេខ Disk (ឧទាហរណ៍ Disk 1) សំរាប់ USB Flash Drive របស់ អ្នក។ នៅរូបភាព (Screenshot) ខាងក្រោមនេះ លេខ Flash Drive Disk របស់ខ្ញុំគឺ Disk 1
 


ជំហានទី៤ៈ បន្ទាប់មកសូមវាយនូវ command នីមួយៗខាងក្រោម។សំរាប់ក្នុងអត្ថបទនេះខ្ញុំសន្មត់ថា លេខ Disk Drive របស់អ្នក គឺ “Disk 1” ។ប្រសិនជាលេខ USB Drive Disk របស់អ្នក “Disk 2” សូមប្រើ Disk 2 ។ដោយយោងតាមជំហានខាងលើដើម្បី បញ្ជាក់វាឱ្យបានច្បាស់។ ដូច្នេះខាងក្រោមនេះគឺជា Command មួយចំនួនដែលអ្នកចាំបាច់ដើម្បីវាយ និង ដំណើរការវាម្ដងមួយៗ ។ Select Disk 1 ( ដែល 1 ជាលេខនៃ USB Disk របស់អ្នក )
 


Clean ( លុបចោលនូវរាល់ Partition ទាំងអស់ដែលមានចេញពី USB Disk ក្នុងនោះគិតបញ្ចូលទាំង Sector ទាំងអស់ដែល Hidden ផងដែរ )
 

Create Partition Primary ( បង្កើតនូវ Primary Partition ថ្មីមួយ ជាមួយនឹង Default Parameter )




Select Partition 1 ( សំដៅទៅលើ Partition ថ្មីដែលយើងទើបតែបង្កើតថ្មីៗ )

Active ( កំណត់ឱ្យ Active ទៅលើ Partition ដែលយើងបានជ្រើសរើសដើម្បីជាសញ្ញាដល់ Disk Firmware ថានេះជា System Partition ត្រឹមត្រូវមួយ )

Format FS=NTFS ( Format នូវ Partition ជាមួយនឹង NTFS File System។ចំណុចនេះត្រូវការរយៈពេលប្រមាណពីរបីនាទី ដើម្បីបញ្ចប់អាស្រ័យទៅលើ USB របស់អ្នក )

Assign ( ផ្ដល់នូវ Volume មួយក្នុង Windows ទៅឱ្យ USB Drive )

Exit ( បិទនូវមុខងារ DiskPart )


ជំហានទី៥ៈ បន្ទាប់តទៅនេះសូមដាក់បញ្ចូលនូវឌីវីឌី Windows8  Windows7 Vista ទៅក្នុង Optical Drive និងត្រួតពិនិត្យមើលនូវ Drive Letter នៃ DVD Drive របស់អ្នក។សំរាប់ការណែនាំនេះ សន្មត់ថា DVD Drive Letter របស់អ្នកគឺ “F” និង USB Drive Letter គឺ “H”

ជំហានទី៦ៈ សូមវាយ Command ដូចខាងក្រោមៈ D:CD BOOT រួច Enter ( ដែល “D” ជា DVD Drive Letter របស់អ្នក ) CD BOOT រួច Enter


ជំហានទី៧ៈ សូមវាយ Command ផ្សេងទៀតដែលផ្ដល់ឱ្យខាងក្រោម ដើម្បី Update USB Drive ឱ្យត្រូវគ្នានឹង BOOTMGR Code BOOTSECT.EXE/NT60 H:

ដែល “H” ជា USB Drive Letter របស់អ្នក។ជំហានទី៨ៈ ថតចំលង (Copy) File នៅក្នុង DVD Windows8 ឬ Windows7 Vista ទៅកាន់ USB Flash Drive ។ ករណីដែល File (Source) ជាប្រភេទ *.isoនោះ សូមប្រើកម្មវិធី WinRAR ដើម្បីធ្វើការ Extract ទៅកាន់ Drive Flash តែម្ដង។ ដោយចុចពីរដងលើ File (*.iso) នោះ វានឹងលោតដូចផ្ទាំងដូចខាងក្រោមៈ

-សូមចុចលើពាក្យ Extract to លើផ្នែក Toolbar រួចជ្រើសរើសទីតាំង Flash Drive ជាការស្រេច។ជំហានទី៩ៈ USB Drive របស់អ្នករៀបចំរួចជាស្រេច ដើម្បី Boot និង ដំឡើងWindows8 ឬ Windows7 Vista។ អ្វីដែលចាំបាច់លោកអ្នក ត្រូវធ្វើការផ្លាស់ប្ដូរ boot priority នៅក្នុង BIOS ទៅឱ្យ USB Drive ដើម្បីដំណើរការមុន។ខ្ញុំសូមមិនធ្វើការពន្យល់លំអិតឡើយ ពីការផ្លាស់ប្ដូរ boot priority enable USB boot option នៅក្នុង BIOS ព្រោះ នៅរាល់បន្ទះ Board នីមួយៗសុទ្ធសឹងតែមាន កម្មវិធី BIOS ខុសៗគ្នា។

ចំណាំៈ ប្រសិនណាជាអ្នកពុំអាច Boot បាន បន្ទាប់ពីអនុវត្ដន៍តាមជំហានខាងលើនោះមានន័យថាអ្នកពុំបានកំណត់ BIOS ឱ្យ Boot ចេញពី USB ឡើយឬក៏ម៉ាស៊ីនរបស់អ្នកពុំអាច Support ជាមួយនឹងការ Boot ចេញពីឧបករណ៍ USB