Category Archives: Windows 8

Using wevtutil command under Windows – part 001.

This command let you to retrieve information about event logs and publishers, to install and uninstall event manifests,run queries, and to export, archive, and clear logs.
I will start with simple examples to see how is working.
First you need to know the events can be see also with windows tool named Event Viewer.
This tool can be found with Control Panel – search Event.
Take a look at Windows Logs – Application. You can see that some logs are created to show how it works.
For today I will deal with this part. The sintax of this command:
wevtutil [{el | enum-logs}] [{gl | get-log} [/f:]]
[{sl | set-log} [/e:] [/i:] [/lfn:] [/rt:] [/ab:] [/ms:] [/l:] [/k:] [/ca:] [/c:]]
[{ep | enum-publishers}]
[{gp | get-publisher} [/ge:] [/gm:] [/f:]] [{im | install-manifest} ]
[{um | uninstall-manifest} ] [{qe | query-events} [/lf:] [/sq:] [/q:] [/bm:] [/sbm:] [/rd:] [/f:] [/l:] [/c:] [/e:]]
[{gli | get-loginfo} [/lf:]]
[{epl | export-log} [/lf:] [/sq:] [/q:] [/ow:]]
[{al | archive-log} [/l:]]
[{cl | clear-log} [/bu:]] [/r:] [/u:] [/p:] [/a:] [/uni:]

Let’s start:
– show us the four most recent events from the Application log in textual format:
wevtutil qe Application /c:4 /rd:true /f:text
– display the status of the Application log:
wevtutil gli Application
– save logs to C:\backups\today.evtx and clear all of the events from the Application log:
wevtutil cl Application /bu:C:\backups\today.evtx
– show the configuration information about the Application log on the local computer in XML format:
wevtutil gl Application /f:xml
I will come with many example of this command. Thank you.

Posted in All, Commands, Windows 8. Tagged with , , , .

Managing your bookmarks with xmarks.

This tool works by cloud-storing your bookmark files and synchronizing them between computers.
I used this tool from at least 7 years.
The tool synchronization allowing for full merges or overwrites from the server or any linked workstation.
Come with addons for Firefox and works well with Chrome,Internet Explorer and Safari.
The next image show you how data bookmarks from server will restore your bookmarks:
xmarks free tutorials

Posted in All, web, Windows 10, Windows 7, Windows 8, Windows XP. Tagged with , , , , , , .

Windows 10 – replace cmd with powershell.

1. Why PowerShell?
– since Windows 7 we have a new command-line environment in Windows named PowerShell;
– is a much more powerful command-line shell;
– the scripting language is more good than the Command Prompt;
– is more complicated than the traditional Command Prompt;
– uses different commands, known as cmdlets in PowerShell;
– allows you to create your own commands and scripts using the C# programming language;
2. How to replace cmd with powershell.
Right click with the mouse on taskbar from bottom of your Windows screen.
Then select the tab named Navigation and select option with: “Replace the …”. Press then Ok button.
Right click with the mouse on the Start icon and will see the replacement of Command Prompt.
replace_cmd_powershell

Posted in All, Commands, PowerShell, Windows 10, Windows 7, Windows 8. Tagged with , , , , , , .

Using DISM – part 001.

The Deployment Image Servicing and Management named DISM.exe is a command-line tool that can be used to service a Windows. DISM can be used to mount and service a Windows image from a .wim file, .vhd file, or a .vhdx file or, in some cases, to update a running operating system. It’s working for Windows 10, Windows 8.1, Windows 8, Windows Server 2012 R2 or Windows Server 2012. Also may help you to fix some Windows corruption errors – and this will be the subject of this tutorial.
So you need to start the Command Prompt (Admin) by right clik with the mouse on Start button.
Then select the Command Prompt (Admin) and press Yes to User Acces Control modal dialog.
You will see the Command Prompt (Admin) and use this commands:

– it’s gonna take some time.

– use if you encountered an error at the scan.
The DISM tool creates a log file: %windir%/Logs/DISM/dism.log
You can read more about this tool from here.
DISM

Posted in All, Windows 10, Windows 8. Tagged with , , , .

VS 2015 – fix toolbox with COM components.

Today I will show you how to add COM components to your Visual Studio 2015 toolbox.
In this example I add the Windows Media Player COM component.
To do this you need to use this Right Click – mouse within the Toolbox, and then select Choose Items.

See image:
VS_2015_toolbox_com_001
After that will see this window and just click on COM Components tab.
VS_2015_toolbox_com_002
Use your mouse to select Windows Media Player.
If you want to use another COM component or your DLL file then you need to use Browse… button to add it.
This will should be in the Windows\System32 folder…
Now you can see your COM component into Toolbox:
VS_2015_toolbox_com_003

Posted in All, C#, C++, Programming, Windows 10, Windows 8. Tagged with , , , , , , .