Skip to main content

Windows 10 Lock Screen Background Picture Location

Windows 10 Lock Screen Background Picture Folder Windows 10 Lock Screen Background Picture Location Open this folder using Windows Explorer %USERPROFILE%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets But files do not have an extension. How to open the lock screen background picture Do not change these files, Just copy all these files to a temp folder. After copying the files to the folder, then open the command line window by typing CMD in the address bar of that folder. It will open up the command line window.  Then type ren *.* *.jpg Now you will be able to open or even see them from the thumbnail view.

How to change password length requirement in Umbraco

Change the password length requirement in Umbraco

This solution will work with Umbraco 8.xx versions. Previous or newer versions may need some additional or fewer changes. 

In Umbraco default password length is 10, and need to provide a valid email address for the user name.  

If you are developing or designing a website using Umbraco and testing it you may need to shorten the password length or use a short username in your development website to save time. (NOT in the production site)


Changing default password length in a new installation

This method is for a fresh Umbraco installation. For an existing installation, there is some extra work to do. I will discuss it later.

Lots of people have an issue with changing the configuration to suit this requirement. 

First, we will look at the issue. Open the Web.config file and go to the following section

<!-- Membership Provider -->

<membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
	<providers>
		<clear />
		<add name="UmbracoMembershipProvider" 
			 type="Umbraco.Web.Security.Providers.MembersMembershipProvider, Umbraco" 
			 minRequiredNonalphanumericCharacters="0" 
			 minRequiredPasswordLength="10" 
			 useLegacyEncoding="false" 
			 enablePasswordRetrieval="false" 
			 enablePasswordReset="false" 
			 requiresQuestionAndAnswer="false" 
			 defaultMemberTypeAlias="Member" 
			 passwordFormat="Hashed" 
			 allowManuallyChangingPassword="false" />
		<add name="UsersMembershipProvider" 
		     type="Umbraco.Web.Security.Providers.UsersMembershipProvider, Umbraco" />
	</providers>
</membership>

There are 2 membership providers in the Web.config file; 

  • "UmbracoMembershipProvider"
  •  "UsersMembershipProvider" 

In the "UsersMembershipProvider" node there is no minRequiredPasswordLength attribute, therefore it always takes the ASP.NET identity framework default value of 10. 

To change that value all you have to do is add  minRequiredPasswordLength="3" (whatever length you want to change) to the  "UsersMembershipProvider" node (DO NOT need to change the value in  "UmbracoMembershipProvider" )   

We only need to change the  "UsersMembershipProvider"  element NOT the values in the "UmbracoMembershipProvider" element. 

Accepting a username instead of forcing a valid email address

This workaround only worked after creating the admin user with an email address and then login into

the admin dashboard. Change the "web.config" as shown above.


Increasing user online time window

Also, there is another useful thing when you are testing or developing an Umbraco website is to increase the userIsOnlineTimeWindow="15" (parent node)  to possibly 1500.      




Comments

Popular posts from this blog

Download a single folder or directory from a BRANCH in GitHub repo

How to download a single Branch folder from a GitHub repository aspnetcore/ ├── main/ │ ├── ....... │ ├── docs │ ├── ....... │ ├── src │ └── ....... └── release/2.2 |........... ├── docs ├── ......... └── src |........... └─── Templating |........... ├── src │ |........... │ ├── Microsoft.DotNet.Web.ProjectTemplates │ │ |........... │ │ └─── content │ │ |........... │ │ └── RazorPagesWeb-CSharp │ │ │ │........... ├ │........... I wanted to download a folder from the GitHub branch.  But how can we download only a folder (or part of the source), there is no option on the GitHub website to download a folder.  At the time of writing this easiest way to do this is to use the code sandbox.  Here is the magic Open repo to code sandbox by replacing github to githubbox in URL. Then on code sandbox go to files pai

Replacing part of file names in multiple files in a folder on Windows

Renaming or Replacing multiple file names in a folder - The Fast way -Windows 10 Suppose we have many files in a folder with similar pattern and we want to rename all of them. Doing this manually using explorer or command prompt is very time consuming. For example we have following files stored in d:\Products\ folder:      scean1-160_x_90.jpg      scean1-240_x_135.jpg      scean1-320_x_180.jpg      scean1-480_x_270.jpg      scean1-640_x_360.jpg      scean1-960_x_540.jpg      scean1-1280_x_720.jpg      scean1-1920_x_1080.jpg      screen1-2560_x_1440.jpg      screen1-3840_x_2160.jpg      scean1-5120_x_2880.jpg We want to change the common string pattern "_x_" to "x". Easiest way to do this in Windows 10. Useing Windows Power Shell open the folder and execute the following command: get-childitem  | foreach { rename-item $_ $_.Name.Replace("_x_", "x") }

Windows 10 Lock Screen Background Picture Location

Windows 10 Lock Screen Background Picture Folder Windows 10 Lock Screen Background Picture Location Open this folder using Windows Explorer %USERPROFILE%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets But files do not have an extension. How to open the lock screen background picture Do not change these files, Just copy all these files to a temp folder. After copying the files to the folder, then open the command line window by typing CMD in the address bar of that folder. It will open up the command line window.  Then type ren *.* *.jpg Now you will be able to open or even see them from the thumbnail view.