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...

Emulating USB Dongle – Introducing HASP Dongle Emulator Software

Information Technology Blog - - Emulating USB Dongle – Introducing HASP Dongle Emulator Software - Information Technology Blog Over the years the methods used by software developers and producers to limit the amount of users to a specific number in a licensing agreement have become more complex.  The aim of copy protection is to protect the intellectual rights and financial investment of the individual developers and manufacturing companies.   A way of getting around this protection is to reproduce the media through which you can deliver the application to other users,  meaning that the software can be replicated far in excess of that specified in the license. One of the most common methods has been to use hardware keys or dongles which will enable the user to activate an application, unlocking its full functionality without using a device.  In addition, it offers good protection against attempts to pirate the software. In this article, we will look at th...

Advantages and Disadvantages of using Vouchers in eCommerce

Information Technology Blog - - Advantages and Disadvantages of using Vouchers in eCommerce - Information Technology Blog To decide whether vouchers and coupons are the right tool to add to your online marketing strategy, it is essential that you consider the benefit and the cost of using coupons. In this article, we will use Gtech coupon marketing strategy as an example a successful coupon strategy.  Also check out these great books on coupon codes for ecommerce . Advantages of Using Coupons Increase Sales This is the obvious benefit. Coupons serve to increase sales especially for high ticket items such as luxury gadgets. Gtech discount codes is a good example as Gtech quality is reflected on the price of both the Gtech eBike and Gtech AirRam. In order to boost sales, the company releases 10% off offers certain times of the year when online sales would normally be low. Enlarge Email List Acquiring a customer can be expensive in terms of advertising and marketing. If yo...