Archive

Posts Tagged ‘C:\’

int a = 5; a = a++ + ++a; a = ?

07/02/2011 Leave a comment

int a = 5; a = a++ + ++a; a = ?

Does anybody know the result? Right, it depends on the compiler…

Greetz Mavi

Categories: General Tags: ,

How to move the pagefile.sys?

18/05/2010 1 comment

How to move the pagefile.sys from c:\ to an other destination?

I found one more solution for a to small C:\ partition. It’s possibe to move the pagefile.sys for logical adressing to an other drive.

For folks who using an english version of Win7 please just change in the registry ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management’ the key ‘PagingFiles’.

For german version:

  1. Systemsteuerung -> System -> Erweiterte Systemeinstellungen
  2. Im Reiter ‘Erweitert’ in der ‘Leistung-Box’ auf ‘Einstellungen’
  3. Im Reiter ‘Erweitert’ auf ‘Ändern’
  4. Den Haken bei ‘Auslagerungsdateigröße für [...]‘ entfernen
  5. Den Radiobutton für C:\ auf ‘Keine Auslagerungsdatei’ ändern
  6. Für z.B. D:\ auf ‘Größe wird vom System [...]‘ setzen
  7. Alles mit OK bestätigen und das System neustarten.

German version users can edit the registry as well of course, but it’s maybe not as clear how to do that.

Greez Mavi

Categories: General Tags: , ,

How to delete the hiberfil.sys?

18/05/2010 Leave a comment

How to delete the hiberfil.sys or disable the hibernate mode?

If you have trouble with a to small C:\ partition you can simply disable the hibernate mode and the hiberfil.sys will be deleted. The hiberfile is always as big as your memory in my case it is approximately 8GB.

  1. Open a console by starting cmd.exe (in the System32 folder) as administrator
  2. Type ‘powercfg -H off’ and press return

The hiberfil.sys will be deleted immediately.

Mavi

Categories: General Tags: , ,

Installing Windows 7

04/05/2010 Leave a comment

What’s important for the Windows 7 installation

It’s important to prepare the hard drive before you install Win7. You should resize the first partition (normally C:\) to at least 50GB.  The pure Win7 has a size of approximately 15GB. Additional you have to calculate same space for frameworks, drivers and system software even though you normally don’t install that at the C:\ drive Windows does it automatic.

Further more you should think about some space for the hibernate file, whose size depends on your system memory (8GB with me). Some folks coming up with the idea to move the hiberfile.sys to an other drive, but that’s impossible because the file system driver is in it. In the early state of the booting phase you don’t have access to any system services so links don’t work either. [http://technet.microsoft.com/en-us/magazine/2007.11.windowsconfidential.aspx]

It’s just possible to move the pagefile.sys to another drive. See How to move the pagefile.sys?.

I found out today during install process of Visual Studio 2010 Ultimate that there is not a lot of space available, but then it’s to late. It’s a lot of effort to change the partitions later my hard drive crashed once with it!

Greetz Mavi

Categories: General Tags: , , ,
Follow

Get every new post delivered to your Inbox.