4.6 KiB
Windows
-
For removing feedback hub
-
Making windows flexible
https://www.itechtics.com/easily-enable-group-policy-editor-gpedit-msc-in-windows-10-home-edition/ : to enable gpedit to control aspects without making changes in registry directly
add_gpedit_msc_by_drudger_d3kh6vm.zip
Also use this to install gpedit in windows 10 home
also following bat file can be executed:
-
Disabling compatibility telemetry
https://www.youtube.com/watch?v=59dhIfCWPyA
Command to open task scheduler on Run:
taskschd.msc. -
Windows on virtual machine
https://www.youtube.com/watch?v=JT8EXoobjSc
For resizing : https://www.ghacks.net/2022/06/11/how-to-change-the-windows-screen-size-in-virtualbox/
-
Commands
For disk cleanup: cleanmgr For group policy editor: gpedit.msc
-
To enable windows sandbox in windows 19 home
-
Disable startups
-
copy folders with excluding subfolders
robocopy SOURCE DEST /mir /xd node_modules -
for loop
For the folder name and drive, you can use:
echo %~dp0You can get a lot more information using different modifiers:
%~I - expands %I removing any surrounding quotes (") %~fI - expands %I to a fully qualified path name %~dI - expands %I to a drive letter only %~pI - expands %I to a path only %~nI - expands %I to a file name only %~xI - expands %I to a file extension only %~sI - expanded path contains short names only %~aI - expands %I to file attributes of file %~tI - expands %I to date/time of file %~zI - expands %I to size of file The modifiers can be combined to get compound results: %~dpI - expands %I to a drive letter and path only %~nxI - expands %I to a file name and extension only %~fsI - expands %I to a full path name with short names onlyfor %I in (softwares/*) do dir %IThis lists all the files (and only the files) in the current directory and its subdirectories recursively:
for /r %i in (*) do echo %iAlso if you run that command in a batch file you need to double the % signs.
for /r %%i in (*) do echo %%ihttps://stackoverflow.com/questions/138497/iterate-all-files-in-a-directory-using-a-for-loop
https://superuser.com/questions/494959/how-to-delete-a-file-ending-in-a-dot-in-windows-7
-
Windows 11 cons
-
Disabling enabling keys
Hi General_Townski, we are happy to advise you. Please follow the steps below.
- Tap the Windows icon in the bottom left corner and type “cmd” in the search bar.
- Select “Run as administrator” under “Command Prompt.”
- Click “Yes” to confirm that you’re okay with the Command Prompt app making changes to your computer.
- Once the Command Prompt window opens, type the following command line, and then hit Enter: sc config i8042prt start= disabled
- Close the Command Prompt and ensure restart your laptop.
If you ever want to re-enable the keyboard in the future, you just need to run the Command Prompt app and enter the following command: sc config i8042prt start= auto
-
Disable fast startup
- Navigate to the Control Panel and select 'Power Options. '
- Choose 'Choose what the power buttons do. '
- Click on 'Change settings that are currently unavailable. '
- Under 'Shutdown settings,' uncheck the 'Turn on fast startup' box.