Windows Legacy OS forum

General discussion

Windows XP not booting up - changed environmental variables

by tessarotto / February 6, 2013 4:29 AM PST

Hi there,

Customer changed environmental variables value by clicking on my computer, properties, advanced, environmental variables, edit (user variables), and changed Variable value to the word "windows".
Now windows gives us a blue screen and does not load from any other mode, not even from safe mode.
I tried to boot from CD in order to perform a recovery but it gives me a blue screen (pci.sys error).
I can read the hard drive on another PC, no problems.
I was wondering how to change the environmental variables back to what it was.

Thanks in advance.

Post a reply
Discussion is locked
You are posting a reply to: Windows XP not booting up - changed environmental variables
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Windows XP not booting up - changed environmental variables
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Sorry. Guru deep water zone ahead.
by R. Proffitt Forum moderator / February 6, 2013 6:30 AM PST

Go get NTPASSWD and it has an offline registry editor. You can also use the microsoft KB article about loading the hive and editing it there. As you must be a guru I'll point what direction to go but stop short of a step by step.

The good news is their files are likely fine. Just pop in a new blank drive, reload and copy their files from the old drive then issue the bill for the work.

Collapse -
Non guru methods.
by R. Proffitt Forum moderator / February 6, 2013 6:36 AM PST

1. LKGB or last known good boot should be fine as if this resulted in a bad boot, LKGB will get you working fast.
2. Safe Mode command prompt if it's working can let us launch RSTRUI.EXE to roll it back.

Collapse -
Re: environmental variables
by Kees_B Forum moderator / February 6, 2013 6:32 AM PST says they are stored in the registry. So restoring the latest backup from the registry is the thing to do.

A system restore back to before he did this should be fine, but can't be done from the recovery console. You need to boot into Safe Mode with Command Prompt to do that in XP. And I understand from you post that that doesn't work.

Booting from the XP setup disk should work, because that's independent from what is on the hard disk. Try cleaning the disk, a head-cleaner on the drive, copying the disk, another disk with the same version of the OS, or another drive. If you don't believe it should work, try it with another empty disk (wiped with DBAN or just with all the partitions deleted).

Popular Forums
Computer Help 51,224 discussions
Computer Newbies 10,453 discussions
Laptops 20,090 discussions
Security 30,722 discussions
TVs & Home Theaters 20,937 discussions
Windows 10 1,295 discussions
Phones 16,252 discussions
Windows 7 7,684 discussions
Networking & Wireless 15,215 discussions

CNET's Oh, Snap! Sweepstakes

Enter for a chance to win* a 360-degree camera

Do you Snapchat? We want you to snap for this sweepstakes and give you the chance to get your hands on the Theta S so you can make your very own 360-degree videos.