Active Directory homeDrive (Home Folder)

If you’re using an automated tool to create your user accounts and assign a Home Folder (a mapped drive pointing to shared location on a server) - make certain that the property has a colon after the drive letter (e.g. Z: not Z). Without the colon, the drive will not be mapped on user log on. How do you know if this property is set correctly? Active Directory Users and Computers won’t show you. Use ADExplorer. This tool will show you the properties, value types, and actual values of any object in your Active Directory structure…very helpful for writing scripts and apps that interface with LDAP.

Read More >

eeePC - not for the masses

I managed to purchase one of these little gems in late April. I’ve been a longtime fan of Linux and Asus in general, so the thought of a little laptop running the free OS was enough to keep me dreaming until I broke down and ordered one. I bought a 7” model with the4 gig hard drive and an extra 2 gigs of ram. I did the ram install myself and setup the Advanced Desktop to my liking. The first several days were wonderful. I intended to use this to check email, read the internet, and watch streaming video piped to my TV. Then I started to notice some things…the newness was wearing off.

First - this thing is tiny. I knew that going in and anyone thinking about one should know that too. The idea of a tiny laptop didn’t scare me - I have medium to large size hands and work with computers every day. If anything a little less weight to carry would be good. I found the weight to be fine. However, I found the keyboard to be of just plain bad quality. What most have blamed on big fingers - I believe is a flaw in the design. My O and N keys consistently required more force to press than others in order to register a keystroke. In addition, the cramped spaces inside the device made it such that using a headphone plug on the side of the laptop was extremely difficult - hard to put in and hard to take out. The microphone port was fine…

Second - Linux is good. Asus branded Linux…not so hot. Initially, I was overjoyed that the flavor of Linux on the eeePC was Debian based - gotta love apt-get. However, repositories of definite quality and dependability are slim to none. Luckily, the eee has most of what you need - just hope you don’t need to update in the future.

Third - drivers within the default Linux for the wireless nic are just poor. Posts on can confirm this for anyone. If you’re connecting to an unsecured wireless access point - you’ll be pleased with the eee. I don’t give away my internet connection, and so have a standard Linksys WRT54g configured for WPA with a typed in key. Connecting to this with the eee got worse every time I booted the device - to the point of waiting for up to an hour for it to connect. It just didn’t seem to receive DHCP offers. Contrast that to my workhorse Lenovo laptop that connected every time before I could even log in to Windows. I don’t doubt that Asus used good quality parts - I believe that using hacked up drivers on a commerical product that results in a boot time of under 1 minute and a WPA access time of an hour is poor form. Shame on you Asus. I love Linux - and I even prefer Asus for my motherboards. But surely there are better supported wireless chipsets out there for Linux they could have used…

Fourth - Adobe Flash on Linux works well, for the most part. However, the speed of the eee coupled with poor Flash performance on Linux makes playing back videos on Hulu jittery and unwatchable. I tried every trick I could find, stopping only before overclocking (not worth it in my book). Perhaps the next Flash version will make this better? Let’s all hope so.

I could have lived with everything above except for the 3rd point. A device meant to be instant-on taking that long to connect to a wireless network I know is in good working order is infuriating. If I can boot up my Lenovo laptop with Visual Studio, Office 2007, etc. on it and beat the eee to the Internet - the eee is now just a paper weight. For that reason - the eeePC was the first item I’ve sold on eBay. I have no doubt that 90% of the audience of the eee loves it. Heck - I think it’s a brilliant device and one we’ll see cloned 100 times over. I’ll probably buy one of those clones. But of all the praise for the eee - it is still a niche product meant for a select few. Namely those with: small hands, limited application needs, unsecured wireless routers, and flashblock installed in FireFox.

Anybody have one of the eee Clones with Linux and good WPA wireless? Maybe I’ll try my luck again.

Read More >

Finding the last login date for all profiles

By day I am but an humble IT worker - currently tasked with maintaining and improving scripts and tools that keep our enterprise workstations humming. My largest project thus far has been an ever growing inventory script (now a .NET 2 app) that reports information back to a SQL database. This app is run on a schedule by a service I wrote. The script collects great pieces of information - everything from the screen resolution being used to information on SQL Server instances on the device (yep - inventories servers too!).

Anyway - one area that posed an issue was reporting back all profiles present on a computer and when they were last used. This can be done a number of ways - the simplest of which being to enumerate the folders in the Documents and Settings folder and then get the last modified date off of the ntuser.dat.log file within each directory. This file is a log (wow, couldn’t have guessed that!) of all registry actions for that specific user’s registry hive - think everything under HKEY_CURRENT_USER while you’re logged in. This works great - and has for a long time. Recent developments have changed some of that though…

What happens when AntiVirus crawls each user’s registry hive? It updates that file. Suddenly the inventory app was reporting each profile to be current as of the day the app was run…not good. I searched a long time via the Internet - and just poking around the registry for days. WMI didnt’ help any - and neither did a hunch I had about using the local computer as an Active Directory forest to find the last login time. I came across another file you can check - and I believe I’m the first on the net to post this.

Check the file date on this file:
C:\Documents and Settings<user>UserName\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat.LOG

This has proved to be a reliable way of getting the last login time for each profile when the other log file isn’t reliable. I suspect that it may be updated on certain software installations - so beware. But in my case - this was a life saver. Have fun and let me know if it helps!</user>

Read More >

Boxes of Orden

I just finished reading Chainfire, by Terry Goodkind. I had taken a 2 year hiatus from reading the series and finally returned to it. If you’re looking to pick up recreational reading, I highly recommend the series. It starts with “Wizard’s First Rule”. Truly one of the best series of our time.

Read More >

Laptop BIOS/CMOS reset = pain

This post is for those individuals looking to see if this is possible… I just reset the BIOS on an HP Pavilion ZE4900 (laptop) by removing and replacing the CMOS battery. The online manual doesn’t show its location - but you need to complete disassemble the laptop down to removing the main board. The CMOS battery is located on the underside of the board toward the front of the laptop. Needless to say - the last four hours are hours I’ll never get back :-/

Read More >

subscribe via RSS