User Tools

Site Tools


software:microsoft:windows:windows10

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:microsoft:windows:windows10 [2022/04/09 19:56] – [what version of Windows is installed on a hard drive] superwizardsoftware:microsoft:windows:windows10 [2024/03/22 22:37] (current) – [PsExec: Logon failure: the user has not been granted the requested logon type at this computer.] superwizard
Line 2: Line 2:
  
 ------------------------------------------------------------------------------------------------------------------------------------------------\\ ------------------------------------------------------------------------------------------------------------------------------------------------\\
 +
 +====== PsExec: Logon failure: the user has not been granted the requested logon type at this computer. ======
 +
 +
 +    "F:\1. Utilities\SysInternals\PSTools\psexec64.exe" ^
 +     \\computer -i -u domain\username -p passwordforuser  ^
 +     /accepteula -h cmd /c "c:\Users\Public\Downloads\backup.cmd"
 +    
 +
 +The solution for 2.30+ is to add the -i flag for interactive session.
 +
 +    
 +https://learn.microsoft.com/en-us/answers/questions/233240/psexec-logon-failure-the-user-has-not-been-granted
 +
 +
 +When logging in as Admin you also need the -h flag if you want full admin privileges.
 +
 +So from my previous example: 
 +
 +
 +https://learn.microsoft.com/en-us/answers/questions/280976/(psexec)-logon-failure-the-user-has-not-been-grant
 +====== Steps to create Hibernate shortcut in Windows 10: ======
 +
 +<WRAP center round box >
 +Step 1: Right-click the desktop, point at New on the menu and choose Shortcut in the options.
 +Step 2: As the window named Create Shortcut turns up, enter %windir%\system32\shutdown.exe –h, and then select Next.
 +
 +From <https://www.isunshare.com/windows-10/create-hibernate-shortcut-in-windows-10.html> 
 +
 +
 +</WRAP>
 +
 +====== Location of Desktop in registry ======
 +
 +<WRAP center round box >
 +Shell folders desktop documents pictures location
 +
 +2022-11-08
 +Using this trick one can easily change the target folder for many personal directories including the desktop:   
 +  * 1. Don't forget to create a backup before changing anything.
 +  * 2. Open the Registry editor (Regedit.exe)
 +  * 3. Browse to the location: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders.
 +  * 4. In the right window pane select the required value (i.e. Desktop).
 +  * 5. Insert the new location for the folder to be stored.
 + 
 +From < https://superuser.com/questions/328763/can-you-change-the-location-of-the-desktop-folder-in-windows> 
 +
 +There is Explorer\Shell Folders  \\
 +and      Explorer\User Shell Folders
 +
 +
 +Overriding registry values
 +
 +The following items do not exist in a clean install of Windows 10 and Windows 11. They’re created only if you redirect those folders to Microsoft OneDrive or DropBox. If the following values exist, the location defined in the following values takes precedence. In case of any conflict, the following values can be deleted so that the defaults (above) are used.
 +
 +https://www.winhelponline.com/blog/windows-10-shell-folders-paths-defaults-restore/
 +
 +|  {F42EE2D3-909F-4907-8871-4C22FC0BF756}  |  Documents  |
 +|  {0DDD015D-B06C-45D5-8C4C-F59713854639}  |  Pictures  |
 +
 +
 +</WRAP>
  
 ====== How to Hide or Show User Accounts from Login Screen on Windows 10/11? ====== ====== How to Hide or Show User Accounts from Login Screen on Windows 10/11? ======
Line 16: Line 78:
  
  
 +====== Deny Sign in Locally ======
 +
 +
 +<WRAP center round box >
 +2022-04-05
 +
 +Deny User or Group to Sign in Locally in Windows 10
 +
 +From <https://winaero.com/deny-user-group-sign-in-locally-windows-10/> 
 +
 +Computer login
 +
 +From <http://marcushall.net/dokuwiki/doku.php?id=software:microsoft:windows:activedirectory&s[]=allow&s[]=logon> 
 +
 +
 +
 +</WRAP>
  
  
Line 421: Line 500:
 Applies to: Windows 8.1Windows 8.1 EnterpriseWindows 8.1 Pro More Applies to: Windows 8.1Windows 8.1 EnterpriseWindows 8.1 Pro More
 </code> </code>
 +
 +<WRAP center round box >
 +2024-02-02
 +
 +The /checkhealth command simply checks the running image (that’s what /online tells it to do) to see if it can detect any damage or corruption. Because it’s only checking file hashes and signatures, this command completes in under one minute on most machines. The good thing about /checkhealth is that it not only tells you if it finds damage but if that damage is repairable or non-repairable. If it’s repairable, you can proceed to the /restorehealth option (covered in the following paragraphs); if it’s non-repairable, jump to Step 2.
 +If DISM reports that component store corruption is found and is repairable, you should attempt repairs. That syntax reads:
 +    dism /online /cleanup-image /restorehealth
 +Even if errors were detected in the preceding step, this command should complete successfully. It replaces corrupt or questionable elements in the Windows Side-by-Side (WinSxS) store, reading from a local copy of your Windows image files.
 +The /restorehealth command can be tricky to use. Because it can actually repair a Windows image, it needs a source from which to attempt such repairs. You can omit the /source option, but if you do, the command will try to grab its files from Windows Update over the internet. This may or may not work, depending on firewall settings on your network.
 +
 +From <https://www.computerworld.com/article/3080839/repair-windows-10-and-11-step-by-step-guide.html> 
 +
 +</WRAP>
  
 ====== FIX DISM Source Files Could not be Found Windows 10/8 ====== ====== FIX DISM Source Files Could not be Found Windows 10/8 ======
software/microsoft/windows/windows10.1649534209.txt.gz · Last modified: 2022/04/09 19:56 by superwizard