This page is about information technology services. We will share easy and simple solutions.
***Please note that all this software and code must be used for a specific job. If you are not sure, do not try anything.
You can open the Windows run section by pressing the Win + R hotkeys, typing CMD in the box, and hitting enter to access the Windows Command Processor (CMD).
Online Tools
# Convert your files to better versions. CloudConvert.com
Windows Cmd commands (for IT department): # Set attribute of files to read-only attrib +a -s -h +r "C:\SOMEDIR\*.extension" /s echo "Files are in read-only state."
@pause
# Set attribute of files to writable attrib +a -s -h -r "C:\SOMEDIR\*.extension" /s echo "Files are in writable state" @pause
# Windows user list netplwiz
# Ask for restart (save commands to Restart.bat with notepad) @echo off set /p ask=Restart PC (y/n) if %ask%==y (shutdown /r /t 0) else echo Do nothing... pause exit
Windows Cmd commands (for security): # Access hosts file and reset permissions (Run cmd.exe as admin):
@echo off echo,Y|cacls "%WinDir%\system32\drivers\etc\hosts" /G everyone:f attrib -s -h -r "%WinDir%\system32\drivers\etc\hosts"
notepad "%WinDir%\system32\drivers\etc\hosts" echo The Permissions on the HOSTS file have been reset. pause