OK icacls command that should work but doesn't.

icacls "c:\windows\system32\spool\PRINTERS" /grant administrators:(IO)(CI)(OI)F /t 
When some of my systems go to print a PDF the spooler just locks up.  I can't control what type of PDF files are coming in as they are made by all kinds of software and so the problems begin.  I have been working on a batch file that will stop
the spooler service if it hasn't already, then run the above command to grant rights to the indicated directory so that the offending files can be deleted from the spooler and restart the spooler service after that has happened.  The reason for this is
that by default a user can't go in and delete the files.  I believe that I have the command correct and it used to work fine in Windows XP and Windows 7 but I can't see why it doesn't work in Windows 8. 
Here is the batch file.  Please tell me what I have wrong in it.
net stop spooler
timeout/t 3 /nobreak
icacls "c:\windows\system32\spool\PRINTERS" /grant administrators:(IO)(CI)(OI)F /t
c:
cd\windows\system32\spool\PRINTERS
Del *.s*
timeout/t 3
net start spooler
exit 

If you run icacls "c:\windows\system32\spool\PRINTERS" /grant administrators:(IO)(CI)(OI)F /t manually,
what output do you get and what is the resultant ACL on the files?
Also, you shouldn't use the /t switch - it tells icacls to recursively apply that ACE for every subitem
in that folder rather than let NTFS handle it via inheritance. The only time you should use it is when you really need to apply a specific ACE explicitly to all items in a folder, for instance: 
icacls "C:\temp" /grant administrators:F /t
The above command will explicitly grant Administrators full control on every item in that folder (this
item only - no inheritance).

