RSS

How-to Create a default user in Windows Vista/7

0 Comments | This entry was posted on Sep 26 2009

In Windows Vista and Windows 7 there are two ways you can create a modified default user profile. One is automatic and the other is manual. The automatic way is the recommended way according to Microsoft. However, you may run into some problems using this way so I will explain it the manual way too.

First up is the automatic way. For the automatic way you have to use the system preparation (sysprep) tool that Microsoft provides built into Windows Vista and 7. This tool is used for a variety of things but is mainly used for when you need to create a single computer image to put onto multiple machines. To see all the crazy things sysprep can do read the technical documentation on creating an unattend.xml file for sysprep to change everything from your sidebar widgets to your computer name.
Once you have your unattend.xml file created you just need to make sure you have the CopyProfile option turned on in the “specialize” pass and you should be all set.

<CopyProfile>True</CopyProfile>

A few things to note if you are going to do it this way.
1. The account you run the sysprep command from is going to be the account that is copied to the Default profile. So make sure the account you are running sysprep from has admin rights and is set up exactly as you want it.
2. The administrator account is removed during sysprep. Even if you have everything set up the way you want it to be admin will get the same settings as Default user unless you do some fancy scripting.
You can do some more reading on using this method with the following KB article.

Now for the manual method. This method is good if you don’t want to sysprep the computer because all you want to do is change some items for all the users that are going to be logging into a computer. I got all this information from this technet thread but I have used this mothod pretty extensively.
First thing you have to do is to create the profile just as you want it (same as the automatic steps). In this situation though you need to create a second user account because you are going to use the local administrator account to copy all of the settings from the second account to the default profile.
Once everything is set up just the way you want it, restart the computer and log into the local administrator.
After you log in follow the steps below.

1. Right click Computer and select Properties
2. Select Advanced System Properties (elevating as required)
3. In the system properties dialog click the Settings button under User Profiles
4. Select the account you want to use as a template
5. Click Copy To
6. Change the “permitted to use” option to “Everyone”
7. Use the Browse button to select the location of the default profile (C:\Users\Default) You will need hidden files shown to see this.
8. Click OK
9. Click Yes to overwrite the existing default profile

The steps above copy all the files and settings to the profile but there are still things in there that probably reference your old account you had created. To get rid of all those references to the other account you will need to edit the registry hive of the Default user. Follow the steps below to remove all traces of your template account from the default user.

1. Enable “Show hidden files and folders” in Folder Options
2. Disable “Hide Protected Operating System files” in Folder Options
3. Launch Regedit
4. Select HKEY_USERS and go to File -> load hive
5. Navigate to the profile directly of the user you want to load (e.g. C:\users\default for the default user)
6. Open the ntuser.dat file
7. Provide a name for the hive, this will be used as the root key name for that hive under HKU
8. Search the hive for any reference to your old user account.
9. When you find any keys that reference your old user account you can delete the keys (they will be re-created when someone new logs in).
10. Unload the hive before attempting to log in as the user

After you have finished you can log in with a new user to test that all the correct settings transferred to the default profile. If you are satisfied with everything go ahead and go back to System Properties -> Advanced System Properties -> User Profiles and delete the account you set up for the Default User template.

If you have any questions, comments, or problems feel free to leave a comment. I hope this helps.

How-to enable blank passwords in Windows

2 Comments | This entry was posted on May 14 2009

If you set up a user account in Windows and you want to allow the user account to have a blank password you may find it a little difficult. In order to accomplish this you probably need to change a couple settings in Windows.

password_error
The error message you probably got is:

The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements.

To allow a blank password go to Start -> Run and type in gpedit.msc then hit enter.
You should get a window that pops up and has a whole bunch of settings you may have never seen before. On the left side expand Windows Settings -> Security Settings -> Account Policies and then click on Password Policy. On the right side you will need to change a few of the settings.
gpedit
The three settings you will need to change are Maximum password age, Minimum password length, and Password must meet complexity requirements. Change maximum age and maximum length both to zero and disable the complexity requirements. Once you have these three settings changed you can just close out the window and now you should be able to set a blank password for your user account.
If you cannot change these settings you may be joined to a domain which has these settings locked down. I can’t help you there, but this should help in most other cases.
Let me know if this helps, or doesn’t help, in the comments.

How I stay digitally organized: downloads and files

1 Comment | This entry was posted on Nov 21 2008

