How do we open folders with administrator privileges?

I am trying to open the folder Documents and Settings on my local machine.  I am the administrator, the computer is not on a network, and it is a standalone machine.

Hello Milo,
Thanks for the reply, I was just able to try your response today for the first time.
I will type in exactly what I put in the command line
icacls "D:\saved shit\" /grant administrators:F
D:\saved shit" /grant administrators:F: The filename, directory name, or volume label syntax is incorrect.
Successfully processed 0 files; Failed processing 1 files
After this I enabled the "hidden admin" account and logged on that account to find I was able to edit the folder's permissions and I can now go into that folder.  The problem remains though that every folder and file within D:\saved shit is now inaccessible
to either the administrator account or my original account with administrator privileges.
When I attempt the icacls solution you posted for the subfolder D:\saved shit\My Documents it gives me the same message I wrote earlier.
Sorry for the wall of text and I really do appreciate your help.  My end goal is just to have the default permissions set for all the files and subfolders so I can access them again.
Thank you for your time!

Similar Messages

  • Open application with administrative privilege

    Can anyone point me to resources on how to execute a command in Java to open an application with administrative privileges - similar to the windows runas command - but will accept the login and password in the command?

    First figure out how to do it at the command line (it's beyond me). Then use Runtime.exec() to run the command. You'll have to use the Process's output stream to respond to the password prompt, and it's possible that might not work if Windows isn't prompting on stdin.

  • Access Denied when trying to access shared folders on the server with administrative privileges

    I have problem accessing shared folder on the server machine from Windows 7 machine even if I try to access it with administrative privileges (server Administrator account). I will try now to explain better my situation.
    In my company, we have small network infrastructure with one main server machine (HP ProLiant server) with Windows Server 2012 R2 installed and couple of desktop machines. The network is administrated by me.
    On Windows Server we have installed and setup DHCP, DNS, Remote Access and Routing, File and Storage and Active Directory services. Desktop machines are having Windows 8.1 Pro, Windows 8.1 or Windows 7 Home Premium installed on them. In Active
    Directory I have created domain, User groups and Users for employees in my company and so far, I didn't added desktop machines to the domain.
    Also, I've created one folder on the server which should contain different projects data for network users and I have set access permissions and security for this folder and shared it on the network (I've added couple of users to one user group and I
    gave Full control to this group over this folder). When I try to access this folder from network, I've been asked for login credentials (normally), where I just type in one of users username and password who has been given access permissions to (who is member
    of group with full control over the folder). From Windows 8.1 Pro and Windows 8.1 machines I can access and work on this folder without any problems.
    The problem comes with Windows 7 machines. On Windows 7 machines (I have also tried this with Windows 7 Ultimate in VMWare) I can access server, I can see its shares, but as soon I try to access folder I've created for projects, I get Access Denied message
    with request for User login credentials. Whichever user account I use (even servers main Administrator account) I keep getting this message over and over and I'm unable to access it at all.
    I have also tried to access the server through VPN (from local or outside) but I'm getting the same error again. Also I've tried to add these Windows 7 machines to the domain and login with domain user but the result is the same. Turned off both firewalls
    (on server and desktop machines, which I know is unnecessary, but lets try it), still same case. I've tried couple more things with registry editor on desktop machines which I found on different forums and websites but still no luck. And now I don't know
    what else I can do.
    Does anyone knows what's the problem here, have I set something wrong, have not set something I should?

    Hi MeipoXu,
    thanks for your response. I will first answer on your question.
    Yes, the main issue is that we can see the folder when we access the server but we cannot access its contents from Windows 7 machines. I have tried on two machines, one with Windows 7 Home Premium version and the other one with Windows 7 Ultimate version
    and the situation is the same.
    As you recommended, I've checked Network Discovery and File and Printer Sharing and the situation is next: File and Printer Sharing is turned on all layers (Private, Public and Domain) while Network Discovery is off for all layers too. I don't know if this
    is normal thing but Network Discovery cannot be turned on in Windows Server (I'm able to select Turn on Network Discovery and apply the changes, but when I get back to this settings page, I again see that it's turned off, so I assume this can't be changed
    at all).
    I also tried with icacls in command prompt and everything seems to be ok there regarding permissions. Share permissions are set to Full control to Everyone and Security permissions are set to Full control only for Administrators and the user group I've created
    for employees in my company. The confirmation for this is that on Windows 8 machines you can access this folder without any problem and without getting any message connected with access permissions with any user account within this user group. This share is
    created through File and Storage Services service in Server Manager panel.
    And then something came up on my mind. I went in Server Manager to check shared folder settings in File and Storage Services and under Settings page I saw that "Encrypt data access" has been enabled (I enabled this option because I thought
    I will get more security with this option). I asked my self what would happen if I disable it, tried it and now everything works ok on Windows 7 machines too. Now I assume that Windows 7 doesn't have this feature implemented or there are some
    settings which needs to be set on Windows 7 machines to make this encryption thing work with Windows Server. So basically, I will let this feature off for now until I find out more about it and how to implement it to work with all operating systems.
    I want to thank you once more for your kind help!

  • Applescript "with administrator privileges" and without Password prompt

    i,
    I have to configure some phone settings in the central VOIP/VPN/Gateway Router via a ssh (with certificate) command.
    There is only a option to allow or disallow the ssh access in the router. Therefor I wrote a applescript to allow only the specific ssh command "set /Setup/Voice-Call-Manager/Call-Router/Call-Routing/". To avoid the configuration access for anyone and to hard code passwords I have to execute this script with root permissions (do shell script "/usr/bin/su - " & user & " -c " & "'" & cmd & "'" with administrator privileges"). In any other unix implementation I can use "chmod 4755; chown 0:0". Even I compiled the Applescript and stored it as Carbon App, I get a user/password prompt.
    How can I avoid this prompt or authorize the script/app in any way?
    Thanks Henri

    I agree, but to use the private key of the applescript caller opens any user the ability to change any WLAN key, VPN settings or delete the admin account, not a good idea....
    Therefor I would like to run the applescript with root, "su - <adminuser> ssh router set ....".
    This restricts the access to the router config to this applescript and I would like avoid the hard coding of the root password in the applescript.
    I tried also the add the command to /etc/sudoers, this work fine from the command line but how to call "sudo applescript" from the desktop without entering the admin password?
    Thanks
    Henri

  • How do I move folders with subfolders (containing pdf files) from my pc to ipad 3 to use in adobe reader

    How do I move folders with subfolders (containing pdf files) from my pc to ipad 3 to use in adobe reader

    You need to connect the ipad to the computer and open itunes.
    Open the ipad and go into settings, icloud. Tap on "Documents and Data" and turn that on to sync to icloud.
    Now go back into itunes and it should pick up your ipad already and tap on the ipad connection. There will pop up some taps on the center screen for sync options. Go thru each one (summary, info, apps, music, tv shows, podcasts, itunesU, books and photos).....you want to click on "Books".
    To the left click the arrow next to the ipad under Devices.
    The arrow will point down and open the sub menu, click on the "Books" sub menu here. You will see in the center window current books, PDF currently on the ipad.
    Next go to the top and click on "File"  (file, edit, view, controls, store, advanced, help) and click on "add folder to library"...... it will bring up your computer file system in a seperate window. File the folder your looking for and add it. This should get the folder set up to sync onto ipad thru itunes.
    For additional ease in doing things on the middle window of itunes click back on summary, scroll a bit and you will see "Backup", click on "Backup to icloud". Then under "Options", check "Sync with this ipad over WiFi".
    This will allow you to wirelessly sync your itunes and your ipad without having the ipad connected to the computer with a cable. You just have to be on the same wireless network.
    If in itunes you add something like a pdf or photo, when your on your ipad open the Ibooks or Iphoto app and it wull update the file system to match your itunes account. The sync with with anything you do in itunes and it works the other way around also. If you save files, photos, books on the ipad, using the ipad (app store purchases, games, books)....the ipad will update to itunes next time your on the same network.
    FYI - both the ipad and the computer have to be on.
    Itunes updates (changes you make thru itunes), does not need itunes to be open for update content to update to the ipad. This is because it updates to the cloud.
    Updates from the ipad to itunes will need itunes open on the computer. So it can sync with the cloud info.

  • Blackberry Media Sync Failed To Initialize - Run With Administrative Privileges

    I've downloaded the Blackberry Desktop Manager (4.7) and everything works fine except for the Blackberry Media Sync which fails to initialize and needs to be run with administrative privileges.  Anyone experience this and how did you correct the administrative privileges situation.  I am using a BB Bold.  TYIA

    BlackBerry Media Sync has just been updated to version 2.0.
    I suggest you download it and see if the issue is solved.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Do Shell Script .. with Administrator Privileges ... ?

    hi everyone!
    I have a script that have multiple lines like this:
    do shell script " ... " with administrator privileges
    do shell script " ... " with administrator privileges
    Mac OS X 10.4 does it right(?) by asking ONCE for an admin login/password, and would run both lines above ... but 10.2 (and 10.3?) asks TWICE for the password using the same code. What am I doing wrong? I want all versions 10.2-4 to ask only once ... Any ideas?
    Thank you!!
    Cass

    If you would prefer that your script would not ask for a password to get admin privileges, then this uses the keychain:
    set aVariable to do shell script DefinedAsVariable password getPassw() with administrator privileges
    -- The Handler --
    The following handler assumes you have a password in your keychain called ASPW (could be anything you want) saved as a generic key. To do that, open your Keychain Access (in Utilities) application, choose file New, and in the sheet give it a name, enter your account name and type the password you want to use (your admin password in this case). OK. Now find the new password and double-click it. Under the attributes tab change Kind to generic key (it will be Applications). This makes for a fast search because there aren't many of them. Switch to the access control tab and select the "Allow all applications to access this item" button. Enter your admin password in the dialog that appears, and you are done. The first time you run the script, you'll have to click "Always Allow" in the dialog that appears - perhaps several times. After that, it won't ask.
    to getPassw()
    tell application "Keychain Scripting"
    launch
    tell current keychain to ¬
    tell (some generic key whose name is "ASPW")
    return password
    end tell
    end tell
    end getPassw

  • My 'run with administrative privileges' script no longer works - help

    Hey all. I have an applescript that shuts down the computer that I made a while back. I pulled it out today to use it and it no longer works. Here's part of the code I'm having trouble with:
    do shell script ¬
    "sudo shutdown -h now" password "myadminpassword" with administrator privileges
    On old machines this worked great, I would just put the admin password where myadminpassword is and it would work perfectly. Now though, I run it on my machine and I get the prompt to enter my admin username and password before it will shutdown.
    Now this is going on a remote install so I need it to work. Any ideas? The machine is running snow leopard, but it seems to still work on an old leopard macbook pro.

    Well, for one, do not use sudo in do shell script.
    The whole 'with administrator privileges' part takes care of elevating your privileges. sudo has no place in do shell script.
    Don't know if that's your issue, but it's the first thing I'd fix.
    If that doesn't help, are you running the script as your admin user?
    Nowhere in your script are you defining the username to run the command as, therefore it will attempt to run as the current user who may not be the same as your admin user, nor have the same password. You might need to include the username:
    do shell script "shutdown -h now" user name "admin" password "myadminpassword" with administrator privileges

  • How do you open Photoshop in Administrator mode?

    how do you open Photoshop in Administrator mode?

    In Windows, right-click on the PS icon, choose "run as administrator", enter your admin password when asked for it.

  • Ipod is disabled for 22,849,620 minutes how can I open ipod with this message?

    Ipod is disabled for 22,849,620 minutes how can I open ipod with this message?

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • I have windows vista user account with administrator privilege. I am unable to update mozilla firefox to the latest version. It is saying "do not have required privileges". I already uninstalled the previous version :(

    I am unable to update mozilla firefox. I have user account with administrator privilege.

    Try to run the installer as Administrator via the right-click context menu (Run as Administrator).

  • How do I open HELP with Photoshop Elements12?

    Hi, I haven't used PSE in awhile and recently bought PSE release 12 so I went through looked at the Users manual, view the Online videos and wanted to check on HELP and the dropdown menu Photoshop Elements HELP (PF1) but nothing happened. I did this is in all three modes (Quick, Guided and Expert) but "help" did not appear so my question is, how do I open HELP with PSE12?
    Thanks,
    Bob
    P.S.- my objective (what I was looking for) were the step by step instructions on how to straighten a photo

    To automatically straighten the image and leave the canvas around the image, choose Image >> Rotate >> Straighten Image.
    The straightened image contains areas of blank background, but no pixels are clipped.
    To automatically straighten and crop the image, choose Image >> Rotate >> Straighten And Crop Image.
    The straightened image does not contain areas of blank background, but some pixels are clipped.
    If you have a photo with an horizon you can drag a line along it with the straighten tool.
    Click Help on the top menu bar for the on-line help files.

  • Hey, im really sick of this, how can i open folders but in the same windows, when i open a folder which is inside of another one, it just open me a new window, its so annoying, could anyone tell me what to do? im using mac os 10.7.2

    hey, im really sick of this, how can i open folders but in the same windows, when i open a folder which is inside of another one, it just open me a new window, its so annoying, could anyone tell me what to do? im using mac os 10.7.2

    Finder > Preferences > General > Always open folders in a new window: uncheck

  • Error inserting image file in Excel 2013, it's working with administrator privileges

    When I tri to insert image file like .JPG in Excel 2013, I get an import error. It's working fine with administrator privileges.
    I check, graphic filter (registry values)  and made also an Office repare. But i have still the problem.
    My computer: Windows 8.1 64 bits, Office 2013 32 bits

    Try to check the grant permission for the Excel property itself.
    Try to insert image from other path, e.g. D:\ to check if we still receive the error.
    Try to run Excel with safe mode. ("Excel.exe /safe") and perform th insert action without any add-ins interrupt. Thanks.
    Tony Chen
    TechNet Community Support

  • Can't open folders with double click...

    i've since imposed parental control on the mac for my 2 kids and since then have not been able to open folders with a double click any suggestions.

    No, I was trying to be humorous, but obviously failing there.
    I don't know anything about parental controls whatsoever.  Seriously, I have no idea.

Maybe you are looking for

  • IPod recognized, but hangs during update

    So my iPod will show up in Finder and in iTunes, and automatic updating will begin. However, at random times during the update, sometimes 4 songs in, sometimes 65, the whole process will just hang. iTunes status screen gets stuck on flashing between

  • How to implement Captcha using Web Dynpro Java

    Hi Experts, Can you please provide any information on CaptchaImplementation using Web Dynpro Java. We are using NWDS 7.01. Regards, Suvankar

  • How can I download iPhoto?

    I recently purchased a Macbook Pro early 2008 model running OS 10.7.3. I wanted to use iCloud and needed to upgrade iPhoto from 9.1 to 9.2. The computer and the app store would not let this happen, saying that I had 9.2 already (I didn't). I was told

  • What is better to back up with Itunes of iclods?

    Use Iclouds or itunes to back up your iphone?

  • MySql Order by command..

    Guys I am developing a forum, the thing is i want to call the sql data base saved data according to user accessed order.... Can any one help me out to solve this problem pls pls pls,,,,,,