<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5773206</id><updated>2011-12-14T22:14:41.134-05:00</updated><title type='text'>Yimin's Admin Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5773206.post-115154060447051461</id><published>2006-06-28T19:21:00.000-05:00</published><updated>2006-10-01T12:57:06.896-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;Admin Blog Has Moved&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I found that wordpress's blog is easier to maintain. I have exported my Admin Blog to &lt;a href="http://computerbits.wordpress.com/"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-115154060447051461?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/115154060447051461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=115154060447051461' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/115154060447051461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/115154060447051461'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2006/06/admin-blog-has-moved-i-found-that.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-114746666333201513</id><published>2006-05-12T15:33:00.000-05:00</published><updated>2006-05-12T15:44:23.343-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;MSH is now Microsoft PowerShell&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I haven't played with Monad shell for a while, the next thing I know there is a new scripting language called "Microsoft PowerShell". At first, I thought it's a brand new language, but actually they renamed Monad and made it PowerShell.&lt;br /&gt;&lt;br /&gt;After installation, I tried to run one of my earlier Monad scripts. Just like the previous updates of Monad, the default execution policy is "Restricted". Under this policy, you can use PowerShell interactively. No scripts are allowed. If you like to run your own scripts without signing, you need to change the execution policy. Now there is a cmdlet to change policy without using regedit. Here is the cmdlet to change the policy to RemoteSigned.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Set-ExecutionPolicy RemoteSigned&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-114746666333201513?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/114746666333201513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=114746666333201513' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114746666333201513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114746666333201513'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2006/05/msh-is-now-microsoft-powershell-i.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-114728072132624961</id><published>2006-05-10T12:00:00.000-05:00</published><updated>2006-05-10T12:10:08.826-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Windows Hidden File Attribute&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Recently, I used xcopy to backup all the files from a bad hard drive to another drive under Windows XP. After all the files got copied, the directory is hidden and cannot be seen. I tried to use attrib.exe to remove the hidden attribute, however the command warned me that the directory's system attribute is set and I cannot change it.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;H:\&gt;attrib -h enterprise&lt;br /&gt;Not resetting system file - H:\enterprise&lt;br /&gt;&lt;br /&gt;H:\&gt;attrib -a enterprise&lt;br /&gt;Not resetting hidden file - H:\enterprise&lt;br /&gt;&lt;br /&gt;H:\&gt;attrib -a -h enterprise&lt;br /&gt;Not resetting system file - H:\enterprise&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I then tried to read the online help. It turns out I need to specify the /s and /d switches, too. So, the command should be used like this.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;H:\&gt;attrib /s /d -s -h enterprise&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-114728072132624961?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/114728072132624961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=114728072132624961' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114728072132624961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114728072132624961'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2006/05/windows-hidden-file-attribute-recently.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-114642396162680008</id><published>2006-04-30T14:03:00.000-05:00</published><updated>2006-04-30T14:29:25.983-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Run Applications Written for Other Languages (Windows XP)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you ever install applications written for other languages in Windows 98, you know that most of the time the user interface is not readable. With introduction of Windows 2000 and Windows XP, Microsoft has added the ability to display application user interface in other language. I'll show the steps to enable the system to show the application written for Japanese.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Click on "Start" button and select "Control Panel" to bring up Control Panel.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/6613/230/1600/control-panel.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; cursor: pointer;" src="http://photos1.blogger.com/blogger/6613/230/320/control-panel.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Click on "Date, Time, Language, and Regional Options" to bring up the following dialog.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/6613/230/1600/regional.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger/6613/230/320/regional.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Click on "Regional and Language Options" to bring up the next dialog.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/6613/230/1600/non-unicode.jpg"&gt;&lt;img style="cursor: pointer;" src="http://photos1.blogger.com/blogger/6613/230/320/non-unicode.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;In this dialog, click on the "Advanced" tab. In the "Language for non-Unicode programs" section, select the language you want. In this case, I picked Japanese. Finally, click on OK to close the dialog. You need to reboot the computer to use the new settings.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-114642396162680008?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/114642396162680008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=114642396162680008' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114642396162680008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114642396162680008'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2006/04/run-applications-written-for-other.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-114323582451879322</id><published>2006-03-24T16:16:00.000-05:00</published><updated>2006-03-30T11:00:30.116-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Fedora Core 5 Installation Notes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Just downloaded the FC5 DVD iso from the mirror site. Here are some of the notes. The test machine is Acer Ferrari 3400. Note that most commands require root privilege. So, use su or sudo to obtain a root shell first. I tried the i386 distribution first, but later I used the x86_64 architecture.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Burning DVD&lt;/span&gt;&lt;br /&gt;After the DVD iso got downloaded. I need to burn a DVD using it. I used this command to format a DVD-RW disc I have in the drive.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;dvd+rw-format -f /dev/cdrom&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I then open the Nautilus file manager and browse to the directory where the iso file is. Right click on the iso file and select "Write to Disc..." to burn the disc.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;KDE&lt;/span&gt;&lt;br /&gt;The default installation doesn't install KDE. My first take is to use the new Package Manager to add KDE. However, the Package Manager tried to download the files from the mirror sites. It was very slow. Since I already have the installation DVD, so I decided to use that to install KDE.&lt;br /&gt;&lt;br /&gt;The public keys are not imported to the system. The first step is to import the public key.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;rpm --import /media/disk/RPM-GPG-KEY*&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Note that /media/disk is the path to my DVD. Substitute the one for your system. Now I can use yum localinstall to install KDE.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;yum localinstall /media/disk/Fedora/RPMS/kde*&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Ok, I know this is lame. I am lazy and I don't want to type in the names one by one. This will install every packages whose name starts with kde. You will install some extra packages if you use this command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Extra Yum Repositories&lt;/span&gt;&lt;br /&gt;Even though the current Fedora has tons of packages. Some of the necessary ones for functional desktop are not included. There are two nice repositories:livna and freshrpms. To use these two repositories, just type:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;rpm -ihv http://rpm.livna.org/fedora/5/x86_64/livna-release-5-4.noarch.rpm&lt;br /&gt;rpm -ihv http://ayo.freshrpms.net/fedora/linux/5/x86_64/RPMS.freshrpms/freshrpms-release-1.1-1.fc.noarch.rpm&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;DVD Player&lt;/span&gt;&lt;br /&gt;To my surprise, the default player doesn't play DVD. I found this great &lt;a href="http://home.gagme.com/greg/linux/fc5-tips.php"&gt;guide&lt;/a&gt; on installing DVD player. Here are the commands.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;yum -y install xine xine-lib xine-skins&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Macromedia Flash&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;It turns out my decision to use x86_64 is a bad one. Currently, there is no Flash player/plugin for x86_64. After a little research on the web, I found that I can install i386 version of FireFox. Here is the info I found. First create a file called fedora-base-i386.repo in /etc/yum.repos.d .&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;[base-i386]&lt;br /&gt;name=base-i386&lt;br /&gt;baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/i386/os/&lt;br /&gt;gpgcheck=1&lt;br /&gt;enabled=0&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Use the following command to uninstall the 64 bit FireFox and install the 32 bit version.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;rpm -e firefox&lt;br /&gt;yum --enablerepo=base-i386 install firefox.i386&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now, we can install the 32 bit flash plugin. Copy this &lt;a href="http://macromedia.mplug.org/macromedia-i386.repo"&gt;file&lt;/a&gt; to your /etc/yum.repo.d . Use this command to install the flash plugin.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;yum -y install flash-plugin&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Media Player&lt;/span&gt;&lt;br /&gt;Most sites that I visit use Quicktime as video format. I need mplayer for those Quicktime movie files. The installation of mplayer is straight forward. Just use this command to install it.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;yum -y --disablerepo=livna install mplayer mplayer-skins mplayer-fonts&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;However, I still need the browser plug-in for my browser. Remember that I installed the 32 bit FireFox, therefore I need the 32 bit plug-in. First, I need to uninstall 64 bit mozilla as the 32 bit mplayerplug-in needs 32 bit mozilla.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;rpm -e mozilla yelp&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now, I need to install the 32 bit mplayerplug-in from livna-i386 repository. I created a file livna-i386.repo in the /etc/yum.repos.d directory.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;name=Livna for Fedora Core $releasever - i386 - Base&lt;br /&gt;baseurl=&lt;br /&gt;     http://rpm.livna.org/fedora/$releasever/i386/&lt;br /&gt;     http://livna.cat.pdx.edu/fedora/$releasever/i386/&lt;br /&gt;     http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/i386/&lt;br /&gt;     http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/i386/&lt;br /&gt;failovermethod=priority&lt;br /&gt;#mirrorlist=http://rpm.livna.org/mirrorlist-5&lt;br /&gt;enabled=0&lt;br /&gt;gpgcheck=1&lt;br /&gt;gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;After the repo is setup, I can use yum to install the 32 bit mplayerplug-in.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;yum -y --eanablerepo=livna-i386,base-i386 mplayerplug-in.i386&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Wireless Card&lt;/span&gt;&lt;br /&gt;There is no Linux wireless driver for Ferrari 3400. The alternative is to use ndiswrapper package, so that I can use the Windows driver.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;yum -y install ndiswrapper&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can use lspci to find out the wireless card of your system. My Ferrari 3400 uses Broadcom Corporation BCM4306 card. You can download the 64 bit driver from &lt;a href="http://ferrari.databa.se/64-bit_broadcom_54g_drivers.zip"&gt;here&lt;/a&gt;. Unzip the driver and install it.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;ndiswrapper -i netbc564.inf&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can use `ndiswrapper -l` to see if the driver got installed correctly. The next step is to modify the file /etc/modprobe.conf and add a line to it.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;alias wlan0 ndiswrapper&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now, it's time to rebuild the modules.dep file and load the kernel module.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;depmod -a&lt;br /&gt;modprobe ndiswrapper&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The wireless router I am using uses WPA. I need to setup wpa_supplicant in order to enable WPA. The configuration file for wpa_supplicant is /etc/wpa_supplicant/wpa_supplicant.conf. Here is an example for a network using WPA-PSK.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;ctrl_interface_group=wheel&lt;br /&gt;&lt;br /&gt;network={&lt;br /&gt;     ssid="SSIDNAME"&lt;br /&gt;     key_mgmt=WPA-PSK&lt;br /&gt;     psk="your_password"&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You might want to check your /etc/sysconfig/wpa_supplicant file for interface and driver. Here is one example.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;INTERFACES="-iwlan0"&lt;br /&gt;DRIVERS="-Dndiswrapper"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Start the wpa_supplicant service by using this command.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;service wpa_supplicant start&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The last step is to use system-config-network-gui to add a wlan0 device to your system and activate it. If you run into problem while activate the wlan0 device. You might want to run wpa_supplicant in command line to debug it.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;wpa_supplicant -i wlan0 -D ndiswrapper -c /etc/wpa_supplicant/wpa_supplicant -dd&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Active Directory Integration&lt;/span&gt;&lt;br /&gt;To integrate my laptop with our Active Directory, I use system-config-authentication .&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/6613/230/1600/auth.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt;  cursor: pointer;" src="http://photos1.blogger.com/blogger/6613/230/320/auth.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Check the box under Winbind to enable Winbind support for user information. Click on "Configure Winbind..." to bring up Winbind Settings dialog. Enter the following info.&lt;br /&gt;&lt;br /&gt;Winbind Domain: DOMAIN-NAME&lt;br /&gt;Security Model: ads&lt;br /&gt;Winbind ADS Realm: DOMAIN-NAME.COM&lt;br /&gt;Winbind Domain Controllers: dc.domain-name.com&lt;br /&gt;Template Shell: /bin/bash&lt;br /&gt;&lt;br /&gt;The default Template Shell is /bin/false which will disable users' login. Click on "Join Domain" button to join the domain. Click on "OK" will bring you back to Authentication dialog. Click on Authentication tab and check the box under Winbind to enable authendication. Now you can pull user info from Active Directory and your machine can also authenticate with Active Directory. However, the system won't create user's home directory for you. You need to modify gdm and login files in /etc/pam.d directory, so that a home directory will be created automatically whenever a new user tries to logon. Here is an example of pam file.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;#%PAM-1.0&lt;br /&gt;auth       required     pam_env.so&lt;br /&gt;auth       include      system-auth&lt;br /&gt;account    required     pam_nologin.so&lt;br /&gt;account    include      system-auth&lt;br /&gt;password   include      system-auth&lt;br /&gt;session    include      system-auth&lt;br /&gt;session    required     pam_loginuid.so&lt;br /&gt;session    optional     pam_console.so&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;session    required     pam_mkhomedir.so skel=/etc/skel umask=0022&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here is an example of login file.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;#%PAM-1.0&lt;br /&gt;auth       required     pam_securetty.so&lt;br /&gt;auth       include      system-auth&lt;br /&gt;account    required     pam_nologin.so&lt;br /&gt;account    include      system-auth&lt;br /&gt;password   include      system-auth&lt;br /&gt;# pam_selinux.so close should be the first session rule&lt;br /&gt;session    required     pam_selinux.so close&lt;br /&gt;session    include      system-auth&lt;br /&gt;session    required     pam_loginuid.so&lt;br /&gt;session    optional     pam_console.so&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;session    required     pam_mkhomedir.so umask=0022&lt;br /&gt;&lt;/span&gt;# pam_selinux.so open should be the last session rule&lt;br /&gt;session    required     pam_selinux.so open&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Reboot the machine and you can login using Active Directory credential. Remember to enter the user name in this format: DOMAIN-NAME\username . Also, if you need to use ssh to login, the syntax is:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;ssh DOMAIN-NAME\\username@host.domain-name.com&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Remote Administration&lt;/span&gt;&lt;br /&gt;There are two applications that I use everyday to manage my network: remote desktop and vnc. To install them, type:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;yum -y install rdesktop&lt;br /&gt;yum -y install vnc&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I usually run rdesktop with these options:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;rdesktop -g 1024x768 -a 16  server.domain-name.com&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This would connect the rdesktop client to server using a 1024x768 display with 16 bit color depth. The use of vnc is simpler. &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;vncviewer server2.domain-name.com&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;One thing about the vncviewer is that there is no menu for you to select on screen. You need to press "F8" to get the options.&lt;br /&gt;&lt;br /&gt;[...to be continued]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-114323582451879322?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/114323582451879322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=114323582451879322' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114323582451879322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114323582451879322'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2006/03/fedora-core-5-installation-notes-just.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-114289413130831546</id><published>2006-03-20T17:22:00.000-05:00</published><updated>2006-04-05T15:03:27.406-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;Setup RAID on Dimension 8400&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We have a Dimension 8400 that came with a single SATA drive. Recently, we retired some IDE drives that we want to add to the system. These IDE drives are kinda old, so the reliability is a concern. If we can set these IDE drives up as RAID 1 (Mirror), it would give us some kind of protection if one of the drives fails. Dimension 8400 has an onboard RAID controller for SATA drives. However, the spare drives are all IDE. The solution is to buy SATA to IDE adapter to conver these IDE drives to SATA drives. When buying the SATA to IDE adapters, make sure you have the Y-split power connectors and SATA cables. Some adapters don't include these, and you might need to purchase them separately.&lt;br /&gt;&lt;br /&gt;Once we got all pieces together, we ran into another problem. During boot, we didn't get to the screen where you can setup RAID volumes. It turns out, you need to go to the bios setting to enable it. The option you need is Drives-&gt;SATA Operation. Select the third option "RAID on". Save the bios setting and boot again. You'll see the RAID configuration screen right after the Dell logo. Press "Ctrl-I" immediately to setup the RAID volumes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-114289413130831546?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/114289413130831546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=114289413130831546' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114289413130831546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114289413130831546'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2006/03/setup-raid-on-dimension-8400sata.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-114131622734763052</id><published>2006-03-02T11:08:00.000-05:00</published><updated>2006-03-02T12:57:54.753-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;WQL and Path&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I am playing around with WQL today. For a longest time, I couldn't get this query to work.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Set colFiles = objWMIService.ExecQuery ("SELECT * FROM CIM_DataFile" &amp;  _&lt;br /&gt;   " WHERE Drive = 'c:' AND Extension = 'mdb' And Path = '\windows\' ")&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Have you noticed anything wrong with the query? It's the Path! I found that you need to use double back slash instead of single back slash. So, the correct Query should be like this.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Set colFiles = objWMIService.ExecQuery ("SELECT * FROM CIM_DataFile" &amp;  _&lt;br /&gt;   " WHERE Drive = 'c:' AND Extension = 'mdb' And Path = '\\windows\\' ")&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Also, I found that if you have "!=" in your query, the query runs very very slowly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-114131622734763052?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/114131622734763052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=114131622734763052' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114131622734763052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114131622734763052'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2006/03/wql-and-path-i-am-playing-around-with.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-114115852332316734</id><published>2006-02-28T15:25:00.000-05:00</published><updated>2006-02-28T15:28:43.333-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Create a Hyperlink in Excel Spreadsheet Using VBScript&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Someone at the newsgroup asked this question. This is the VBScript that I wrote to accomplish this.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Dim objExcel&lt;br /&gt;Set objExcel = WScript.CreateObject("Excel.Application")&lt;br /&gt;&lt;br /&gt;objExcel.Visible = TRUE&lt;br /&gt;objExcel.Workbooks.Open "C:\bin\test.xls"&lt;br /&gt;objExcel.Workbooks(1).Activate&lt;br /&gt;objExcel.Workbooks(1).Worksheets(1).Range("A1").Select&lt;br /&gt;&lt;br /&gt;Dim sLinkAddress&lt;br /&gt;sLinkAddress = "http://www.google.com"&lt;br /&gt;&lt;br /&gt;objExcel.Workbooks(1).Worksheets(1).Hyperlinks.Add _&lt;br /&gt;    objExcel.Selection, sLinkAddress&lt;br /&gt;objExcel.Workbooks(1).SaveAs "C:\bin\test.xls"&lt;br /&gt;objExcel.Quit&lt;br /&gt;&lt;br /&gt;set objExcel = nothing &lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-114115852332316734?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/114115852332316734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=114115852332316734' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114115852332316734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/114115852332316734'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2006/02/create-hyperlink-in-excel-spreadsheet.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-113949708781759673</id><published>2006-02-09T09:54:00.000-05:00</published><updated>2006-02-09T10:31:00.246-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Popular Web 2.0 Colors&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is the list of the popular colors for web 2.0.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial,Helvetica,sans-serif;"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 254);font-size:180%;" &gt;del.icio.us #0000FE&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;strong&gt;&lt;span style="color: rgb(48, 105, 150);font-family:Arial,Helvetica,sans-serif;" &gt;WordPress #306996 &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;strong&gt;&lt;span style="color: rgb(56, 127, 209);font-family:Arial,Helvetica,sans-serif;" &gt;wink #387FD1 &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;strong&gt;&lt;span style="color: rgb(67, 156, 240);font-family:Arial,Helvetica,sans-serif;" &gt;Flock #439CF0 &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;strong&gt;&lt;span style="color: rgb(115, 163, 149);font-family:Arial,Helvetica,sans-serif;" &gt;SocialText #73A395 &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;strong&gt;&lt;span style="color: rgb(77, 187, 0);font-family:Arial,Helvetica,sans-serif;" &gt;Technorati #4DBB00 &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;strong&gt;&lt;span style="color: rgb(255, 66, 166);font-family:Arial,Helvetica,sans-serif;" &gt;Odeo #FF42A6 &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;strong&gt;&lt;span style="color: rgb(254, 0, 148);font-family:Arial,Helvetica,sans-serif;" &gt;flickr #FE0094 &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-113949708781759673?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/113949708781759673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=113949708781759673' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/113949708781759673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/113949708781759673'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2006/02/popular-web-2.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-113911268344302725</id><published>2006-02-04T23:11:00.000-05:00</published><updated>2006-02-04T23:11:23.443-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;XviD Files Crash Windows Explorer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I copied some XviD encoded AVI files to a machine without XviD codec installed. Whenever I open the folder containing these files. The Windows Explorer crashes with the following event created in the Application log.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Event Type:    Information&lt;br /&gt;Event Source:    Winlogon&lt;br /&gt;Event Category:    None&lt;br /&gt;Event ID:    1002&lt;br /&gt;Date:        2/2/2006&lt;br /&gt;Time:        12:27:02 PM&lt;br /&gt;User:        N/A&lt;br /&gt;Computer:    MyComputer&lt;br /&gt;Description:&lt;br /&gt;The shell stopped unexpectedly and Explorer.exe was restarted.&lt;br /&gt;&lt;br /&gt;For more information, see Help and Support Center at &lt;br /&gt;http://go.microsoft.com/fwlink/events.asp.&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I was puzzled by this behaviour at first. The default application to handle AVI files is Windows Media Player. Oh! I forgot to mention that the machine is running Windows XP Professional SP2 with all the updates. The Windows Media Player version is 9. My first take is to upgrade the Media Player to 10. However, Windows Explorer still crashes after the Media Player upgrade. My second take is to install the XviD codec. After I installed the XviD codec, the crashes stopped. I am able to browse those files using Windows Explorer without crashing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-113911268344302725?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/113911268344302725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=113911268344302725' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/113911268344302725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/113911268344302725'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2006/02/xvid-files-crash-windows-explorer-i_04.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-113803104050280405</id><published>2006-01-23T10:32:00.000-05:00</published><updated>2006-02-02T15:03:49.880-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Intel iMac and Samsung ML-2551N&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We usually use the IP Printer option in Mac OS X when setting up network printer in our environment. We got this shiny iMac with Intel Dual Core processor the other day and had tons of troubles setting up a Samsung ML-2551N network printer.&lt;br /&gt;&lt;br /&gt;First, we tried IP Printer with either Samsung driver or the generice driver. Both didn't work. After 20 minutes or so, I was about to give up. I decided to try Default Browser in Printer Setup. The ML-2551N showed up as two entries. One with Bonjour connection and the other with Appletalk connection. If I set up the printer using the Bonjour connection, it still doesn't work. Finally, I set up the printer using the Appletalk connection and it works perfectly afterward.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-113803104050280405?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/113803104050280405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=113803104050280405' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/113803104050280405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/113803104050280405'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2006/01/intel-imac-and-samsung-ml-2551n-we.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-112127169923376705</id><published>2005-07-13T11:20:00.000-05:00</published><updated>2006-02-02T14:56:40.140-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;Silent Install for Firefox and Thunderbird&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;"Firefox Setup 1.0.5.exe" -ms&lt;br /&gt;"Thunderbird Setup 1.0.2.exe" -ms&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-112127169923376705?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/112127169923376705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=112127169923376705' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/112127169923376705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/112127169923376705'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2005/07/silent-install-for-firefox-and.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-111574760510496331</id><published>2005-05-10T12:52:00.000-05:00</published><updated>2006-02-02T14:57:10.876-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;VB Script wrapper function for regular expression.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Function Found(strTarget, strPattern)&lt;br /&gt;  Dim regEx&lt;br /&gt;  Set regEx = New RegExp&lt;br /&gt;  regEx.Pattern = strPattern&lt;br /&gt;  regEx.IgnoreCase = False&lt;br /&gt;  Found = regEx.Test(strTarget)&lt;br /&gt;  set regEx = Nothing&lt;br /&gt;End Function &lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-111574760510496331?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/111574760510496331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=111574760510496331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/111574760510496331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/111574760510496331'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2005/05/vb-script-wrapper-function-for-regular.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-111574517708105364</id><published>2005-05-10T12:09:00.000-05:00</published><updated>2006-07-14T09:45:23.863-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;WMI script to find files last accessed on a certain date.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;dtDate = "5/2/2005"&lt;br /&gt;strSearchFolder = "C:\Windows"&lt;br /&gt;&lt;br /&gt;Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;br /&gt;WScript.Echo "File(s) last accessed on: " &amp; dtDate &amp;amp; " in: " &amp; strSearchFolder&lt;br /&gt;EnumAndCheckFiles objFSO.GetFolder(strSearchFolder), dtDate&lt;br /&gt;&lt;br /&gt;Sub EnumAndCheckFiles(objFolder, dtDate)&lt;br /&gt;    Set objFiles = objFolder.Files&lt;br /&gt;    For Each objFile in objFiles&lt;br /&gt;    CheckFile objFile, dtDate&lt;br /&gt;    Next&lt;br /&gt;    For Each objSubfolder in objFolder.SubFolders&lt;br /&gt;        EnumAndCheckFiles objSubfolder, dtDate&lt;br /&gt;    Next&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Sub CheckFile(objFile, dtDate)&lt;br /&gt;    If DateDiff("d", objFile.DateLastAccessed, dtDate) = 0 Then&lt;br /&gt;        WScript.Echo objFile.Path&lt;br /&gt;    End if&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-111574517708105364?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/111574517708105364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=111574517708105364' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/111574517708105364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/111574517708105364'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2005/05/wmi-script-to-find-files-last-accessed.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-111505840248617837</id><published>2005-05-02T13:22:00.000-05:00</published><updated>2006-02-02T14:57:53.036-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;Mac OS 10.4 Tiger Stealth Mode&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The new stealth mode in Tiger is just this ipfw command&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;ipfw -q add 20000 deny icmp from any to me in icmptypes 8&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-111505840248617837?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/111505840248617837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=111505840248617837' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/111505840248617837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/111505840248617837'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2005/05/mac-os-10.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-111444888485203585</id><published>2005-04-25T11:59:00.000-05:00</published><updated>2006-02-02T14:58:20.216-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;Free Windows Rootkits Detection Tools&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;RootkitRevealer&lt;br /&gt;&lt;a target=_new href="http://www.sysinternals.com/ntw2k/freeware/rootkitreveal.shtml"&gt;http://www.sysinternals.com/ntw2k/freeware/rootkitreveal.shtml&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-111444888485203585?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/111444888485203585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=111444888485203585' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/111444888485203585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/111444888485203585'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2005/04/free-windows-rootkits-detection-tools.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-111299569986165447</id><published>2005-04-08T16:23:00.000-05:00</published><updated>2006-02-02T14:58:39.230-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;WMI and Day Light saving time&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;If you use the "Bias" property of Win32_TimeZone to convert time to UTC time, remember to check "DayLightInEffect" property of Win32_ComputerSystem to determine if you need to adjust the "Bias" according to Day Light saving time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-111299569986165447?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/111299569986165447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=111299569986165447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/111299569986165447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/111299569986165447'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2005/04/wmi-and-day-light-saving-time-if-you.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-111221147343966319</id><published>2005-03-30T14:36:00.000-05:00</published><updated>2006-02-02T14:58:58.590-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;Use Computer Management to manage remote computer.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;compmgmt.msc /computer:remote_computer&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-111221147343966319?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/111221147343966319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=111221147343966319' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/111221147343966319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/111221147343966319'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2005/03/use-computer-management-to-manage.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-110789559525063389</id><published>2005-02-08T15:44:00.000-05:00</published><updated>2006-02-02T14:59:23.443-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;Batch file to list all the methods in WMI command line tool (wmic).&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;@ECHO OFF&lt;br /&gt;&lt;br /&gt;FOR /F %%a IN ('wmic alias list instance ^| FIND /v "Friend" ') DO (&lt;br /&gt;   FOR /F %%b IN ('wmic %%a /? ^| FIND /i "%%a CALL"' ) DO (&lt;br /&gt;       ECHO wmic %%b CALL /?&lt;br /&gt;       wmic %%b CALL /?&lt;br /&gt;   )&lt;br /&gt;)&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-110789559525063389?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/110789559525063389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=110789559525063389' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/110789559525063389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/110789559525063389'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2005/02/batch-file-to-list-all-methods-in-wmi.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-109897509548177774</id><published>2004-10-28T09:48:00.000-05:00</published><updated>2006-02-02T15:00:11.570-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;Disable Windows XP SP2 Firewall&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Windows XP Service Pack 2 enables firewall by default. To prevent firewall enabled after installation, apply the registry setting &lt;span style="font-weight: bold;"&gt;BEFORE&lt;/span&gt;  install SP2.&lt;br /&gt;&lt;br /&gt;&lt;pre  style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;Windows Registry Editor Version 5.00&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall]&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\DomainProfile]&lt;br /&gt;"EnableFirewall"=dword:00000000&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile]&lt;br /&gt;"EnableFirewall"=dword:00000000&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-109897509548177774?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/109897509548177774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=109897509548177774' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/109897509548177774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/109897509548177774'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2004/10/disable-windows-xp-sp2-firewall.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-109821559887421408</id><published>2004-10-19T14:48:00.000-05:00</published><updated>2006-02-02T15:00:36.930-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;To set FireFox as your default browser for Mac OS 10.3,&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;   &lt;li&gt;Open Safari. Yes, this is strange but you have to change it in Safari.&lt;/li&gt;   &lt;li&gt;Click Safari -&gt; Preferences...&lt;/li&gt;   &lt;li&gt;Select FireFox in the "Default Web Browser" listbox.&lt;br /&gt;  &lt;/li&gt; &lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-109821559887421408?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/109821559887421408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=109821559887421408' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/109821559887421408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/109821559887421408'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2004/10/to-set-firefox-as-your-default-browser.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5773206.post-109478992235438183</id><published>2004-09-10T00:15:00.000-05:00</published><updated>2006-02-02T15:01:13.563-05:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;Hide your Windows computer from Network Neighborhood&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Use the following command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;net config server /hidden:yes&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5773206-109478992235438183?l=yimin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yimin.blogspot.com/feeds/109478992235438183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5773206&amp;postID=109478992235438183' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/109478992235438183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5773206/posts/default/109478992235438183'/><link rel='alternate' type='text/html' href='http://yimin.blogspot.com/2004/09/hide-your-windows-computer-from.html' title=''/><author><name>Yimin</name><uri>http://www.blogger.com/profile/16587010110406690755</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