I was inspired by download squads post on getting a hard drive organized and I thought I would post how I keep all my many computers organized. I hope to follow this up with a couple other posts about how I keep my cloud life organized and how I keep my media files organized but, first lets tackle local files.
To explain how out of hand my files can get, here are the computers and storage devices I use regularly: work laptop (with 2 OS’s), work desktop, home desktop, MythTV computer/NAS, wife’s laptop, wife’s desktop, numerous memory cards, 2 external hard drives, a home NAS, network drives at work (8), backup CD’s, a original xbox (which stores more than you’d think), and obviously this website/server and more email addresses than I want to admit to (or even know exist).
So lets start with how I keep my files organized on the computers I use the most. My work laptop and work desktop.
The first thing I always try to remember on my work computers is anything and everything on my work laptop and work desktop are counted as files I can lose at any time. I do not keep them backed up as often as I should because I use these computers mostly for work purposes. If I lost my job or either of my hard drives failed all of the files would be gone and I am fine with that because all of my important files are backed up somewhere else. Both of my work computers are running Windows Vista and I had to create some extra folders in my user profile to stay organized.
The first folder I make is install. This is where I keep my most used program installers that are not updated too often. Programs like Firefox, Filezilla, and Pidgin are all updated far too often for me to keep installers for them but more random/large installers I want to keep around for future use so they go in this folder. Inside my install folder I have the following subfolders: Backup, Game, Hardware, Operating System, Software, and Windows Mobile. The backup folder is not where I store backups from the local computer but usually backups for other computers/memory cards. This folder structure is almost identical to one of my external hard drives. The external hard drive keeps a much more permanent set of installers and backups but my laptop is just for programs I install often. The other folders in my Install folder are pretty self explanatory.
The second folder I create is a scripts folder inside my user folder. I have debated naming this projects because it is where I keep scripts/programs I am writing and general tools that I make for myself. For now though I just put scripts in that folder.
The last folder I make is my work folder under documents. This folder is simply for work related documents (pdfs, spreadsheets, etc.). I don’t keep a lot of work documents on my laptop because they are generally stored on my network drives at work. This folder is just for documents that relate specifically to me such as expense reimbursements, system logs, and checklists.
The last set of folders I make are in my downloads folder. Inside downloads I create a Firefox, torrent, FTP, and dropbox folder (the desktop and Starcraft folders in the screenshot are only specific to my laptop and are there for quick access). I then tell each appropriate program to put the freshly downloaded files in the correct directory (dropbox is a writable samba share folder). Once I have all the folders created I add a toolbar to the Windows taskbar for easy access because this is probably my most used folder. This is also usually my biggest place of disorganization because I download things frequently. I have found, however, with this organization it is very easy for me to go through old files and delete them with ease. I used to use Belvedere from Lifehacker but I found I did not like my files moving on their own.
My linux computers/partitions have similar folders in the home directory and my wife’s computers she keeps organized as she wishes but usually keeps important files on the NAS at home. I will go over organizing media files next.

Windows Vista temporary user profile

2 Comments | This entry was posted on Oct 09 2008

Sometimes when a user logs into their vista machine they are greeted with a temporary user profile. This is caused from a few different things but the main causes are
1. The computer cannot authenticate the user on the domain (usually because it did not get a respond from the domain controller). Or the computer is no longer a part of the domain.
2. The user is part of the Guest user group.
3. The user profile folder/user name was not available or the user already existed in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
4. The login service failed to start on the machine prior to logging into the machine.

The main indication that the user is using a temporary user profile is all of their documents appear to be missing (desktop, documents, favorites, etc.). Any settings the user may have are also set to default (default background, screen saver), and the user will have this popup in the lower right hand corner.

The popup warns the user saying “User profile was not loaded correctly. You have been logged on with a temporary profile. Changes you make to this profile will be lost when you log off. Please see the event log for details or contact your administrator”

If this problem happens for a user the first thing that will probably fix the problem is restarting the computer (so the computer can connect to the domain controller). If that does not fix the problem please put in a work order so we can look at the problem and narrow down why this is happening.

One important thing to note when the user is logged into a temporary user is that their documents in their profile are not lost. Nothing has been erased they are just logged in as a different user. It is also important that the user does not save anything to the temporary profile. If they need to save a document they should email it to themselves using apumail.apu.edu, save the document to one of their network drives, or save files to a usb drive. If anything is saved to the desktop, documents, or favorites of the temporary profile it will be lost once the user is logged off.

Please see these links for more information.
http://support.microsoft.com/kb/940453
http://support.microsoft.com/kb/947242/en-us
http://support.microsoft.com/kb/257580/en-us

How to set an external display as primary in Windows Vista

2 Comments | This entry was posted on Oct 02 2008

I posted this on my work’s wiki but I wanted to post it here so I can remember how to do it for later.

If you have your external display plugged into your laptop push Win+X to bring up the Windows Mobility Center. Then click on the Connect display button.

