Results 1 to 16 of 16

Thread: [RESOLVED] Save to BIOs Possible?

  1. #1

    Thread Starter
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    Resolved [RESOLVED] Save to BIOs Possible?

    i g2g but ill check this tread later,anyway, Is there a way to save a text to bios and get it when my app loads?

    the text is no less then 20 cher. and 33max so its not big, but posible?


    simillar to how windows save the OS username and password to the bios
    1) If your post has been adequately answered please click in your post on "Mark Thread Resolved".
    2) If someone has been useful to you please show your respect by rating their posts.
    3) Please use [highlight="VB"] 'your code goes in here [/highlight] tags when posting code.
    4) Before posting your question, make sure you checked this links:
    MICROSOFT MSDN -- VB FORUMS SEARCH

    5)Support Classic VB - A PETITION TO MICROSOFT

    ___________________________________________________________________________________
    THINGS TO KNOW ABOUT VB: || VB Examples/Demos
    What are Classes?
    || -
    Where to place a sub/function?(global) || Webbrowser control

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Save to BIOs Possible?

    A long time ago I stopped telling some that can't do that with VB, but, I have never seen any examples of writing to BIOS from VB.

  3. #3

    Thread Starter
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    Re: Save to BIOs Possible?

    where can i find info on weather its even posible?

    The reson i need it because the app that i am working onb now (can't post due to disclosure agreement), starts insted of the original windows logon screen, when a user login (using my app insted of the OS defult) he will be send to windows - my app will monitor what he does and what privileges he got depends on the user level
    1) If your post has been adequately answered please click in your post on "Mark Thread Resolved".
    2) If someone has been useful to you please show your respect by rating their posts.
    3) Please use [highlight="VB"] 'your code goes in here [/highlight] tags when posting code.
    4) Before posting your question, make sure you checked this links:
    MICROSOFT MSDN -- VB FORUMS SEARCH

    5)Support Classic VB - A PETITION TO MICROSOFT

    ___________________________________________________________________________________
    THINGS TO KNOW ABOUT VB: || VB Examples/Demos
    What are Classes?
    || -
    Where to place a sub/function?(global) || Webbrowser control

  4. #4
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    UK
    Posts
    417

    Re: Save to BIOs Possible?

    hi, best place it to look at some ASM forums is your best bet. How ever I did once find something that can wipe the CMOS password but this was in Delphi.
    When your dreams come true.
    On error resume pulling hair out.

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Save to BIOs Possible?

    dreamvb is right. The only way you are going to accomplish something like this with Vb is to be making calls to an ASM or C .dll library file.

  6. #6
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Save to BIOs Possible?

    Quote Originally Posted by Hack
    dreamvb is right. The only way you are going to accomplish something like this with Vb is to be making calls to an ASM or C .dll library file.
    yes...........but Delphi is more preferred for such purposes!!!

    dont know abt delphi myself, but a friend of mine told me this!!
    Show Appreciation. Rate Posts.

  7. #7

    Thread Starter
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    Re: Save to BIOs Possible?

    i know c and c++ what would be better to use?
    1) If your post has been adequately answered please click in your post on "Mark Thread Resolved".
    2) If someone has been useful to you please show your respect by rating their posts.
    3) Please use [highlight="VB"] 'your code goes in here [/highlight] tags when posting code.
    4) Before posting your question, make sure you checked this links:
    MICROSOFT MSDN -- VB FORUMS SEARCH

    5)Support Classic VB - A PETITION TO MICROSOFT

    ___________________________________________________________________________________
    THINGS TO KNOW ABOUT VB: || VB Examples/Demos
    What are Classes?
    || -
    Where to place a sub/function?(global) || Webbrowser control

  8. #8
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Save to BIOs Possible?

    Quote Originally Posted by wiz126
    i know c and c++ what would be better to use?
    well u can use C/C++ if u know ASM programming..........dont know abt it myself but if u are not so strong in ASM then probably use Delphi.

    if u still feel that u shud use C/C++, then try googling ASM programs related to BIOS........u may get some good results!!!
    Show Appreciation. Rate Posts.

  9. #9
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: Save to BIOs Possible?

    I'ts not clear to me that you need to access the BIOS for your app.
    Windows saves the Username and password to BIOS????

  10. #10

    Thread Starter
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    Re: Save to BIOs Possible?

    Quote Originally Posted by moeur
    I'ts not clear to me that you need to access the BIOS for your app.
    Windows saves the Username and password to BIOS????

    indeed it does. ill give you an example.
    if you open your computer (actual box) and take the cirular buttery out wait 12 sec and put it back in. now start your computer. Walla your windows password was deleted and so is the clock so you will have to set your clock agine

    where do you think windows stors the user password? and why do you think the computer clock is not off time if you shut it for few houres. there is a buttery connected to the bios - there the buttery sends small amounts of enegry just enugh to keep the memory not deleted so the clock will not loos its time and the user got his password saved
    1) If your post has been adequately answered please click in your post on "Mark Thread Resolved".
    2) If someone has been useful to you please show your respect by rating their posts.
    3) Please use [highlight="VB"] 'your code goes in here [/highlight] tags when posting code.
    4) Before posting your question, make sure you checked this links:
    MICROSOFT MSDN -- VB FORUMS SEARCH

    5)Support Classic VB - A PETITION TO MICROSOFT

    ___________________________________________________________________________________
    THINGS TO KNOW ABOUT VB: || VB Examples/Demos
    What are Classes?
    || -
    Where to place a sub/function?(global) || Webbrowser control

  11. #11
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: Save to BIOs Possible?

    Dare I say it; C wouldn't be able to accomplish this. With a very VERY ugly hack, it might be possible. The best way to do anything remotely like this, would be ASM, or QBasic. QBasic can push to the stack and a few (anywhere? been a while) places in memory.

    I think a few ASM tutorials are required.

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

  12. #12
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Save to BIOs Possible?

    I don't think that's true. How could you log into Windows after you flashed your BIOS? I have done that before, and had no problem logging in.

  13. #13
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: Save to BIOs Possible?

    I also don't believe this, when my battery dies are you saying all my users will no longer be able to log onto their accounts?

  14. #14

    Thread Starter
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    Re: Save to BIOs Possible?

    Quote Originally Posted by moeur
    I also don't believe this, when my battery dies are you saying all my users will no longer be able to log onto their accounts?

    oh no that gets backed up. your users are writen in so meny places its not funny. the password isn't. so you will have the the users avelible, but they will have no password

    i got it to work anyway from c++ cutom code my friend made me so i ok.
    1) If your post has been adequately answered please click in your post on "Mark Thread Resolved".
    2) If someone has been useful to you please show your respect by rating their posts.
    3) Please use [highlight="VB"] 'your code goes in here [/highlight] tags when posting code.
    4) Before posting your question, make sure you checked this links:
    MICROSOFT MSDN -- VB FORUMS SEARCH

    5)Support Classic VB - A PETITION TO MICROSOFT

    ___________________________________________________________________________________
    THINGS TO KNOW ABOUT VB: || VB Examples/Demos
    What are Classes?
    || -
    Where to place a sub/function?(global) || Webbrowser control

  15. #15
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Save to BIOs Possible?

    Quote Originally Posted by wiz126
    i got it to work anyway from c++ cutom code my friend made me so i ok.
    can u share it with others on forum??
    Show Appreciation. Rate Posts.

  16. #16
    Member
    Join Date
    Sep 2005
    Posts
    45

    Re: Save to BIOs Possible?

    Quote Originally Posted by wiz126
    indeed it does. ill give you an example.
    if you open your computer (actual box) and take the cirular buttery out wait 12 sec and put it back in. now start your computer. Walla your windows password was deleted and so is the clock so you will have to set your clock agine

    where do you think windows stors the user password? and why do you think the computer clock is not off time if you shut it for few houres. there is a buttery connected to the bios - there the buttery sends small amounts of enegry just enugh to keep the memory not deleted so the clock will not loos its time and the user got his password saved
    first of all i want to clear a couple of things.

    • The password that BIOS use to store is system password, resetting the batter (the way you describe) will reset system password and not the window password. Window will still prompt you for username and password (i am talking about winXP n win2K).

      System password, is the password that is prompt right after the POST.
    • Window use *.sam file to save it's password if you are going to log on LOCALLAY, or it contains multiple storage if you are using Network Logon.


    there could be 2 options for your problem.

    • If you do wish to write to CMOS, you must uset C language. My friends did all this using 16-BIT C, there project was to give a GUI so that user can change the CMOS setting while running windows, and they did all that .. successfully.
    • The alternate could be that, use the window domain to log on, and after it, your application (which must be running as serivce) take control, prompt for the username and password again ... if it is authorized then its ok, else you can send system command to log off.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width