If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Windows Server / Cant change read-only flag on folders (Windows 8.1)

Cant change read-only flag on folders (Windows 8.1)

Started by ryadia on 9 Jun 2017, 7:48 PM · Views: 8,561

Results 1 to 2 of 2
9 Jun 2017, 7:48 PM
#1
ryadia avatar

ryadia

New Zenner

Join Date:
Jun 2017
Location:
Brisbane Australia
Posts:
1
Plugin Contributions:
0

Cant change read-only flag on folders (Windows 8.1)

Hi all. I'm new to Zencart but a seasoned user of osCommerce.
While installing ZC on my localhost I came across a Windows issue (Win 8.1) that changing Folder attributes from read-only using explorer doesn't actually happen. Sure you get all the warm and fuzzy messages about changing all the sub-folders but it doesn't actually happen. Aparently Microsoft doesn't trust its users. This prevents me from following the installation instructions regarding setting folder atributes.

When I look at the security of those folders they all grant administrator and system all rights except changing special attributes. Normally I wouldn't let this bother me but the username I chose for Admin and or the password ZC created will not let me log on to the back end.

I've got direct access to the file system. Is there some way I can reset the admin username and password without going through a browser?

All help will be gratefully received.
Ryadia

9 Jun 2017, 11:46 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Cant change read-only flag on folders (Windows 8.1)

To reset your Admin password, you have 2 options:

  1. If you've never logged into the Admin at all, you could just re-run the installation procedure, and it would reset everything (delete the database content) and create a new user and password.

  2. If you specifically want to just reset the Admin login, you'll need to access your database; usually that's done using a tool like phpMyAdmin, or some MySQL access tool provided by your hosting company. The process is described in this FAQ article: How do I change or reset my Admin Password?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.