Jump to content

shorty610

Member
  • Posts

    10
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About shorty610

shorty610's Achievements

0

Reputation

  1. As I've thought more about it, even though my batch works and could be tweaked, I'm still a little concerned about the time it might take to run through each profile. Running on login might be ideal after all...
  2. Was experimenting a bit and came up with this batch: Now it's rough, and checks through every single profile on the computer, so it could be a bit slow. I'll keep looking to see how else I might be able to tweak/improve it, such as searching for only applicable profiles.
  3. Thanks, but when I ran the script, it gave me a blank error (Windows Script Host) with no message, just an OK button, followed by another WSH error: "ASP.NET Machine Account", then a runtime error refering to line 22, character 9: Error:Path not found; Code:800A004C. However, it did remove the folder in question, but only from the profile currently logged in. I was hoping to remove the folder from all the profiles that have it. I'm not at all familiar with scripts like vbs, and a little familiar with batch files, so I appreciate all the help I can get.
  4. If there is already a topic on this, please let me know. I'm trying to write a batch file that will remove a folder from all local profiles on the PC that have it, not just the %ALLUSERS% profile. We have a program that needed to be installed for each user profile that needed it, so it puts a folder under only their local Start menu > Programs. When the program is uninstalled, it doesn't remove the folder from the Start menu, though it does remove the installed files from the local C: drive, killing the shortcut (which is in its own folder) that is left behind on every profile. I have tried using %USERPROFILE% variable for this, but it only removes it for the currently logged-in user, not all profiles that have it. I tried using "C:\Documents and Settings\*\Start Menu\Programs\..." but that didn't work either. And using a login script isn't really an option since I want to just run it once and have them all removed. I did this with a .lnk (shortcut) by using ' DEL "C:\Documents and Settings\shortcut.lnk" /S ' to search that folder and all subfolders, but the same did not work with 'rd' or 'rmdir' and the folder name. Any ideas? Thanks!
  5. Okay, so I got the 2nd problem (My Documents opens automatically on login) resolved. See http://support.microsoft.com/kb/899865 if interested. Still the NIC does not install as it is supposed to, but it's a pretty quick fix. Any ideas would still be appreciated.
  6. A couple of sysprep problems I'm hoping any of you can help with. 1. NIC driver (Intel Pro1000) is the only driver that fails to load. Even if I load the driver files into an oempnpdrivers path in the unattended section of my sysprep.inf, it still doesn't install. 2. More of a nuissance: After installation is done, whenever I log into the PC, the My Documents folder opens up automatically. Happens with any Windows profile, and it opens every time I log in. It's not in the startup folder (checked Start > Programs > Startup, as well as the registry/msconfig startup options), and I verified nothing was open when I created the sysprep image. Any help with these would be greatly appreciated! Thanks! ~Shorty
  7. From what I can tell, the default settings for User accounts will be sufficient after all. Even though the File and Print sharing is "turned on," sharing still isn't allowed. That's good enough for me!
  8. My apologies for not clarifying this earlier, but I'm not actually looking to adjust the permissions to the File & Print sharing. I am wondering if it is possible to disable the functionality altogether (ie uncheck or uninstall "File and Printer sharing for Microsoft Networks") for User accounts, but have it enabled (turned on or installed) for Administrator accounts. Thanks.
  9. This is something I would like automated (whether winnt.sif, post-installation batch file, registry entry...), part of an unattended installation initiated by a KBOX System Windows XP deployment. Each time a user logs in to the network, a local profile will be created, and ideally the File & Print sharing is disabled. But the local admin profiles should have it enabled. The image will be getting deployed to hundreds of PCs... the more automation the better!
  10. Does anyone know if it is possible to set File & Print sharing to be available for local Windows XP Pro Administrator accounts only? I want it disabled for User accounts. A batch file would be preferred, but if there are registry entries that could do this, that could possibly work as well. All help is appreciated! Thanks!
×
×
  • Create New...