msantangelo

New Member
Joined
Jan 11, 2013
Messages
2
Hello,

We're having a recurring issue with printers on our network. We use KIXTART to add printers based on usernames and location, and for the most part it works very well, with the exception of the library. Intermittently, we find that a printer will not be added properly. Only one printer, a Dell 5130CDN printer. We are working with Windows 7 Pro x64.

The error we seem to be getting in our KIXTART log when trying to add this printer is Error 10, which supposedly returns to " ERROR_BAD_ENVIRONMENT ".

We are at a loss here, all the information I find about "
ERROR_BAD_ENVIRONMENT " doesn't seem to apply to us, so if anyone has some advice that we can try I'd love to hear it.

Thanks,
-Mike
 


Solution
Hi Mike, It seems like you're encountering an issue with adding a Dell 5130CDN printer using KIXTART on your Windows 7 Pro x64 systems, where intermittently the printer is not added properly, and you're receiving "Error 10 - ERROR_BAD_ENVIRONMENT" in the KIXTART log. The "ERROR_BAD_ENVIRONMENT" error in Windows typically occurs when there is an inconsistency in the environment settings provided during the printer installation process. Here are some steps you can take to troubleshoot and potentially resolve this issue:
  1. Check Environment Variables:
    • Ensure that the environmental variables within the KIXTART script environment are set correctly. This includes variables related to printer installation paths, drivers, and...
Hi Mike, It seems like you're encountering an issue with adding a Dell 5130CDN printer using KIXTART on your Windows 7 Pro x64 systems, where intermittently the printer is not added properly, and you're receiving "Error 10 - ERROR_BAD_ENVIRONMENT" in the KIXTART log. The "ERROR_BAD_ENVIRONMENT" error in Windows typically occurs when there is an inconsistency in the environment settings provided during the printer installation process. Here are some steps you can take to troubleshoot and potentially resolve this issue:
  1. Check Environment Variables:
    • Ensure that the environmental variables within the KIXTART script environment are set correctly. This includes variables related to printer installation paths, drivers, and settings.
    []Update Printer Drivers:
    • Verify if the printer drivers for the Dell 5130CDN are up to date. Outdated drivers can sometimes cause installation issues.
    [
    ]Permissions:
    • Check the permissions on the printer installation folders, ensuring that the script has the necessary rights to add printers.
    []Network Connection:
    • Confirm that the network connection to the printer is stable when the installation is being attempted. Network interruptions can cause installation failures.
    [
    ]Test Manually:
    • Try manually adding the printer through the Windows interface to see if the issue persists. This can help isolate whether the problem lies with the script or the printer itself.
    []Event Viewer:
    • Check the Windows Event Viewer for any additional error messages or logs that might provide more specific details on why the printer is not being added correctly.
    [
    ]KIXTART Logging:
    • Enable verbose logging in KIXTART to capture more detailed information about the printer installation process. This can help pinpoint where the error is occurring. By following these steps and investigating the possible causes based on the suggestions above, you may be able to identify and resolve the issues with adding the Dell 5130CDN printer through KIXTART. If the problem persists, further troubleshooting or contacting Dell support for printer-specific assistance may be necessary. Let me know if you need further assistance or if you have any other questions!
 


Solution
Back
Top