Jump to content

Wheelgunr

Members
  • Posts

    5
  • Joined

  • Last visited

Reputation

0 Neutral

About Wheelgunr

Personal Information

  • Biography
    A+ Certified Technician, Network+ Certified Technician
  • Occupation
    Server Support Specialist
  • Location
    Massachusetts
  1. Thanks to everyone for their replies. My AD guy set up a GPO to set the permissions needed.
  2. Here at my college, I created a specific user keyed to a specific lab and it's computers. When I get a call from Adult Ed or DGCE about night classes or non-credit classes, I activate the account in AD, and give it a specific login time and expiration time, as well as an end date for when the account "expires". I don't worry about machine settings because 1) That's Help Desk's arena, and 2) We use Deep Freeze to reset everything on reboot.
  3. Hi. I need to find out how to change permissions on a registry key for a specific software package. It requires the following to have FULL Control: HKLM\SOFTWARE Administrators (%localmachine%\administrators) SYSTEM Users (%localmachine%\Users) If Reg.exe can be used, that would be great. If it needs to be a VB file, I'd need the entire script. Thanks!
  4. Thanks to all of you who responded so quickly. The original script was supplied "as is" from the software company, and was in a .BAT format. I'm not a programmer, so it was easier to stick with the batch file. The suggestion about creating andf then checking on a null type folder worked best for me. Thanks Tomscaper! I've tested it, and it works just fine. Again, thank you to all who responded.
  5. I have an issue with an antivirus software package. Our technicians used Ghost to image most of the computers, but didn't follow the procedures for the AV. I have a batch file that will remove the software and re-install it through a GPO. However, once the GPO runs once, we don't want it to continue re-installing over and over. I have the following line in the file at the end of the removal process: ECHO Installation of a new registry key.. REG ADD HKLM\SOFTWARE\SAVREINSTALLED /v DATA /t REG_Z At the beginning of the batch file, I have the following: ECHO Checking for previous installations... REM Error Levels 0=Successful, the result compared is different REM 1=Failed REM 2=Successful, the result compared is different REG COMPARE HKLM\SOFTWARE HKLM\SOFTWARE\SAVREINSTALLED if %errorlevel% equ 1( Echo SAV already installed, aborting the script pause Echo. ) ELSE Exit When I run the batch file, it just stops and closes. When I run the REG commands seperately, I get the results I'm looking for (Generating the key, checking it, etc). Now, I need to tie it all together. I'm not really good at programming, so I'm sure the problem is in how I'm checking the compare function. Can anyone please help me out here? My only other option isd to individually visit every computer here on campus (over 500)!!! Thanks!
×
×
  • Create New...