Tag Archives: Windows 7

Windows PowerShell – first setup.

The Windows PowerShell remoting features are supported by the WS-Management protocol and the Windows Remote Management (WinRM) service.

So, Windows PowerShell is a new Windows command-line shell designed for system administrators.

If you got this error show below , than is need to make something.

First , you just need to learn a few tricks for running Windows PowerShell scripts.

You can verify the settings for your execution policy by typing the following at the PowerShell command prompt.
Also you need to set your execution policy to RemoteSigned.

Get-ExecutionPolicy and Set-ExecutionPolicy RemoteSigned

See example below from PowerShell

Now you can use the power of PowerShell.

Let’s the code source of the script. Is a simple script to display BIOS properties.

I hope this tutorial helped you.

Posted in All, PowerShell, Programming, Windows 7. Tagged with , , .

Windows 7 and Counter Strike 1.6

How to make run Counter Strike 1.6 on Windows 7

Click on the Start button.

Use right-click Computer and then select Properties.

Click on to the Advanced System Settings.

Open the Performance Settings button, then click on to the Data Execution Prevention tab.

Check now the box named Turn on DEP for all the Programs and Services except those I select.

Now click Add and add game Counter Strike 1.6 in the list of exceptions.

See below on image this option :

windows 7

Posted in Windows 7. Tagged with , .

Programming with FASM – first steps .

The FASM is a self-assembling open-source 80×86 assembler for

DOS, Windows and Linux. It supports all 8086-80486/Pentium instructions

with MMX, SSE, SSE2 and with more features.

FASM contains many programming options and features.

The source code can be written in different ways because of control

directives, macros and management of resources.

FASM, by default uses the Intel syntax for the assembly


You can go on and download it.

Below we see the files that are used by fasm.

The FASMW is a GUI to help in programming, as shown here.

fasmw GUI

Let’s see some example and how this working…

In this first example you will see a message box.

See result in image show below:

fasm message box

First line include some macro – functions.

If the source code is another folder, like for example in a folder

named asm in same folder with INCLUDE, then you need to declare this

macros in this way:

As you see the fasm is not case sensitive , in this case.

The next two lines are data declarations.

Code execution takes place between the two labels:

Code between these labels is written in assembler and can be easy


If you think it is easy then let’s see a second example, here’s the

source code:

It seemed more complicated and structured differently from the first


Let’s see the result.

fasm another example

As I said above, fasm – The flat assembler is a series of directives

and special words.

That help us if we know, if not then we use what we know.

Let’s look the source code of the second example and try to understand

it a bit.

Tihis tell us about creating PE file for the x86-64 architecture or if

you want use PE64 keyword instead of PE in the format declaration

This select the Portable Executable output format and will be a console


Also can be console or GUI for Windows applications,

native for Windows drivers, EFI, EFIboot or

EFIruntime for the UEFI or optional DLL and


Next entry directive sets the entry point for MZ executable.

The section directive defines a new section and it should be

followed by flags.

We have three sections in this instance one for data, one for code and

one for other data

Other source code lines are easily recognized by how they were reported

in these sections.

I hope you enjoyed the tutorial, I will expect you to come and other


Use the contact page to write

Posted in Assembler, Programming, Windows 7. Tagged with , , , , .

Change settings and passwords in Windows using Linux

In this tutorial I will present a way to change or delete a user password in a Windows XP operating systems or Windows 7.

On Windows Vista I have not tried it yet, but you can try.

I get under Fedora 15 this software, using yum .

You need to locate SAM file.Under Windows 2000 and XP is normally located at


Then you need to navigate and find a number of files like SAM, SYSTEM, SECURITY…

Once you have located the SAM you can start using chntpw.

Use this command to see the help

If you want list all the users on in the SAM file, use this command:

Use this command to change the password or clear the password:

The windows_user is the user list by command chntpw SAM

There are other options that can be applied to windows user, but these two are used.

This program can be used on a linux install on USB.

Posted in Linux, Windows 7, Windows XP. Tagged with , , .

Web service and XML with Windows PowerShell .

In this tutorial I show you the basics of poarse XML file and acces website.

Also I show that with the graphical user interface (GUI) using Windows PowerShell

It is very easy to using a Web service in PowerShell V2.

We can use that with the new Cmdlet New-WebServiceProxy.

The PowerShell knows how to handle XML.We just need to cast it to an XML object

Let’s try to get weather from internet.

This is the source code:

Run this script with powershell or with Windows PowerShell Integrated Scripting Environment (ISE)

Now that we see weather infos from London City Airport – United Kingdom.

powershell weather

Posted in All, PowerShell, Programming, Windows 7. Tagged with , , .