Skip to main content
Question

Scripting a PRAM reset on 10.7 and 10.8

  • December 18, 2013
  • 3 replies
  • 16 views

Forum|alt.badge.img+18

Hey all,

So we use a set of firmware passwords to secure our systems from students but from time to time we need to reset the PRAM on these machines. I wanted to script this so our techs could quickly run a pram reset without having to disable the firmware passwords, but I can only get it to work in Mavericks with the ```
sudo nvram -c
``` command. I found various other commands that don't seem to actually work in Lion or Mountain Lion and was hoping someone here knows how.

Other commands that I see not working on 10.7-10.8 are ```
sudo nvram -d boot-args
and the
sudo nvram -p -r
``` command that used to work in 10.6.8.

I just test this theory by adjusting the volume to mute then run the command and see if the chime happens at reboot.
Thanks for any info provided!

Gabe Shackney
Princeton Public Schools

3 replies

Forum|alt.badge.img+3
  • New Contributor
  • January 8, 2014

gshackney, Have you had any luck with this?


Forum|alt.badge.img+6
  • Contributor
  • January 8, 2014

@gshackney I'm also curious if you've gotten anywhere with this. It's currently on my radar for similar reasons but low on the list.


Forum|alt.badge.img+18
  • Author
  • Esteemed Contributor
  • January 9, 2014

No actually only crickets when I asked on the enterprise group forum as well.
The mavericks command is the only one that seems to work.
I'll keep looking though...

Gabe Shackney
Princeton Public Schools