IT Questions and Answers :)

Thursday, January 16, 2020

When it comes to the Windows Driver Model, what does WMI stand for?

When it comes to the Windows Driver Model, what does WMI stand for?

  • Windows Media Integration
  • Windows Module Instrument
  • Windows Management Instrumentation
  • Where's My Invoice 
When it comes to the Windows Driver Model, what does WMI stand for?

EXPLANATION

Windows Management Instrumentation (WMI) consists of a set of extensions to the Windows Driver Model that provides an operating system interface through which instrumented components provide information and notification. ... WMI comes preinstalled in Windows 2000 and in newer Microsoft OSes.


Windows Management Instrumentation (WMI) is a set of specifications from Microsoft for consolidating the management of devices and applications in a network from Windows computing systems.
WMI stands for Windows Management Instrumentation. ... In other words, WMI is an implementation of 'standards based' management, which only works on and with Windows. WMI's purpose is similar to that of SNMP: to enable the querying and control of management information in an enterprise.

Share:

On Windows, which command displays a list of the shared folders on a system?

On Windows, which command displays a list of the shared folders on a system?

  • net share
  • Ntds
  • net view
  • sysvol 

On Windows, which command displays a list of the shared folders on a system?

EXPLANATION


The NET Share command is used to manage file/printer shares.
Syntax
      NET SHARE sharename=drive:path [/GRANT:user,[READ | CHANGE | FULL]]
             [/USERS:number | /UNLIMITED]]
                [/REMARK:"text"]
                   [/CACHE:Manual | Documents | Programs | BranchCache | None ]

      NET SHARE sharename /DELETE

      NET SHARE devicename /DELETE

      NET SHARE drive:path /DELETE

To modify an existing share, the syntax above can be simplified to NET SHARE sharename ...
with the one exception of the /GRANT option.

Filename Limits

When creating shares you should be aware that the mapped drive will always be shorter than the real path on the server. This can cause issues with the 260 character filename limit.
For example, if you have a folder on a server called E:\workgroups\ thats mapped for the users as X:\
A legal filename created on a client via the mapped drive:
X:\something\... 158 chars
then becomes on the server
E:\workgroups\something\...168 chars (which some server backup software may fail to read.)
You can minimise this issue by keeping the server path as short as possible E:\wg\
Examples
Display the details of the local share called workgroups
NET SHARE workgroups

Display the details of all local shares, including the folder/pathname that is being shared:
NET SHARE
To retrieve share details from a remote machine, use WMIC share
Create a new local file share
NET SHARE workgroups=C:\work /REMARK:"workgroups share" /CACHE:No

Limit the number of users who can connect to a share
NET SHARE workgroups /USERS:15

Remove any limit on the number of users who can connect to a share
NET SHARE workgroups /UNLIMITED

Delete the share
NET SHARE workgroups /DELETE

Delete all shares that apply to a given device
NET SHARE devicename /DELETE
In this case the devicename can be a printer (Lpt1) or a pathname (C:\Docs\)

To create file shares, File and Printer sharing must be enabled on the (server) computer.
“Don’t worry about people stealing an idea. If it's original, you will have to ram it down their throats” ~ Howard Aiken

Related:

NET - Manage network resources.
NET USE - Connect to a file share (Drive MAP).
NET VIEW - View existing file/printer shares (local or remote).
Enable Admin Shares
WMIC share - View remote file/print shares.
Q149427 - Change Password from the CMD prompt.
Powershell: Get-WmiObject win32_share


Share:

Wednesday, January 15, 2020

What secure port does PowerShell remote utilize by default?

What secure port does PowerShell remote utilize by default?

  • 445
  • 5927
  • 5986
  • 443 
What secure port does PowerShell remote utilize by default?

 

EXPLANATION


By default PowerShell will use the following ports for communication (They are the same ports as WinRM)
TCP/5985 = HTTP
TCP/5986 = HTTPS

SOURCE

https://blogs.technet.microsoft.com/christwe/2012/06/20/what-port-does-powershell-remoting-use/
Share:

Tuesday, January 14, 2020

What does HTTP Error 451 mean?

