Command Line Screw-up
Windows Vista Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Command Line Screw-upExpand / Collapse
Author
Message
Posted 7/19/2007 8:50:50 AM
 

Group: Forum Members
Last Login: 8/25/2007 7:54:31 AM
Posts: 4, Visits: 15
Ok Guys.....I really screwed up.(that's what usually happens when you don't know what your doing) I was trying to gain access to my entire drive so I could delete temp files/temp internet files etc. So, after reading a post on another site on how to delete system files I used this in the command prompt: [takeown / C:\ f ] afterwhich it said that my-acer had owership....Cool so far....I think. Then I used the cacls command: [cacls C:\ *.* /G my-acer:F] I was asked if I was sure & answered yes,hit return & it said the process was successful. Now I can't get many things to run at all & if I attempt to use the command line as an admin I get this:"c:\windows\system32\cmd.exe the parameter is incorrect". I get the same sort of message when I try & run other things. I have to also say that when I login to start windows my name is "ironhorse" & the name of the pc is "my-acer". A friend told me I need to give full rights to both of these names if I want to delete certain files as their considered administrators(both me of course). I haven't restarted the machine cause I know it will never restart so I'm trying to get this fixed through the command prompt. I tyred to roll back through system protection but can't get there either. Am I screwed or is this fixable. Mike

I'm liken Vista....But Krazy about Linux!!


I'm liken Vista....But Krazy about Linux!!
Post #9435
Posted 7/20/2007 5:53:52 AM
Vista Goddess

Vista GoddessVista GoddessVista GoddessVista GoddessVista GoddessVista Goddess

Group: Forum Members
Last Login: 12/14/2007 12:06:19 PM
Posts: 607, Visits: 842
The only thing I have been involved in so far with Vista and 'cacls' is that the usage has changed and whilst it is available in Vista the correct one to use is 'icacls' which has a whole different lot of switches, I only suggest that you may want to read up on the differences it might give you a clue on a fix.

Post #9461
Posted 7/20/2007 8:02:33 AM


Administrator

Administrator

Group: Administrators
Last Login: 8/22/2008 10:02:32 AM
Posts: 2,102, Visits: 2,247
If you can boot into the admin account (and I'm talking about real admin not the one Vista created, you need to unhide this one) and somehow get to the start menu you can try to run the same command but use the:

/R user
      Revoke specified user's access rights (only valid with /E).
To revoke the changes you mad by adding rights to your user account.

You shoulda also read up on how to make system changes in vista you need to use TakeOwn.exe followed by Icalcs.exe in the future.

http://technet2.microsoft.com/windowsserver/en/library/4c475b4c-e5ee-444c-a730-ccb7a13e03b41033.mspx?mfr=true

AMD64 X2 5200+ 2.60GHz | 3GB DDR 667 | RAID 0 SATA3.0 WD Caviars 320GB total | Foxconn MCP61VM2MA-RS2H Geforce 6100 nforce400 chipset | Vista Ultimate x86

Post #9466
Posted 7/26/2007 6:13:16 PM
 

Group: Forum Members
Last Login: 8/25/2007 7:54:31 AM
Posts: 4, Visits: 15
Thanks to All!! I mean that. Thankfully I haden't done too much with the New Machine. I restored the whole thing back to original using the restore disks. This time I'll read up before tinkering. Mike

I'm liken Vista....But Krazy about Linux!!
Post #9747
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Jason, blackhat, kingofnexus, Camride, MafiaLord91, WAW8, Walker, MrMagic, PC509, AmericanNightmare

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 8:02am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 1.219. 9 queries. Compression Enabled.