This will bring up the New Display Detected screen.

With that window open select “Show my desktop on the external display only” and hit ok.

Your laptop monitor should turn off and the external display will show your start menu and anything else you had open on the laptop.

Now right click on the desktop and go to personalize.

Then go to Display settings and select “Extend the desktop onto this monitor”

Go here for more information.

http://msthings.spaces.live.com/Blog/cns!BFE88543FF6C8C5F!218.entry

Let me know if you have any Vista tips in the comments.

Windows tools

0 Comments | This entry was posted on Mar 04 2008

So I thought I would clean out a few more pinned articles in my bloglines before I went to bed. By a few, I mean 9. Lets just get started with this.

The first one is real simple. This is how you can easily disable Aero before running a program. In many cases you would want to do this before running a 3D intensive game. All you have to do is find the shortcut, right click and go to properties, click the compatability tab and check the box that says “Disable desktop composition”. That is it. Aero will disable itself next time you launch the shortcut and enable itself when the program is done.

The next tip it two-fold. First there is a quick tip on how to backup your DVD’s with 1 click. Sure that 1 click is going to take you a few hours to complete, but all you have to do is click once. The second part is a bit more involved but shows you how to backup your DVD’s and play them easily on a PS3. Sure you could always put the DVD in the PS3 and play it but who wants to get up? This uses a great tool, which I have yet to use, called PS3 Video 9.

Next up is another two parter and this is all about extracting things you never knew you could extract out of Windows. If you want to use a icon that a certain program uses. You can use IconsExtract or if you want to extract all the drivers you are using, to save as a backup, you can use DriverMax.

One of the last useful updates I have is a visual tweaker for Vista. It is called Vista Visual Master and has a lot of very useful tools. It gave me the ability to use custom themes again after I installed SP1 and that is worth a download itself.

Here are a few that most people probably won’t find very useful but I am going to give them a try for various reasons.

To remove passwords from Excel documents you can either buy a tool called Excel Password Remover or you can run one of many macros that will remove the password for free. I want to link to the full article so you can see all the comments with the macro options.

The last two I have are random but I know I will need them one day. First is a way to disable cached domain logins in Windows. This also may work to increase the number of logins available when off the domain but I need to test with that. To do it all you have to do is open the registry and find:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Once you find that just change the cashedlogonscount to whatever value you want. Note that 0 disables this ability.

This last one will come in real handy when making my classroom images. A tool called CleanHandler will clean up those autoplay options that pop up in Windows when a cd/usb stick are plugged in.

I feel pretty good after that update so I will leave you with that.

How-to set a screensaver before login in Windows XP/Vista

0 Comments | This entry was posted on Jan 29 2008

I haven’t fully tested this for Vista yet but it has the same key as XP so I am assuming it works the same. This is very similar to the setting up a default wallpaper but you use the SCRNSAVE.EXE key instead of Wallpaper.

Browse the registry to

HKUS\.DEFAULT\Control Panel\Desktop

Just change the SCRNSAVE.EXE key to wherever your .scr file is located. There is also options for setting if there is any screensaver, ScreenSaveActive, the time out, ScreenSaveTimeOut, and if the screensaver is secure which seems dumb to me since no one has logged into the computer yet, but whatever.

A bunch of new tools/tweaks

0 Comments | This entry was posted on Jan 12 2008

I don’t really like filling up my website with posts about every tool I find. But every once and a while my RSS feeds fills up with “pinned” items for me to remember and check out when I get time. Well, it has filled up again and I am going to throw a bunch of downloads at you so get ready.

Lets start with a few tools that I probably won’t use much but it may be good for me in the future. Test Everything is a all-in-one tester for your website. Want to test your CSS or Whois? They have it all in a pretty slick, but not very user friendly interface. Bottom line is, if it isn’t at Test Everything I would be surprised if it exists anywhere.

This next one is a tool I remember reading about in the PDAPhoneHome forums a couple of years ago when I had my xv6700 and it was just a idea. It is called WMWifiRouter and it makes your Windows Mobile phone work as a wireless router for your laptop/PSP/whatever. You have to connect via a Ad Hoc network because the phone cannot broadcast DHCP but that shouldn’t be too much of a problem. The tool comes in 3 versions. The first version will install the program on your phone and also set up the Ad Hoc network connection for you. The second will install the program but you will have to do the Ad Hoc network settings yourself. The third is just the program. You will have to drag the program over to your phone and then run it and set up the network yourself. I really can’t wait till I get my new phone so I can give this one a try.

