Skip to main content

How to Automatically Login and Lock Server or Computer – FREE

Information Technology Blog - - How to Automatically Login and Lock Server or Computer – FREE - Information Technology Blog

Have programs that need to run automatically on your machine and need to autologin and lock your server or computer at startup?  Here’s a simple way with the use of a couple free programs.

Autologin

Install Autologin by Sysinternals.

Autologon enables you to easily configure Windows’ built-in autologon mechanism. Instead of waiting for a user to enter their name and password, Windows uses the credentials you enter with Autologon, which are encrypted in the Registry, to log on the specified user automatically.

Autologon is easy enough to use. Just run autologon.exe, fill in the dialog, and hit Enable. To turn off auto-logon, hit Disable. Also, if the shift key is held down before the system performs an autologon, the autologon will be disabled for that logon. You can also pass the username, domain and password as command-line arguments:

autologin

Download Autologin by Sysinternals

Autolock

While Autologin by Sysinternals provides an encrypted way to autologin with your credentials, you may still want to autolock your server or computer after bootup.  Auto Logon & Lock provides a way to both autologin (PCs) and autolock (PCs and servers) your system after bootup and autologin.

1) Run “Lock.exe” from the archive to test if the application runs without errors. If all is well your desktop should lock. Logon again and Windows Explorer should be open. You might want to create a System Restore Point before proceeding just to be safe.

2) Copy the files “Lock.exe” and “LockCMD.exe” to your Windows directory. (Ex: C:\Windows)

3) Run “lockcmd.reg” from the archive and click Yes in the dialog box. You must run this while logged on to the account which you want to enable auto logon for.

lockcmd.reg contains the following script which runs the .exe to autolock your computer at startup.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System] “Shell”=”%windir%\\lock.exe”[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot] “AlternateShell”=”lockcmd.exe”Download Auto Logon & Lock

Legacy Instructions:

Need your pc/server to autolock after rebooting? Here’s another way:

  1. Create vbs script; this script will auto lock your computer after 30 seconds. Save as lock.vbs
    <code>
    Wscript.Sleep 30000
    Set WshShell = WScript.CreateObject(“WScript.Shell”)
    WshShell.Run “rundll32.exe user32.dll,LockWorkStation”,1,false</code>
  2. Next, create a string in your registry for lock.vbs to autorun during startup.
    Go to: HKEY_USERSS-1-5-21-1123561945-1060284298-839522115-500SoftwareMicrosoftWindowsCurrentVersionRun

    or if unavailable:
    Navigate to any of the following path according to your requirement and then add a new “String key” and store path of the Program to be run in this key’s value.For Local Machine-
    HKEY_LOCAL_MACHINESoftwareMicrosoftWindows
    CurrentVersionRun
    HKEY_LOCAL_MACHINESoftwareMicrosoftWindows
    CurrentVersionRunOnce
    For Current User-
    HKEY_CURRENT_USERSoftwareMicrosoftWindows
    CurrentVersionRun
    HKEY_CURRENT_USERSoftwareMicrosoftWindows
    CurrentVersionRunOnce
    Create a new string value called lock.vbs. Set the value data to C:pathlock.vbs (assuming path is where you saved lock.vbs
  3. Your computer/server most likely requires a login. So that services automatically startup, you probably want it to automatically login. Download and install Tweakui from https://ift.tt/WPNLCZ
    Once installed, run the Tweakui from START > Programs, expand Logon in the left window pane, select Autologon and enter your system credentials in the right pane.For Windows 7, to autologin
    1. Click on Start and then enter the following command in the search box:
      netplwiz
      Press the ENTER key.This command will load the Advanced User Accounts Control Panel applet.
    2. In the Users tab, uncheck the box next to Users must enter a user name and password to use this computer.
    3. Click on the Apply button at the bottom of the User Accounts window.

Your system should now be able to boot up automatically and lock itself!

More:
Registry Startup Paths

Thank you for reading IT Blog

Originally posted 2015-09-12 08:19:09. Republished by Blog Post Promoter

The post How to Automatically Login and Lock Server or Computer – FREE appeared first on Information Technology Blog.



Udimi - Buy Solo Ads from Information Technology Blog https://ift.tt/3b1gYYP
via IFTTT

Comments

Popular posts from this blog

9 VCs in Madrid and Barcelona discuss the COVID-19 era and look to the future

Spain’s startup ecosystem has two main hubs: Madrid and Barcelona. Most observers place Barcelona first and Madrid second, but the gap appears to close every year. Barcelona has benefitted from attracting expats in search of sun, beach and lifestyle who tend to produce more internationally minded startups. Madrid’s startups have predominantly been Spain or Latin America-focused, but have become increasingly international in nature. Although not part of this survey, we expect Valencia to join next year, as city authorities have been going all-out to attract entrepreneurs and investors. The overall Spanish ecosystem is generally less mature than those in the U.K., France, Sweden and Germany, but it has been improving at a fast clip. More recently, entrepreneurs in Spain have moved away from emulating success in pursuit of innovative technologies. Following the financial crisis, the Spanish government supported the creation of startups with the launch of FOND-ICO GLOBAL, a €1.5 billi

How to Stay Creative and Keep SEO in Mind

Information Technology Blog - - How to Stay Creative and Keep SEO in Mind - Information Technology Blog Search engine optimization (SEO) refers to customizing your website’s content to ensure that web browsers give your website a high SEO score. The sites with the highest SEO scores are featured on the search engine’s first page of search results for relevant searches.  71%  of the click-throughs happen with articles listed on the first page of results on the search engine. This means that if your website’s article is the second (or third, or fourth page), it’s less likely the search user will even see your article. You want your article to be ranking as close to the top of the first page of results as possible. In order to have a good SEO score your site’s content needs to feature keywords and relevant phrases. It must be optimized for easy navigation between pages. It also needs to be referenced via external links that drive traffic to your site. Incorporating all of these elem

Everything we know about HHS Protect, a secretive government project with Peter Thiel's Palantir that helps brief Trump's coronavirus task force

A secretive project at the US Department of Health and Human Services is working with technology companies to collect and analyze data related to the novel coronavirus .  Dubbed "HHS Protect," the effort tracks information from around the country about coronavirus case numbers, hospital capacity, and even supply chain issues.  HHS uses Palantir Technologies , a data firm cofounded by Peter Thiel, to distill that information for the White House coronavirus task force. Visit Business Insider's homepage for more stories . A secretive project at the US Department of Health and Human Services is working with technology companies to collect and analyze data related to the novel coronavirus.  Dubbed "HHS Protect," the effort includes roughly 2.5 billion pieces of data from healthcare providers, government officials, and labs around the country about coronavirus case numbers, hospital capacity, and even supply chain issues.  The goal is learn about the progress