Editing Widows Default Daylight Saving – حل مشکل تغییر اتوماتیک ساعت در Windows

Note: This post was originally made just for Iranian windows users but you might use it, if you have same problem.

As you might notice we have a president who what ever he think is right, but most of time he is wrong about deciding rights; one of the things he thought was right to do, was to decide not to change the time on spring of 2007 (بهار سال 1386); as you might also know, we in iran change our time twice a year once on the first day of spring (-1 hour) and once on the first day of autumn (+1 hour) and this is good as many other countries do so.
But he (Mr. President) just decide not to it (I think to see what will happen 😀 ) and BOOM, we got xxxed, I mean all the computers (We mostly use windows) set the wrong time, so what to do? so people try to disable the automatic update or automatic daylight saving; but in the domain mode everything is difference for 8-9 months we had problems with time, that was not OK (but I think he never thought about it; mostly he never think about IT; does he know IT even exists? I don’t think so).
So the Microsoft helped us with a new update to solve the problem you can read about it here http://support.microsoft.com/gp/dst_topissues http://support.microsoft.com/kb/942763.
But then as always BOOM, he again decided to return things back to its original state, and again everything went wrong!!!! What do we have to do this time???
I read the article came with the update and I just found out that the each time zone and their related daylight savings are saved in registry here HKLMSOFTWAREMicrosoftWindows NTCurrentVersionTime Zones{Your Time Zone}
And also Microsoft came with a time zone editor tool that you can download from here TZEdit.exe http://download.microsoft.com/download/5/8/a/58a208b7-7dc7-4bc7-8357-28e29cdac52f/tzedit.exe
I just got to tell that the daylight saving settings is some how different than what you might think of it; I mean it is saved in "Nth week of January" like; but if your country is like us "1st Day of Spring" you have to make one daylight saving for each year, you might take a look at "Israel Standard Time" (after applying the update) and see how many years they’ve just defined.

Anyway I just created this for Iran so:
اگه شما هم مثل من با تغییر اتوماتیک ساعت در Windows مشکل دارین و نمی خواین Automatic Internet time synchronization را خاموش کنید:
(Automatically synchronize with an Internet time server)

You can download it here http://cid-21f12bb61b822dfa.skydrive.live.com/self.aspx/Public/Update%20for%20Iranian%20Daylight%20Saving%20Time.bat

if it helped you somehow just leave me a comment,
Sadjad Bahmanpour

Finding BIOS Password

Last week people from where I work there (YOU KNOW I don’t really work there, that’s where I have to go ’cause I’m Iranian boy, YES MILITARY services!!!!) came to all the offices and disabled USB’s and locked the BIOS’s with passwords, so we got xxx, I mean what do we have to do without USB????

Don’t worry, if I’m writing it in here means I’ve found the solution. I didn’t want to reset the password but I want to find it, so here it is http://www.cgsecurity.org/wiki/CmosPwd this will work on many BIOS’s including AWRAD Modular BIOS v6.00PG & v4.51PG the maker also claims that it will work with:

  • ACER/IBM BIOS
  • AMI BIOS
  • AMI WinBIOS 2.5
  • Award 4.5x/4.6x/6.0
  • Compaq (1992)
  • Compaq (New version)
  • IBM (PS/2, Activa, Thinkpad)
  • Packard Bell
  • Phoenix 1.00.09.AC0 (1994), a486 1.03, 1.04, 1.10 A03, 4.05 rev 1.02.943, 4.06 rev 1.13.1107
  • Phoenix 4 release 6 (User)
  • Gateway Solo – Phoenix 4.0 release 6
  • Toshiba
  • Zenith AMI

which is good, and better is that it work even under Windows Server 2008 and Vista (and he claimed DOS/Windows 9x and Windows NT/W2K/XP/2003) and I can assure you that it will work. The only thing you need to do under windows is to install and start the IOPREM service which is included in the pack and you may run this (I’ve found it in the help):

ioperm.exe -i
net start ioperm

and then

cmospwd_win.exe

and after that just to remove the application you might run

net stop ioperm
ioperm.exe -u

This worked very well for me, I hope this will do the same for you, just be aware that the USB can be disabled from many where including Windows Polices but in case you are sure that it is disabled from the BIOS, you might need this software.

Thanks the creator "Christophe GRENIER"

Sadjad Bahmanpour