Similar Messages

  • HT1353 I have a Ipod mini 6gb that still works but a new computer that doesn't have its software.  How can I download the software for it

    I have a Ipod mini 6gb that still works but a new computer that doesn't have its software.  How can I download the software for it

    Check the iPod Hardisk health with the iPod  Disk Diagnostic, as posted by tt2
    https://discussions.apple.com/message/17776595#17776595
    It wont fix your problem, but may tell help troubleshoot, why it is freezing iTunes, especially when the Pending and Realloc numbers are high.
    have a nice day!

  • CSS problem that works but doesn;t

    I am beginning to think this is not possible. The code is
    below. The images are their but the two side ones are not showing
    up or they do not even work like the top leaves. I even dropped the
    2 layers lft & rgt inside the top layer that does work and the
    top layer still works but the other 2 still don't, puzzling. Here
    are the link
    http://www.lasalleboat.org/index2.htm
    On number 2 the links do not work the leaves layer/DIV/AP
    Element is above the links layer
    http://www.lasalleboat.org/index3.htm
    On number three the links work but they move over the graphic
    and the links layer is above the leaves layer
    I have tried adding two more layers one on each side of the
    page and put thin graphics.png in the layers so they clear the
    links and made the leaves graphic crop at the bottom of the trees
    line so it cleared the links neither of the two layers I added will
    work or show up withe code below so I tried putting the two lft
    & rgt layers inside the leaf layer and resize the leaf layer
    and that kind works but not you can see this at the next link.
    http://www.lasalleboat.org/index4.htm
    Any suggestions welcome.
    INVT
    Attach Code

    You can take sniffer trace for working one and failing one. Then compare the difference.
    Perhaps, you show us the config for the content rule doing rediretion. (i.e. content rule and its redirection service).  Then I will have a second look.

  • My iphone 6 connects to the car via bluetooth, the music works good, but the phone calles does not work.  It looks like it is working but doesn't.  I have tried in my Hyundai and a Dodge rent car and get the same results.  I updated the last 8.0.2.

    My iphone 6 connects to the car via bluetooth, the music works good, but the phone calls does not work.  It looks like it is working but doesn't.  I have tried in my Hyundai Sonata and a Dodge Dart rent car and get the same results.  I updated the last 8.0.2.  It worked the first day i had the phone, and then i updated to Ios 8.0.2 and it quit working.
    Now when i get in the car, it acts like it is connected and makes the same call it was on after syncing to bluetooth, but it really isn't on a call.  This is happening on both cars.
    Does anyone know if this is the phone and i need to take it to Apple or if there is an issue that Apple is working on getting a fix for?
    My son in law has the exact same phone as me, we both got the on 10/6, he had a Dodge Dart and his is working via bluetooth.
    Someone HELP please, as i consider this a safety issue by not having my calls go to bluetooth.

    We had the same problem, but figure out the solution.
    You MUST have at least 1 song added to your ITUNE!  After you add a free song, then everything else should work as normal!
    Hope this helps!

  • Just bought a new macbook air. speakers show that they work but can't hear Skype or youtube. Can you help?

    Hi , just bought a new macbook air. speakers show that they work but can't hear Skype or youtube. Can you help?

    Have you checked that they are selected in System Preferences>Sound>Output tab?
    If that doesn't help, and although I've never had to use it myself, I've read on here occasionally that launching Audio MIDI Setup in the Utilities folder and messing with the settings in there can sometimes sort out audio problems.

  • Asked a mo. ago why hot sync appears to work but doesn't--zero responses from Palm so trying again

    hot sync appears to work but doesn't transfer info! Options      dee20002
    Regular Visitor
    Posts: 4
    Registered: 09-10-2008
    Palm Z22
    Message 1 of 7
    Viewed 449 times
    hot sync appears to work but doesn't transfer info! Options      dee20002
    Regular Visitor
    Posts: 4
    Registered: 09-10-2008
    Palm Z22
    Message 1 of 7
    Viewed 449 times
    I admit, it's been awhile since I synchronized.  Just did so, and all appeared right with the world, the handheld made the appropriate noises and showed the appropriate actions and same on the computer (XP, connect as always have through USB).  In other words, they appeared to "talk" and said they were synchronizing.  But my data (like important calendar entries) is simply not there.  Nothing.  Nada.  Nothing recently added.
    I tried repeating it several times.  Yes, I have the system set up so that desktop overrides handheld.  So what's up?  Used this a lot in the past, never had this happen.
    Thanks for any help.
    Using XP and the original hot sync that came with palm and that I've always used--no changes. Help???? 
    Dee
    Post relates to: Palm Z22
    Post relates to: Palm Z22
    Post relates to: Palm Z22

    I'm having the same problem though not with the exact same components. I have a Palm Z22 and Windows Vista--things were going great until a few days ago when I noticed that the palm weren't connecting. The Hotsync process proceeds normally, there are no problems noted in the hotsync log, and yet things do not travel from the computer to the palm and vice versa. I've tried pretty much everything: I know the palm is connected to the desktop, not Outlook; I have tried soft and hard resets; I have uninstalled and reinstalled the software multiple times; I know the username is correct.
    I suspect the problem has something to do with Vista; when I restored my computer to a previous time it started working fine but this morning it stopped again. The computer may be automatically updating in a way that is preventing the Palm Desktop software (verson 4.2) from working. Version 6.2 seems to work but I really hate it--there's no color schemes or categories. If someone could help me out with this I would really, really appreciate it.
    Post relates to: Palm Z22

  • Help! My iPod touch won't let me download any apps. A message keeps coming up saying "This Apple ID cannot be used for the iTunes store. Please enter another Apple ID" I changed my ID to see if that would work but the same message still comes up.

    Help! My iPod touch won't let me download any apps. A message keeps coming up saying "This Apple ID cannot be used for the iTunes store. Please enter another Apple ID" I changed my ID to see if that would work but the same message still comes up.

    Where are you physically located?
    What country's Store are you using?
    The two have to be the same and the payment method for your account also has to be associated (billing address, where iTunes gift card was purchased) with that country.
    Has the ID(s) worked before for purchases for this country's store?

  • My old computer (a Sony) with my iTunes crashed. I have a new MAC and want to make sure I can keep all of my music (mostly from old CD's that have been lost). I bought iTunes match hoping that would work but it isn't using the data on my phone. HELP!

    My old computer (a Sony) with my iTunes crashed. I have a new MAC and want to make sure I can keep all of my music (mostly from old CD's that have been lost). I bought iTunes match hoping that would work but it isn't using the data on my phone. HELP!

    Since you have purchased a new Mac (which, BTW, is not typed in all capitals) why not buy a Time Capsule <http://www.apple.com/airport-time-capsule/> which is designed specifically to work with OS X and Time Machine?
    You don't say what part of your Sony "crashed." If it was not the HDD it is possible to take the computer apart, put the HDD in an external case, then recover the data off of it (including the music) simply drag-n-drop. If it was the HDD that "crashed" that makes it more difficult.
    If you are able to recover the music from the Sony you can then add it to the iTunes library on the Mac and iTunes Match will then scan, match and upload the tracks to be mirrored in the cloud.

  • On Windows 7, neither my quicktime or iTunes will start. This started after I installed the newest update. All the files that are needed are there. I recently updated Quicktime to see if that would work, but it didn't.

    This started after I installed the newest update. All the files that are needed are there. I just updated Quicktime to see if that would work, but it didn't. I looked through some other discussions like this, and found out that all of my files are correct. Some people are saying that they needed to remove Filebot, but I can't find that on my computer. Help, please?

    This started after I installed the newest update. All the files that are needed are there. I just updated Quicktime to see if that would work, but it didn't. I looked through some other discussions like this, and found out that all of my files are correct. Some people are saying that they needed to remove Filebot, but I can't find that on my computer. Help, please?

  • I'm having trouble with my iCloud photos. I thought i could be a little sneaky and take a photo of my photos that were more than 30 days old, so they would be uploaded along with my new photos. that part worked, but i can't upload them to Snapfish?!

    i'm having trouble with my iCloud photos. I thought i could be a little sneaky and take a photo of my photos that were more than 30 days old, so they would be uploaded along with my new photos. that part worked, but i can't select them to upload them to Snapfish?! Any thoughts? I'm bummed. I've got a few hundred photos on my iPhone that I'd like to move seemlessly - or somehow at all.

    hopefully something in here is helpful?
    http://support.apple.com/kb/HT4486

  • Handling events in subvis - think this should work but it doesn't.

    In part of a large project I need to handle key down events, but elsewhere I need to handle them differently and want to be able to dynamically register and unregister them in each location. I also want to be able to put one of the event handlers in a subvi. To quote the Help system, "Dynamically Registering Events: With dynamic registration, you can handle events in a subVI rather than only in the VI where the events are generated."
    ViThatHandlesEvents.vi handles key down events. It uses dynamic event registration to demonstrate that it works (though in this simple example it isn't necessary).
    ViContainingSubviThatHandlesEvents registers key down events and passes this to KeyDnEventHndlrSubVI. I thought it would work but it doesn't.
    Attachments:
    KeyDnEventHndlrSubVI.vi ‏14 KB
    ViThatHandlesEvent.vi ‏22 KB
    ViContainingSubviThatHandlesEvent.vi ‏18 KB

    cebailey wrote:
    Here's a version with Panel > OwningVI > Key Down selected in the nodes that register events. It seems to do what I want. It acts on keystrokes that occur when the cursor isn't even over the parent's window, which is good in my situation. I made these choices by experimenting - is this a good approach, if I want to act on all the keystrokes that occur when the parent VI has focus?
    As you noted, this will have the event structure respond to keypresses whenever the parent VI is active. You can simplify the subVI by simply wiring the "VI Refnum" terminal directly to the Register for Events node. Getting the Panel, and then the Owning VI simply gets you back to where you started.
    That's a valid way of doing it, and I'm assuming that this is intended to be a test case. As you noted you have a large project, so I don't know what your overall architecture is, or how you intend to use this technique, so I can't really say whether it's a "good" approach. It's an approach.
    Say, I should have said this before, but you have to be pretty good to answer the question somebody should be asking, especially in brief forum postings.
    Thanks for the compliment. It's just a matter of seeing a lot of code and a lot of questions. I'm only a teenage pup compared to the real veterans on this board.

  • MP-101 paper jams my MG3100 printer. Manual says it should work but it doesn't. Can someone help?

    Subject says it all.  I got MP-101 paper for my MG3100 printer.  The manual for the printer says this paper should work fine, But the printer fails to pull it all the way through and my printer jams.  Is this a typo in the manual, or is there some way to get it to work?  I set the printer to Photo paper on the actual printer itself, and choose "Matte Photo Paper" on media type inside the printer properties.

    Apple keeps your last 3 backups by making a complete backup of your device at the time of the backup, then keeping any changed files in case you want to restore to an ealier backup.  So it does, for the most part, overwrite the current backup.  However if your backup significantly increased in size it would have to allocate more space in order to maintain the ability to go back to your earlier backups.  An option to try if you don't care about maintaining the ability to go back, is to delete the existing backup.  This would delete the entire backup history and may clear enough space to create a fresh backup.  You wouldn't know unless you tried.

  • Scan works, print says it works but doesn't

    Hi all! Everyone seems to have the opposite problem - wireless printing works but scan doesn't. Not me! I can choose "scan" from my printer OR computer interface and it starts right up. Problem is, when I go to print it goes through the "printing" screen then says "print job complete" (no hangups or errors or something in the print queue to delete - it's in the queue then it disappears as though printed), but...no business results on the printer end!
    Before you ask, yes the printer works (can print from SD card inserted directly to printer, or from old computer connected via network). Yes I have turned everything off and back on. Yes I tried downloading the HP print & scan doctor, and it says everything is fine, sees ink levels etc, but its test page behaves the same as any other print job. Yes I have deleted the whole HP shebang and re-downloaded and re-searched/connected my computer via the wireless network. And, as aforementioned, it scans. Oh, and tells me my ink levels! So clearly there is communication, just not for this. What weird sub-setting am I missing?
    And also, if you can resolve this, can you give me an idea whether it is suddenly going to start printing the 80 pages or so that I've tried to beam over, so I can stop it? : )
    Thanks muchly!
    This question was solved.
    View Solution.

    Hi @theshrew 
    Please try bypassing the spooler to see if you can print directly to the printer.
    1. Click on start and go to devices and printers.
    2. Right click on  the printer and click on printer properties.
    3. Choose the option "Print directly to the printer".
    4. Click apply and then ok.
    If this works follow the next steps and try to print again.
    Hold down the Windows Logo key () on the keyboard and the 'R' to open the run box
    Type services.msc and press Enter
    Locate Print Spooler and double click on it to open the Spooler properties 
    Make sure startup type is set to Automatic, if it is not please click on the drop down and choose Automatic
    Under Service status, please Stop the server, and then wait a moment and click Start
    If bypassing the spooler does not result in a successful print, let me know.
    Also, what printer model do you have?  How Do I Find My Model Number or Product Number?
    Are you getting any error message, or does a blank page print? The more detail I have the better
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Mdmclient in OS X is not responding to mdm commands just sends idle but doesn't perform or Acknowlegde the sent command

    Hi Everyone
    The mdmclient in OS X is not responding to mdm commands just sends idle in response to the command but doesn't perform the action or Acknowledge or Command Format Error. please help in tracing down the issue.same server config works fine in iOS .. used 1024 for access rights to support OSX
    I'm Using Self Signed Server Cert with correct Subject Alt name i.e DNS and IP Address ,Self Signed CA and Identity is generated by SCEP.
    the Device Response.. to apns notification
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"> <dict> <key>Status</key> <string>Idle</string> <key>UDID</key><string>nnjknjkjknjk</string> <key>UserID</key> <string>nnjknjkjknjk</string> <key>UserLongName</key> <string>cdffefeef</string> <key>UserShortName</key> <string>fefef</string> </dict> </plist>
    Sent Command for OSX is
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Command</key> <dict> <key>PIN</key> <string>123456</string> <key>RequestType</key> <string>DeviceLock</string> </dict> <key>CommandUUID</key> <string>some uuid</string> </dict> </plist>
    Any Help in this regards is really appreciated.. Thanks

    Hi Pranav,
    Do you have any update on this issue? I have enabled mdmclient debug messages and there is always "Server provided no commands to process" message even when the server has sent the commands.

  • Install 10.4.11 using TDM from G5 to G3.. works, but doesn't take

    I cannot use the Installer app, as I said above, will not even open - it just crashes. So, my plan was to put the G3 in TDM with my G5, and run the "combo" updater on my G5 and point it to my G3. That works perfect just as it should.
    BUT, when you then cycle the power on the G3 at the end of the install and reboot it, the "combo" update has not taken. Everything seemed to work perfect when I did the install.. but the G3 just does not take it as when I reboot, I am in the same broken 10.4.11 I had from the "incremental" update.
    I know this fix of using the "combo" updater will work, as I said did it on another system, but the question is why the G3 is not taking the update despite everything indicating it did? what gives? I would not have to do this if the Installer app worked, but it is hosed.

    I know this fix of using the "combo" updater will work, as I said did it on another system, but the question is why the G3 is not taking the update despite everything indicating it did? what gives?
    Sorry, you are jumping to the wrong conclusion... it WILL work if something is damaged in the parts of the OS that are replaced by the Combo Updater, but clearly WILL NOT if a part of the OS is damaged that was never Updated!
    Appears to be time for An Archive & Install, which gives you a new OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space...
    http://docs.info.apple.com/article.html?artnum=107120

Maybe you are looking for

  • Default buttons not defaulting

    Hello. I am on the tail end of a DVD project and just begain encountering some unusual behavior with certain menus. This is a multiple-menu, multiple-video clips promotional DVD. Up to last week, the DVD has been working as expected in the simulator,

  • Is there a way to put a resume on an ipad?

    Is there a way to make a resume on an ipad?

  • Question for Film composer ( re bar )

    Dears, sometimes when you are working on a cue for film happen that your song start (for ex.) at measure 250, because working on entire reel . My question is : ( I know other software are capable of..) Is possible to RE_BAR ? In a few words is possib

  • CF Performance / Timeout Problems

    Hi, we are developing and hosting a site for a client with around ~3 million pages and around 600k visitors per month.  We recently switched to a new server and in the process upgraded to CF10 from CF8. Many things like images, downloads and video st

  • Error installing Acrobat.pro (Invalid serial number??)

    I have a DVD set Adobe creative Suite 5 design standard which consist with 2 DVD for Design Standard and one (1) DVD for Adobe Acrobat 9 PRO (all Windows version) I was try to install all DVD's on my win8.1 machine, but I coudn't install Acrobat 9 PR