Jump to content




boundsw

Established Members
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

0 Neutral

About boundsw

  • Rank
    Member
  1. boundsw

    Orphaned printer queues.

    Hi I have a problem that I have been trying to resolve, and am not having much luck so far - hopefully someone has an idea. In my infrastructure I have a bunch of printer queues that are published in AD, but they are orphaned as the printer server that they were associated with died unexpectedly, and we did not have chance to remove these published queues in print manager. If a user tries to add a new network printer, via the directory, an error is thrown that the printer cannot be connected to (obviously) Now I know that the printer pruner service that runs in AD should clean these queues as the print server is no longer available. But this is not happening. I have been into the DC GPO, and enabled the pruning service (even though "not configured" is enabled) I have reduced the time and number of retries before the printers are pruned The printer server is not in ADUC I have looked through our ADUC with ADSIEdit, and the server is not listed anywhere, so I cannot remove the queues via ADSIEdit The server is not in DNS or DHCP reservations I cannot add the printer server in printer manager Other fix's MS provide include making sure that the pruner has permissions to the printer queue - but I cant do this, as the propertied don't open, as the object does not really exist. It looks like the objects are in the AD database somewhere, but I have no idea where, or how to remove them. Domain functional level : 2003 4 x AD DC's 1 x Printer server 1 x dead printer server which has caused this issue Thanks in advance if anyone has any ideas of where to go. Warren
  2. Yes the system account has access to the share. I dont understand why SCCM closes the quotes after the .exe
  3. Thanks for everyones input and ideas with this. The absolute path conclusion does appear to be an answer for the problem, but its not a resolution unfortunatly. Whats still bugging me is, if I use the command string in SCCM of : CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1"\\DFSROOT\support$\SCCMDeploy\Cisco Ironport Plugin\w7x64unattend.iss" I get an error of Program started for advertisement "00120023" ("00100040" - "Install Cisco Ironport W7 x64"). Command line: "C:\Windows\SysWOW64\CCM\Cache\00100040.29.System\CiscoEmailSecurity-7-2-0-039.exe" /s /v /qn /f1"\\DFSRoot\support$\SCCMDeploy\Cisco Ironport Plugin\w7x64unattend.iss" Working directory: C:\Windows\SysWOW64\CCM\Cache\00100040.29.System\ User context: NT AUTHORITY\SYSTEM why is the command format being changed ? Has anyone seen this behavoiur before ?
  4. move the .exe, the 2 answefiles, and the cmd to a temp folder called "warren" in the root of c:\ on the test machine "warrentest" Does not work : pushd %~dp0 setup.exe /s /f1w7x64unattend.iss popd exit /b %errorlevel% share the folder called warren on the test machine, and ref this share in the cmd : pushd %~dp0 setup.exe /s /f1"\\warrentest\warren\w7x64unattend.iss" popd exit /b %errorlevel% This works so for me, the answer to this is, keep referencing the iss file in a share (which just happens to be the SCCM server) BUT why is SCCM, changing my command line and putting the quotes in the wrong place !
  5. ok - update. Got the package to download to the machine. Open a cmd window (in admin mode) Browse to the cache on the test machine. Run "w7x64setup.cmd" w7x64setup.cmd is as below : pushd %~dp0 CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1"w7x64unattend.iss" popd exit /b %errorlevel% In the cmd window I see (at the end of the path) CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1"w7x64unattend.iss" popd exit /b -3 So i change the .cmd file so the .iss answerfile is the one on the SCCM server (not the locally copied down file) - and i get the below when i run it in an elevated cmd window. CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1"\\DFSRoot\support$\SCCMDeploy\Cisco Ironport Plugin\w7x64unattend.iss" popd exit /b -0 and its works. So i have managed to replicate the problem locally, and see the error code now. But why cant it see the local file !, in the same path whn using the "pushd %~dp0" command Im in catch22 now. SCCM puts the quotes in the wrong place for some strange reason when suing the UNC path to answerfile, and it fails with error -3 (but run locally works) Using the short answerfile location, SCCM command looks correct, but for some reason the setup does not find the answerfile, and i get error -3 (SCCM and locally run) and its the same no mater how i ref the command in a cmd file, if i use "pushd %~dp0" or not, if i use the local or UNC file paths - it always fails with error -3 what a nightmare ! on a side note, im having no luck with orca at the minute.
  6. Rocket man. Yes this version is defo x86 and x64 compatible. I dont know if its free, ill have to check. Its Cisco Any conenct VPN client for our ASA firewall. Peter33. Ok, let me download "Orca" and see what i can do. yes I did read that part about the silent install, but as I was falling before that hurdle at normal intercative install, i kinda didnt get that far !
  7. I had not seen that no - thanks for the find ! (This part is now not SCCM related) Either im having a nighmare, or something is not right. I have extracted the .exe to a folder on c:\ (on the test machine). On the info from "David Simmons" he then states that the msi can be run by using the command: msiexec.exe /i "msiname.msi" /qn But this does nothing. So if I remove the /qn, msiexec compalins as soon as its run : "This installation cannot be run directly launching the MSI package, You must run setup.exe" arrgghh ! back to the SCCM part. Why is SCCM adding the quotes in the wrong place ! - any ideas about this? Thanks so far guys - much appreciated.
  8. Ok, so im still having this problem !! I have tried with the cmd file option now aswell, using two ways to ref the answerfile. 1. pushd %~dp0 CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1"\\<DFSRoot\support$\SCCMDeploy\Cisco Ironport Plugin\w7x64unattend.iss" popd exit /b %errorlevel% 2. pushd %~dp0 CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1w7x64unattend.iss popd exit /b %errorlevel% Both error in the same way Program started for advertisement "00120023" ("00100040" - "Install Cisco Ironport W7 x64"). Command line: "C:\Windows\SysWOW64\CCM\Cache\00100040.24.System\w7x64setup.cmd" Working directory: C:\Windows\SysWOW64\CCM\Cache\00100040.24.System\ User context: NT AUTHORITY\SYSTEM and The program for advertisement "00120023" failed ("00100040" - "Install Cisco Ironport W7 x64"). A failure exit code of -3 was returned. User context: NT AUTHORITY\SYSTEM Possible cause: Systems Management Server (SMS) determines status for each program it executes. If SMS cannot find or correlate any installation status Management Information Format (MIF) files for the program, it uses the program's exit code to determine status. An exit code of -3 is considered a failure. Solution: For more information on the exit code, refer to the documentation for the program you are distributing. I have been to the test machine, browsed to "C:\Windows\SysWOW64\CCM\Cache\00100040.24.System\" and ran the secript manually, and the application installs. So i know it 100% works. Thanks for all the input so far. Any other ideas here ?
  9. ok, so the "run from local" option is still throwing an error. for some reason SCCM is putting quotes in the wrong place. If i use the command CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1w7x64unattend.iss or "CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1w7x64unattend.iss" The errors are as below: Program started for advertisement "00120023" ("00100040" - "Install Cisco Ironport W7 x64"). Command line: "C:\Windows\SysWOW64\CCM\Cache\00100040.19.System\CiscoEmailSecurity-7-2-0-039.exe" /s /v /qn /f1w7x64unattend.iss Working directory: C:\Windows\SysWOW64\CCM\Cache\00100040.19.System\ User context: NT AUTHORITY\SYSTEM and The program for advertisement "00120023" failed ("00100040" - "Install Cisco Ironport W7 x64"). A failure exit code of -3 was returned. User context: NT AUTHORITY\SYSTEM Possible cause: Systems Management Server (SMS) determines status for each program it executes. If SMS cannot find or correlate any installation status Management Information Format (MIF) files for the program, it uses the program's exit code to determine status. An exit code of -3 is considered a failure. Solution: For more information on the exit code, refer to the documentation for the program you are distributing. See how the switches are being put outside the quotes ! Im going to try the CMD batch file option next
  10. Peter33 This app does require .net of some version (cant remember off hand) and this does pop up to install if its not already installed. This could be the problem. Maybe Ive been having 2 issues at the same time. Im currently re-running the deploy to my win 7 test VM, with the "run from local" option - ill see where this takes make 1st, but it sounds like i might need a new answerfile !
  11. Rocket man - yes UAC is off Also, as above, im going to change the install to "run from local" from "run from DP" - as I just stated above. This must be ho wmy command line is getting moddified !
  12. MIGHT HAVE FOUND IT ! Checking my advert, I have "Run program from distribution point" - im going to change this !
  13. Hi all, Ok, so I have now tried to embed the command in a .cmd file as peter33 suggested. The command in the package is "w7x64setup.cmd" Error : Program started for advertisement "00120023" ("00100040" - "Install Cisco Ironport W7 x64"). Command line: "\\SERVER.DOMAIN.CORPS\PACKAGES\SMSPKG\00100040\w7x64setup.cmd" Working directory: \\SERVER.DOMAIN.CORPS\PACKAGES\SMSPKG\00100040\ User context: NT AUTHORITY\SYSTEM and The program for advertisement "00120023" failed ("00100040" - "Install Cisco Ironport W7 x64"). A failure exit code of -3 was returned. User context: NT AUTHORITY\SYSTEM Possible cause: Systems Management Server (SMS) determines status for each program it executes. If SMS cannot find or correlate any installation status Management Information Format (MIF) files for the program, it uses the program's exit code to determine status. An exit code of -3 is considered a failure. Solution: For more information on the exit code, refer to the documentation for the program you are distributing.
  14. Thanks for the info from all. As stated Im pretty new to this, I have a book and a server - im learning on the fly (and hoping I dont distroy anything), so any advice on best practice any how things work is welcome !! So I have tried refering to the answerfile locally, but this still throws an error, but I have just noticed something else - the command line appears to get modified. This is what I have in the command line "CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1w7x64unattend.iss" Error: Program started for advertisement "00120023" ("00100040" - "Install Cisco Ironport W7 x64"). Command line: "\\SERVER.DOMAIN.CORPS\PACKAGES\SMSPKG\00100040\CiscoEmailSecurity-7-2-0-039.exe" /s /v /qn /f1w7x64unattend.iss Working directory: \\SERVER.DOMAIN.CORPS\PACKAGES\SMSPKG\00100040\ User context: NT AUTHORITY\SYSTEM followed by The program for advertisement "00120023" failed ("00100040" - "Install Cisco Ironport W7 x64"). A failure exit code of -3 was returned. User context: NT AUTHORITY\SYSTEM Possible cause: Systems Management Server (SMS) determines status for each program it executes. If SMS cannot find or correlate any installation status Management Information Format (MIF) files for the program, it uses the program's exit code to determine status. An exit code of -3 is considered a failure. Solution: For more information on the exit code, refer to the documentation for the program you are distributing. There are added quotes and added UNC path to the error !! how am i doing this !
  15. Thanks for the replies !! Great - so this is an install shield error, I have been trawling the application error codes and the SCCM error codes trying to find out what this problem was, and i was looking in the wrong place the entire time ! damn it. So I thought about using quotes, but was not convinced as the XP install worked in this format without quotes - so why wouldnt this one? - but ill try this. Why do i quote the entire path ? why do I actually . Your right, the answerfile should be downlloaded to the local machine with the .exe, so i can just referance this local copy ! let me try that option too. Yes I created the answerfile on the correct machine OS's and architecture. If I place the .exe on the root of c:\ and run a cmd prompt with the installer specifying the answerfile (like this c:\CiscoEmailSecurity-7-2-0-039.exe /s /v /qn /f1\\******\support$\SCCMDeploy\Cisco Ironport Plugin\w7x64unattend.iss) it works, so i know the answerfile is ok. Ill try the above options and come back ! THANKS
×