Configuring automatic login to a password-protected account when you turn on your computer. Press Win + R, enter netplwiz, launch. In the window that opens, select the required account, uncheck "Require username and password ", click apply and enter the password that will be used...
Since a 64-bit system has a 32-bit subsystem, allowing you to run 32-bit applications, it also has two sets of system files of both bits. In the Windows\System32 folder there is a 64-bit set, in the Windows\SysWOW64 folder - a 32-bit one. If a 32-bit...
You can add a program to startup in two ways: place the program or a shortcut to it in the startup folder, or register startup in the registry. Startup from folder Startup folder for current user only: % USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup Startup folder for all users:...
Block the launch of scripts and other potentially dangerous executable files by editing file associations in the registry. After executing the reg files, the corresponding extensions will open with notepad. If you still need to run them, then you can do this from the context...
ANI Animated cursor AudioCD Audio CD protocol AVI Video file BAT Command line script BIN Binary BMP Image CAB Windows Archive CHM Help file CMD Command line script COM MS-DOS Application CRL Certificate Revocation List CSS Cascading Style Sheet CUR Cursor DIAGCAB Windows Error Diagnostics...
VBS script to determine key, ID and Windows version.
Set WshShell = CreateObject("WScript.Shell")
regKey = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\"
DigitalProductId = WshShell.RegRead(regKey & "DigitalProductId")
Win8ProductName = "Windows Product Name: " & WshShell.RegRead(regKey & "ProductName") & vbNewLine
Win8ProductID = "Windows Product ID: " & WshShell.RegRead(regKey & "ProductID") & vbNewLine
Win8ProductKey = ConvertToKey(DigitalProductId)
strProductKey ="Windows Key: " & Win8ProductKey
Win8ProductID = Win8ProductName & Win8ProductID & strProductKey
Const KeyOffset = 52
isWin8 = (regKey(66) \ 6) And 1
regKey(66) = (regKey(66) And &HF7) Or ((isWin8 And 2) * 4)
j = 24
Chars = "BCDFGHJKMPQRTVWXY2346789"
Cur = 0
y = 14
Cur = Cur * 256
Cur = regKey(y + KeyOffset) + Cur
regKey(y + KeyOffset) = (Cur \ 24)
Cur = Cur Mod 24
y = y -1
Loop While y >= 0
j = j -1
winKeyOutput = Mid(Chars, Cur + 1, 1) & winKeyOutput
Last = Cur
Loop While j >= 0
If (isWin8 = 1) Then
keypart1 = Mid(winKeyOutput, 2, Last)
insert = "N"
winKeyOutput = Replace(winKeyOutput, keypart1, keypart1 & insert, 2, 1, 0)
If Last = 0 Then winKeyOutput = insert & winKeyOutput
a = Mid(winKeyOutput, 1, 5)
b = Mid(winKeyOutput, 6, 5)
c = Mid(winKeyOutput, 11, 5)
d = Mid(winKeyOutput, 16, 5)
e = Mid(winKeyOutput, 21, 5)
ConvertToKey = a & "-" & b & "-" & c & "-" & d & "-" & e
The first time the client connects to the server via RDP, it is issued a temporary license for 90 days, if at the end of the term there are no free installed client licenses, we will receive the error "The remote session is disconnected due...
Group Policy Editor is missing from Home and some other editions of Windows. To install it, we execute the following code on the command line one by one: FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F") FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~*.mum") DO (DISM /Online /NoRestart...
Cleaning archives from old backups, etc. can be done using the standard forfiles utility. For automation, it is better to set the call in the task scheduler. forfiles /p "C:\my_arch\" /m *.* /s /d -10 /c "cmd /c del @path /q" /p - path to...
WMI (Windows Management Instrumentation) is a technology for monitoring and managing systems and computer components. You can get information from WMI using the standard console utility wmic.exe. General information wmic computersystem get /format: list Operating system wmic os get /format: list Users wmic useraccount get...