Search This Blog

Cannot Add User Account in Windows 7 Home Premium

Local Users and Groups management console (MMC) is not available in Windows 7 Starter and Home Premium.  Adding use account in these versions is through Control Panel / User Account.  If you get an error “The specified account is not valid, because account names cannot contain the following character…. Please type a different name”,

image

Here is how to troubleshoot

  1. Verify the user account name do not contain the listing characters.
  2. This error also happens when the user account name already exists.  Because the disabled account is hidden from Control Panel / User Account, type “net user” in the command prompt to view all user accounts.

Hide User Account in Windows 7 Logon Screen

One way to hide user account in Windows 7 logon screen is to disable the account if it is no longer in use.  This is probably the easiest way.

User account management usually is in Local Users and Groups management console (MMC).  For Windows 7 Professional and Enterprise Edition, user account can be disabled there.  However Local Users and Group MMC is not available in Windows 7 Starter and Home Premium Edition.  But it can be done through “net user” in the command line.

  1. Launch Command Prompt as administrator.
  2. Enter “net user” to list all the local user account.
  3. Enter “net user <user name> /active:no” to disable the account.
  4. Once the account is disabled, it is hidden from the logon screen and Control Panel/User Accounts.
  5. To reactivate the account, enter “net user <user name> /active:yes”.

Free Burning, PDF Converter, Backup Software

Tiny Burner – Free CD, DVD or Blu-ray burning software for Windows 7, Vista, XP, 2008/2003/2000 Server (32 and 64-bit)

doPDF – Free PDF converter for Windows 7, Vista, XP, 2008/2003/2000 Server (32 and 64-bit).  No GhostScript or .NET required.

FBackup – Free backup software for Windows 7, Vista, XP, 2008/2003/2000 Server (32 and 64-bit)

Exchange Server 2010 Migration Articles

Some articles about Exchange Server 2010 Migration

SQL Server Authentication and Authorization

Just read a blog post illustrating the SQL account problem when moving or restoring SQL database between servers.  As the blog says:

SQL Server security is a little complex, but for our purposes it’s enough to consider two core artifacts: logins and users. Logins are instance-level objects (stored in master) and users are database-level objects (stored in the user database). Each of these are responsible for authorization in their respective domains, i.e., used to grant permissions at the instance and at the database respectively. But only logins are used for authentication. So in order to even log on to the server you have to have a login.

Users and logins are associated with each other through a matching identifier called a SID, and in order for a person to connect to and use a database, he must have a user in the target database and matching login on the instance. And here’s where our problem comes from: while users are stored in and move with the database, logins are not and do not. They’re left behind:

image

The result of this is that someone who could connect to D when it lived on S may no longer be able to do so when it moves to T because their login is missing. This is reparable, of course: you just need to manually add the required logins to the new instance. It’s also not easily automatable, since the target instance may already have a different login with the same name, which would cause a collision.”

It sounds the Contained Database in the next version of SQL Server “Denali” solved the authentication problem.  For now, we can resync the user login by using

sp_change_users_login 'update_one', 'username', 'username'

Use WinSCP to Transfer Files in vCSA 6.7

This is a quick update on my previous post “ Use WinSCP to Transfer Files in vCSA 6.5 ”. When I try the same SFTP server setting in vCSA 6.7...