Can I change the error message users see

I would like to change the text of the error messages in my domain. Is it possible to change the simple:

"Access is denied."
to
"Stop trying to get in this folder!"

I would like to change these to fit the folders. Thanks!
LVL 1
tweeter514Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sliiconmanCommented:
Not that I know of. I would be changing them a lot!
Toni UranjekConsultant/TrainerCommented:
This is system error, you shouldn't be able to modify such messages.  ;)
johnb6767Commented:
Dont think it is Impossible, but will definately take some research on your part....

What is Resource HackerTM?
http://www.angusj.com/resourcehacker/

Open the app, and under File>Open and start searching System .dlls by going to View>Find Text, and searching for "Denied".

Using Process Explorer, I was able to find the string "Access denied" in userenv.dll, but it wasnt present when I opened it up in RH....

Ill keep playing with it, but I am sure it can be done.....
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

johnb6767Commented:
Found it... It is in Kernel32.dll.....

johnb6767Commented:
Now, the only down side.....

This is the Kernel your playing with, so I suggest you play with this on a TEST machine only.....

And I dont think SFC will kick it out, but who knows at this point.
Reshacker-kernel32.JPG

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Shanmuga SundaramDirector of Software EngineeringCommented:
Most precautions to be taken while doing so. Like tweeter514 I like playing in computer like changing these messages into our own customized message. FYI I was very keen in changing the START caption of windows 95 when I was doing my studies in college, and finally did the same after many attempts. Though it is now easy to do, but in 1995's it was very difficult since there were not more internet connections and forums available. Now let me come to the point.

Tweeter514 Human readable text can be easily identified by us and they will be as the same in the computer files too. Hence it is easy to accompolish the task. For example in my computer I use EDIT.com to open explorer.exe and I will change the name of the documents, control panel, settings etc. To do this First I will take a copy of the explorer.exe file and then I will do changes in the explorer.exe file. But I will take more precautions while doing so. Now-a-days many binary editors are available to accompolish your task. Only the major challenge involved for you is to identify the file where the message resides. Hope now you can start playing, but be very very careful.
johnb6767Commented:
You tried it successfully? No problems with the new compiled file?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.