Linking Microsoft Office Word and Excel

Assume that you want a link in your word document to a cell in your excel spreadsheet. You may know how to do it and this post is not about how to do it, but it is about a problem you may see when you link word document and excel file.
Ok for making the link, you need to copy the specified cell and paste it in your document where ever you like and the paste options button will appear and you may choose the way you’d like the link to be, these are the options you may have:
1) Keep Source Formatting: this will paste it as a text (no link) where the formatting is as it was in the excel
2) Match Destination Formatting: this will paste it as a text (no link) where the formatting is as it was in the word
3) Paste as picture: no link
4) Keep text only: still no link
5) Keep Source Formatting and Link to Excel: linked
6) Match Destination Formatting and Link to Excel: linked

* If you don’t see the "Paste Options Button" you have check your word options, in Word 2007 it is located under Office Button -> Word Options -> Advanced -> "Cut, copy and paste"

So if you want the link you have use the last two options, I mostly use the last one "Match Destination Formatting and Link to Excel".
So where is the problem? I’ll tell you, when you do that you may see the pasted text will be pasted in a new line. For example if you have something like this before setting the link:

WOexcelRD

This would look like this after the link:

WO
excel
RD

and if you try to delete the new lines and make it just like "WOexcelRD" you ma see YOU SIMPLY CAN’T.

So where is problem? the problem lies under the "Field Code – Link", if you press ALT+F9 you would see the field code link (this would toggle between Field and Field Codes) as something link this:
WO{ LINK Excel.Sheet.8 "Book1" "Sheet1!R3C4" a f 5 h * MERGEFORMAT }RD

What the heck is this? Don’t worry I’ll tell you about it in the link code mode you can insert a link code by pressing CTRL+F9 so this is the first step and will make the "GRAY { }" and now you can do the rest. The rest is something like this:
{ LINK Excel.[File name] "[Workbook name]" "[Worksheet name]!R[Row number]C[Column number]" [switches] }

And I’ll tell you what, the problem is in the SWITCHES; so what are they?
They’ll tell the excel how to link, these are some combinations I’ve found:
1. a p (Inserts a picture linked to the cell)
2. a f4 r (Inserts text with formatting using rtf)
3. a t (Inserts plain text)
4. a b (Inserts a bitmap image linked to the cell)
5. a t u (Inserts plain unicode text)

I’ve found those http://www.awomantoldme.com/women/how-to/31467957/merging-from-excel.aspx you might take a look.

But which of the will help you, I gotta tell you "You better stuck with the original one", but with a little change, I’ve found out that if you change the "h" with "r" your problem would be solved.
So here the solution:
1) Copy the cell from Excel
2) Paste it in Word and set the paste option to link
3) Press ALT+F9
4) If it was something link "a f 5 h" change it to "a f 5 r"
5) Press ALT+F9
6) Right click on the pasted text and select "Update Link"
7) This is very important: Send me a comment here and tell me about your experience 😀

But for more information about Field Codes you may refer to office help, but I’m gonna tell you what you might need.

First for inserting one in Office 2007, Goto insert->Quick Parts->Fields , Select all from Categories, and select Link from "Field names", now you can add those options one by one and see what will happen and you may also click "Field Codes" or "Hide Codes" and see the switches and what will they do, but I’m gonna tell what I’ve used:

a : Update fields automatically

f 5: Format type on update (really I don’t know what is it!!)

r : Insert object as RTF (which is the main solution)

* MERGEFORMAT: Preserve formatting during update

h : Insert object as HTML (which is the main problem)

Sadjad Bahmanpour

Windows Vista SP1 Known Compatibility Issue with Nokia Software Updater 1.4.36

First I’m sorry for not spending time to update and also answer to your questions, but I’m very bussy (going to military service!!!), but this one is from my brother Komeil Bahmanpour http://www.komeil.com

While you’re trying to update your phone, you’ll disappointedly observe the following error:

"Nokia Service Layer Host Process has stropped working.

CAUTION: Do NOT detach the phone from USB! Doing so, you’ll loose your phone’s functionality.

Solution:

Open Task Manager and find the file for "Nokia Service Layer Host Process" named "NSU_UI_Client.exe".

Kill its process.

Start the same process again.

Focus to Nokia Software Updater’s interface and search for your phone.

It’ll show you a message indicating your phone was disconnected during the update process.

Press Retry. You’re saved!