Now on to some tools I know I will probably use. The first two allow you to work on computers remotely. What is always the first step of working on a computer remotely? Figure out what is wrong. LSGrab helps with that. It allows you to remotely get a screenshot of a computer on your network. I tried it out on a couple of computers on my work network and had mixed results. Either way, it doesn’t hurt to try. The same web site, Moernaut.com, also had a tool called Remote interactive executer. I didn’t get a chance to try out this tool but if it works the way I think it does I will be keeping this around for a while.

Speaking of remotely managing computers. If anyone out there has a good program for remotely administering computers please leave a comment. I have been having a hard time finding a good one for my work. And just to narrow things down a little bit, LanDesk and Desktop Authority require too much integration (domain admins/servers), and NetSupport and Radmin don’t have all the features I need. So if you find something in between please let me know. I need to be able to remotely administer a computer without disrupting the user.
The next tool comes from the How-To Geek. They helped me out in a big way by showing me how to disable the internal system beep in Windows. If I still ever used internet explorer I would also have loved their tip on enabling more simultaneous downloads. In order to keep things nice and tidy on your computer, lifehacker has a tool called Belvedere that can automatically manage files for you. I have a couple set up that lets my downloaded files move after 1 week of creation and then if they aren’t opened in a couple weeks after being moved they are automatically deleted. A great way to keep junk files off my computer.

Finally, there is something I am never fond of but it is still fun to mess around with and that is making your OS look like a different OS. But, if you ever wanted to make your Windows XP machine look like OSX you don’t need to look any further than FlyakiteOSX. How-To Geek tipped me off to the program and I gave it a try on my virtual machine and it doesn’t look to bad. I mean, for what it is.

That should clean out my RSS feeds for a little while. Enjoy the new tools.

Catching up

0 Comments | This entry was posted on Dec 07 2007

I have had quite a few articles and tools that I have been wanting to post here but I haven’t made the time to do it. So I guess I am just going to make one big post for all of them. Most of these tools came from the wonderful How-to Geek but there are a few other good ones in the mix.

First up is replacing your task manager with process explorer in Windows Vista. In XP it is usually as simple as going to options and clicking on replace task manager. In Vista there is a bit more of a trick to it if you still have UAC ruling your life. UAC is the first thing I turn off in Vista so there wasn’t any problem for me. Head over to the How-to Geek for further instructions and screenshots.

The next tip is all about drivers. First you could always see what drivers you have installed at the command line, but that isn’t very fun. I guess you could see what drivers are installed and export the list to a text document, excel spreadsheet, or something else. Or you could just transfer the drivers directly from one machine to another. This is great news if you are moving from one computer to another, or if you are just having problems with your computer and want to do some troubleshooting.

Downloadsquad makes the list of useful tools with the Revo Uninstaller. I have never heard of it before but already really like it. Not only can it uninstall your programs and search for left over files and registry entry’s, but it also has built in shortcuts like the on screen keyboard, msconfig, system properties, etc. And because the new version is free AND portable I can keep it on my usb key and take it with me when troubleshooting machines.

Downloadsquad also showed me a Universal Extractor that could be very useful for extracting files that 7-zip can’t already open. I haven’t tried it yet but I defiantly want to keep it in my bag of tricks.

You would think this post would be done now because there is already so much stuff. But I have been procrastinating for a while now on these tools.

Inventgeek had one of the best do-it-yourself articles I have sen for a while. How to make your own thermal paste from diamond dust. I really want to give this one a try on my PS3 but it is going to have to wait just a little bit. I am still a bit nervous about putting it back together. The opening up doesn’t scare me at all. It is only the reassembly.

The last two articles go back to the How-to Geek. If you support machines like I do you probably use the Group Policy Editor quite a bit in Windows XP. This tip shows you how to add it to the control panel. There is also one for adding User Accounts Utility (userpasswords2) in the control panel.

Last but not least. How to Remote Control Leopard with TightVNC brought to you by Lifehacker.

Well I am officially caught up with the articles I wanted to add here. Now I think I will try some of them out and maybe play some more video games.

Weekend Update

0 Comments | This entry was posted on Oct 27 2007

I should have some good pictures of pumpkins sometime this week so I will post those as soon as I get them. I also just wanted to share a few tools I found over the past week (or two).

The first I found over at Lifehacker and it is called NetDrive. It allows you to mount remote file systems (ftp, sftp, etc.) to your windows machine. You can download the utility here because I guess it isn’t developed anymore and somewhat hard to find.

Secondly there is a program called mRemote. I really want to give this one a try. It allows you to manage multiple remote desktop connections all from one program. The real cool thing is it doesn’t have to be the same type of remote desktop. You can use it for RDP, ssh, vnc, etc. It is open source so you can grab the latest version from SourceForge.

Finally there

is a how to on Wired about Usenet file sharing.