How to migrate a Website from Windows 2003 to Window 2012

Hi

We were using windows 2013 server in our network and my predecessors had setup a password reset utility on this server.
Basically they have created a shortcut pointing to the following URL  and when I click this shortcut  
http://Win2003 Server/SchooAdmin/spwr/spwr.hta

It asks to run and when I click run, it opens  a box , where it gives options to change password of students and put the new password  and click reset , it changes the password successfully.

Please see the attached IIS snapshot, the properties of the Default website and if I open the
C:\inetpub\wwwroot folder , I can see the SchoolAdmin and spwr folder and many files are there within this folder.

Now I would like to migrate this password reset program to a Windows 2012 server. Please let me know if there is a way successfully migrating this.
Snap-shot-of-IIS--Default-website.png
lianne143Asked:
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.

ExchangeKBCommented:
ok this sounds like a HTML appllication for self service password resets ? Dont think it has any dependency on databases, just has a connection to AD ?

Have you tried just copying the files to your 2012 boxs iis root folder.

There are some documentation available on how to do this:
https://www.sherweb.com/blog/how-to-migrate-all-your-sites-using-web-deploy/

hope it helps.
0
Shaun VermaakTechnical SpecialistCommented:
That is an HTA and it does not require IIS. It can run directly from a share.

If the tool is for resetting (new password) and not setting (supply old password and then new password), I would be concerned about the security of this.

I believe that anyone will be able to get the service account password or in the very least be able to run in the context thereof, even be able to change the user to someone else and reset the password.

Can you post HTA file?
0
Peter HutchisonSenior Network Systems SpecialistCommented:
You can restrict access using NTFS and Share permissions to the users/groups who are authorized to run it.
If its a web site, you can restrict the web site by IP addresses or subnets.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Shaun VermaakTechnical SpecialistCommented:
But the source cannot be protected and if it contains the password it will be exposed
0
lianne143Author Commented:
Hi

As this is setup in Windows 2003 server and internet explorer 8 is the last supported version. When accesing http://Win2003 Server/SchooAdmin/spwr/spwr.hta from the Windows XP , the page opens fine without any problems as attached .
Here is shows only the students , it doesn't allow to see any other users or service accounts. I have given access to run this HTA file only to designated  teachers who are password reset admin for students.

Now when I browse the following path from the Windows 7 IE11 it doesn't display properly , please see the attached.
http://Win2003 Server/SchooAdmin/spwr/spwr.hta

I thought after copying the directories to the new Windows 2012  it must display properly , but it is not displaying properly  and same as the second snapshot attached
when I browse from Windows 7  and ie11.
http://Win2012 Server/SchooAdmin/spwr/spwr.hta

But when I click any of the year  and click show users , it lists all the users.

Please let me know how to make this page display properly from IE 11as it displays when opened from IE6
When-Browsed-from-Windows-XP---IE8.png
When-browsed-from-Windows-7--IE11.png
0
Peter HutchisonSenior Network Systems SpecialistCommented:
You may need to update the Internet Options, Internet Security esp. scripts as IE is more secure. I would consider re-writing the HTA program as a proper ASPX website.

See also https://social.technet.microsoft.com/Forums/exchange/en-US/c9538726-669c-4d89-a5fe-2224319e3395/hta-file-will-not-run-correctly?forum=ieitprocurrentver
0

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
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 2012

From novice to tech pro — start learning today.