Say, you are at a user workstation and need to determine when the password for the logged on user expires or if the user has any logon restrictions, then you can find out by running a simple command from the command-line interface.
Back in the days, systems administrators used a convenient method of deploying standardized user profiles on workstations by creating a dummy user account, customize the profile and then use the Copy To feature from the System Properties User Profiles settings snap-in to copy the created profile over the default user profile. This worked well on Windows 2000, XP and Vista; however, the same procedure won’t work on Windows 7.
The Runas command is a great command-line tool that gives you the capability to run applications using the credentials of another user but watch out as you may be compromising security of the Windows 7 system. For instance, with the Runas command you can allow a standard user on a Windows 7 system to run applications that require administrator privileges.