What does HTTP Error 451 mean?

  • Request timeout
  • Unavailable for legal reasons
  • Request header fields too large
  • Proxy authentication required 

EXPLANATION

HTTP 451: Unavailable For Legal Reasons is an error status code of the HTTP protocol that displays when the user requests an illegal resource, such as a web page censored by a government. 
Examples of situations where an HTTP 451 error code could be displayed include web pages deemed a danger to national security, or web pages deemed to violate copyright, privacy, blasphemy laws, or any other law or court order.
The number 451 is a reference to Ray Bradbury's 1953 dystopian novel Fahrenheit 451, in which books are outlawed.
https://en.wikipedia.org/wiki/HTTP_451
Share:

Monday, January 6, 2020

Which CODEC is directly related to (P)redictive frames and (I)ntra frames?

Which CODEC is directly related to (P)redictive frames and (I)ntra frames?

  • RTSP
  • MJPEG
  • NTSC
  • H.264 

EXPLANATION

compression method used by the MPEG standard. In a motion sequence, individual frames of pictures are grouped together (called a group of pictures, or GOP) and played back so that the viewer registers the video��s spatial motion. P-frames follow I-frames and contain only the data that have changed from the preceding I-frame (such as color or content changes). Because of this, P-frames depend on the I-frames to fill in most of the data.
P-frames and B-frames are also referred to as delta frames.
Also see I-frame and B-frame.
 

MPEG4 is going to be more space-efficient, but given enough space MJPEG will look just as good. The important difference is that editing MJPEG is easier because every frame is a keyframe, so you can cut and paste at any point. Editing MPEG4 is more difficult because of the alpha frames (the "difference" frames that come between keyframes). If your friend is just recording the video to watch later without doing anything to it, then she should just record to MPEG4. If this for home movies that she'll be messing with, then MJPEG.

Typically, pictures (frames) are segmented into macroblocks, and individual prediction types can be selected on a macroblock basis rather than being the same for the entire picture, as follows:
  • I-frames can contain only intra macroblocks
  • P-frames can contain either intra macroblocks or predicted macroblocks
  • B-frames can contain intra, predicted, or bi-predicted macroblocks
Furthermore, in the H.264 video coding standard, the frame can be segmented into sequences of macroblocks called slices, and instead of using I, B and P-frame type selections, the encoder can choose the prediction style distinctly on each individual slice. Also in H.264 are found several additional types of frames/slices:


  • SI‑frames/slices (Switching I): Facilitates switching between coded streams; contains SI-macroblocks (a special type of intra coded macroblock).
  • SP‑frames/slices (Switching P): Facilitates switching between coded streams; contains P and/or I-macroblocks
  • Multi‑frame motion estimation (up to 16 reference frames or 32 reference fields)
Multi‑frame motion estimation increases the quality of the video, while allowing the same compression ratio. SI and SP frames (defined for the Extended Profile) improve error correction. When such frames are used along with a smart decoder, it is possible to recover the broadcast streams of damaged DVDs.
Intra-frame coding is used in video coding (compression). It is part of an intra-frame codec like ... It is one of the two classes of predictive coding methods in video coding. ... The temporally coded predicted frames (e.g. MPEG's P- and B-frames) may use intra- as ... Wikimedia Commons has media related to Intra-frame coding.

 
Usually only few of the spatially closest known samples are used for the extrapolation. Formats that operate sample by sample like Portable Network Graphics (PNG) can usually use one of four adjacent pixels (above, above left, above right, left) or some function of them like e.g. their average. Block-based (frequency transform) formats prefill whole blocks with prediction values extrapolated from usually one or two straight lines of pixels that run along their top and left borders.


The term intra-frame coding refers to the fact that the various lossless and lossy compression techniques are performed relative to information that is contained only within the current frame, and not relative to any other frame in the video sequence. In other words, no temporal processing is performed outside of the current picture or frame. Non-intra coding techniques are extensions to these basics. It turns out that this block diagram is very similar to that of a JPEG still image video encoder, with only slight implementation detail differences.

Inter frame has been specified by the CCITT in 1988–1990 by H.261 for the first time. H.261 was meant for teleconferencing and ISDN telephoning.

 

Share:

Popular Posts