Friday, June 5, 2009

Vista AppData

In Vista, the biggest change in the arrangement of a user's settings is the creation of the AppData folder. Furthermore, this AppData folder has three subfolders, Local, LocalLow and Roaming. As with Local Settings, a folder called Application Data exists in Vista for backwards compatibility with XP.

If you look closely at the icons under the Users folder, you will notice that some subfolders have a shortcut arrow. These arrows indicate a Junction point or Symbolic link. For ordinary mortals stick with the idea that these folders represent shortcuts, for example, the 'All Users' settings are now actually stored here --> C:\ProgramData. As far as Microsoft's technical explanation of Junction Points and Symbolic links, it was a case of 'Guy is reading, but Guy is not understanding'.


source : http://www.computerperformance.co.uk

Read More...

Fix corrupted user profile

Assume in this example that the username is 'atiensivu', the domain is 'staff', and the user profile is located in %systemdrive%\users\atiensivu. %systemdrive% is typically C: on standard Vista installs. Replace every instance 'atiensivu' with the username of the corrupt profile.

1. If you can log into the profile, make note of the %USERPROFILE% environment variable value. Most likely it will be 'C:\Users\atiensivu' or 'C:\Users\atiensivu.staff'. Logoff.

2. If you have logged in with the profile at any point since your last reboot or you suspect there are files in use within the profile, reboot. The important part is to make sure there are no open files within the broken profile directory.

3. Login as administrator or another account with local admin rights.

4. Run 'takeown /r /a /d y /f %systemdrive%\users\atiensivu'.

5. From %systemdrive%\users, rename 'atiensivu' to 'atiensivu.old'.

6. Within %systemdrive%\users, create a directory called 'atiensivu'.

7. Run 'takeown /r /u staff\atiensivu /f %systemdrive%\users\atiensivu'.

8. Run regedit and go to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList and delete the SID key for the corrupt profile. Easiest way to find the correct SID is to search from the 'ProfileList' key for the directory mentioned in %USERPROFILE% in step #1.

9. Logoff.

10. Log into the 'atiensivu' account. A new profile should be created. Copy over any files you might want from the old profile directory.

The 'takeown' commands might be overkill but I don't like getting permission errors.

Read More...

Thursday, June 4, 2009

Only Member can enter

Let only member view your wordpress blog
Plugin Name : Members Only

Source:
http://wordpress.org/extend/plugins/members-only/


Read More...