Tag Archives: Windows Tutorial

Windows operating systems are particularly common on personal computers and servers.

Mark Block and Area in Windows Terminal

in addition to the ability to mark a character, a word and lines, windows terminal also provides to mark a block

A marking mode that can be particularly useful for tabular work. It is allowed to mark and edit information that is directly adjacent to each other, without including the entire lines in the marking and editing.

The Alt key is used for the block marking. Position the mouse pointer at the beginning or end of the block, press the Alt key together with the left mouse button and drag the marker to the other end of the block. The selected block is automatically copied to the clipboard.

Windows Logon Script view VBS MsgBox Message

Visual Basic Script Message-Box Pop-up Window

Server administrators have the ability to send message to users to inform them when they log on to the workplace.

The VBS MsgBox function is excellent for this purpose. Insert the following 3 lines into an editor (Notepad) and save them as i.e. “logon.bat”.

echo msgbox("Good morning staff. we serve coffee or tea in the lounge bar. Thank you and a nice day!"),vbInformation ,"Message"> %temp%\msg.vbs
%temp%\msg.vbs
erase %temp%\msg.vbs

The Visual Basic Script creates a pop-up window with information through the MsgBox function. The msg.vbs file is saved under %temp% and erase them after execution.

The user can close the opened window by clicking OK.

In the AD user administration (dsa.msc) for the corresponding users, enter the file name in the Profile tab at Logon script (logon.bat).

For Windows domain, save the file to \\server\netlogon.

  The netlogon share is located on the server at %systemroot%\SYSVOL\sysvol\[domain]\scripts. If a logon script is already in use, the code lines can be inserted into this script.