Solved

Windows XP - Unexpected error; quitting

Posted on 2003-11-08
16
3,813 Views
Last Modified: 2012-05-04
Hi everyone,

When I set up a Windows XP PC at my job, I set up the profile exactly how i want it, and once I am done I copy it over to the default profile.  We have a fair amount of pc hopping here.

Well, it so happens that when I do this, one of the programs stops working.
I doubleclick on it and it says "unexpected error; quitting".  Even with domain users in the administrator field, it doesn't help.  The only person who can run it is the username i installed everything under.  Even if i create an admin account local to the machine they cannot run it.
I have read stuff online and it seems pretty common but the companies are like here download this dll blah blah blah.  Do you have any suggestions? MOst of the stuff I am finding is really old, going back to IE 3.0 for god sakes!  help!! its really annoying me
0
Comment
Question by:bnktech
  • 5
  • 3
  • 2
  • +3
16 Comments
 
LVL 41

Expert Comment

by:stevenlewis
ID: 9707289
this is usually a problem with permissions in the registry
you need to find the key(s) that the program suses, and change the permissions
or, hold down the shift key, right click on the .exe file and choose run as and run it as the user that installed it
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9708702
Have you checked with the software provider to see if there is a workaround for multi-user access from the same WinXP PC?

It almost sounds like a "quickie" port from a Win16 app that doesn't allow for multiple user profiles.  If you are finding stuff mentioning IE 3.0 when looking for a fix for this software, that adds to my suspicions.

Another thought is that instead of "default user" you should instead be moving this program's stuff to the "all users" profile.
0
 
LVL 17

Expert Comment

by:RDAdams
ID: 9716339
May I ask what software it is?  
0
 

Author Comment

by:bnktech
ID: 9716451
The software is banking software.

Now, i swear I have tried before copying a profile over to the "ALL USERS" before and it hosed everything and i read online that that can do harm.  i am afraid to do it again?  I have read to do it to the default user profile.
what gets me is that we set up 100 machines just like this and copying the profile was fine.

its ticking me off. i called the software vendor and they are not sure what is wrong.
ive tried the run as thing too to run it as me but that doesnt work either, it tells me the login is correct (like its trying to log in to the actual program and takes the user name and pswd I put in there)

this is so frustrating. i dont even know where to start with finding these registry things :(
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9717746
If you do it to the default user profile, it won't show in any profiles already created, just on new users' profiles.  All users applies to all users, but default user is a template for creating new users.

Another option would be to establish roaming profiles stored on the server, that get loaded at login time.  I know that worked with NT4 and I think it worked with Win2K Pro, so it should work for XP, too.
0
 

Author Comment

by:bnktech
ID: 9717857
but using a roaming profile is going to take care of my basic problem here, of getting the message "unexpected error;quitting"?

even if i log in as the local admin, which had no profile ever copied to it i still cant run the stuff. its like only i who installed it under my name can do it.  

0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9718684
That depends on getting the app working, either under all users or default user; but remember that default user won't help an existing user.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 41

Expert Comment

by:stevenlewis
ID: 9718853
found this elsewhere, but it may help
've run in to this problem when I was creating my own MSI files and didn't want to have to touch every machine. I ended up using the regini.exe command from the resource kit to modify the registry acl in a startup script. I used regmon from sysinternals to determine what parts I needed to modify the ACLS on but you may find the specifics on adobe.com. Either one will get you. This website lists how to use regini.exe to set registry ACLs.

http://support.microsoft.com/?kbid=237607

You can get regmon here.

http://www.sysinternals.com/ntw2k/source/regmon.shtml

Let me know if this helps or you need more info.
0
 
LVL 6

Expert Comment

by:asmodeusnz
ID: 9719832
I suggest a better way of setting up your PC's.
Once you have built a PC with XP from scratch and set it up how you want then simply
"Ghost" it on to a slave HDD or slave server.
You can then use this image and copy it to another PC from your slave "Ghostdrive" (HDD or server) to the primary Master on the next PC.
This saves all the hassle you get when copying profiles and allows duplicate PC's to be done in minutes rather than hours.
The other advantage is that everything will be working fine (banking programs, word, excel, outlook etc).
If you have "hundreds" of the same type of PC to rollout then this is by far the best way.

Cheers
Rodger
0
 

Author Comment

by:bnktech
ID: 9723199
Actually I did ghost the PCs which did take a matter of minutes...
But here at the bank we have to use static IPs and a few of the banking programs need certain stuff written in ini files for them to work.  So once I ghost them i go in quick and make the changes, and then I am done.
The "ghost" image I made was what i configured under the installer profile and then copied to the default.

And on the computer that does not work with that one program under any profiles othert than my own, she is the only one that uses this program besides someone here on win98 that it of course works fine on.  Like i said it works fine under my name since that's where i installed it but once i copy over the default profile with it, anyone else who logs in and tries has no luck. even the adminstrator local account on the machine can't run it and i didnt touch that profile.
0
 
LVL 35

Accepted Solution

by:
ShineOn earned 38 total points
ID: 9725108
It could have created an ini-type file in the program directory that stores config info based on user ID.  WordPerfect 8 used to do that, and so did Worldox.  The user profile for the program may be in an entirely different folder than the documents and settings; it may not even be in the program files folder, and could even by under the windows root folder.
0
 
LVL 6

Assisted Solution

by:asmodeusnz
asmodeusnz earned 37 total points
ID: 9725850
Ok try this then,
After a clean Rebuild/Ghost. Hopefully you are using XP Pro.

Log on as your administrator.
Setup the configuration details, (BankAdmin) profile etc, banking config etc,
Create a temp new user (eg: tempadmin) in user accounts.
Create a profile of the person who is using the PC (eg: Bankstaff)
Log on as (Bankstaff), then log off.

Log on as the tempadmin.
Under Windows Explorer make sure Show all files is on.
Copy all the profile files under C:\Documents and Settings\BankAdmin to "Bankstaff"
Log on as bankstaff and you will have the identical profile of BankAdmin.

You can't copy any profile fully while logged on as that profile, hence the need to create a temp one so you can do the copying as indicated above.

Cheers
Rodger

0
 

Expert Comment

by:bomma_murali
ID: 13361515
I installed Visual Studio 6.0 on my machine. when i tried to launch the visual Interdev it throwed me an error "unexpected error; quitting". but when i tried to launch visual basic it is launched. I tried with re-installing the s/w again. I faced the same problem.could any one provide me a solution as this is really annoying.
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 13362281
Even though that's the same error message, it sounds like a completely different situation.  You should open your own Question.  You could post it in this TA since it seems to be an installation issue, but it wouldn't hurt to post a pointer in the Visual Interdev TA.

http://www.experts-exchange.com/help.jsp#hs3  has pointers on asking questions.  

Posting your own question will get it noticed by a lot more Experts than those few that posted comments to this closed question, so you will get more and better advice sooner.  Additionally, it's kinda frowned upon to "piggyback" a question on someone else's question.  Extending a closed question with more info is OK, but this is really a new situation, so you should open your own for that reason as well.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Veritas Asymmetric Cluster 2 341
how enable gpedit.msc in W10 Home edition? 8 267
PXE question 7 76
PERL - Find newest folder 12 102
Hello I read in a discussion about a person who configured a very simple mirror RAID with two hard drives; the system and data were on the same partition. He asked how to repair the system as it was not booting up anymore. In his case running …
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now