The problem could be because of the inverted commas you are using for admin:adminpw.
Try removing the invereted commas in the commands.
Now, delete the server and client folder and follow the below steps:
1.Initialize the server
fabric-ca-server init -b admin:adminpw
2.Start the server
fabric-ca-server start -b admin:adminpw
3.Enroll the Admin
fabric-ca-client enroll -u http://admin:adminpw@localhost:7054
4.Create new user and register it
fabric-ca-client register -u http://localhost:7054 --id.name test --id.secret testpw --id.type client --id.affiliation org1.department1