Jump to content

tosh74

Members
  • Posts

    178
  • Joined

  • Last visited

Everything posted by tosh74

  1. you want rmtshare (google for rmtshare download) to create the shares and cusrmgr to bulk change the home folder path for the accounts HTH
  2. Hi all Tosh here. Howzit gaun ?
  3. See attached pic. The example I give is for removing Java (Have a look at the DisplayName Value from the right hand side). To find McAfee right click on the Uninstall Key and select Find and enter McAfee. It should open the correct area. Form there you want the unistall string. Double click on the uninstall string and copy the string from the 'Value Data' line. MsiExec.exe /I{3248F0A8-6813-11D6-A77B-00B0D0160030} You now have the automatic uninstall string. Now paste this string to notepad. You may have to enter the full path to msiexec - c:\windows\system32\MsiExec.exe /I{3248F0A8-6813-11D6-A77B-00B0D0160030} /quiet /norestart (note I have added 2 switches to the end of the string) Now save this file as a batch file (call if removeMcafee.bat) to a network drive. Now go to a machine that has Active Directory for Users and Computers. Open the Group Policy object for all your machines. Navigate to Computer Configuration\Windows Settings\Scripts (Startup/Shutdown) Click on startup from the right hand pane and press Show Files (copy your batch file to the new window). Close the window and select Add then browse select your batch file. Click o OK till you're back to looking at your AD structure and exit the AD for User and Comps. Feel free to PM if you would like more help
  4. Have look at a machine's registry that has the app on it. Run regedit and connect network registry. Navigate to HKLM\Software\Microsoft\Windows\Current Version\Uninstall\ Go through the keys till you find the app that you want to remove. Look for the uninstall value and copy the value data . Paste this string to a machine startup script (or create a new one). The app should be removed on the next reboot. If the app has already been removed then it will be ignored
  5. tosh74

    Quake 3

    Do you have URL to read up on blocking software based on it's hash ?
  6. MST from Serif that will allow you to deploy Draw X2 via AD. Hope I'm not too late NoFlash.zip
  7. thanks Chris, been banging my head off a brick wall all afternoon on this one (regmon was no help). If i logged on as a user outwith the OU but used the same profile I could see the desktop selected but it would not activate unitl I pressed ok. Turned out it was the Active Deskrop problem you described. Nice one !
  8. I create a sub OU (not internet access) with a new GPO and enter false proxy server settings. then under User Config/Admin Template/System/Don't Run Specified Windows Applications (add iexplore.exe, firefox.exe and firefoxportable.exe) to the list. Also make sure that the user cannot logon if their profile fails to load (ie student may remove network cable during logon so that GP settngs are not applied) Comp Settings/Admin Templates/System/User Profiles/ Log User off when roaming profile fails
  9. You need to run extrude as an admin first (only have to do this once) then all users can extrude
  10. This may not be sufficient. If the user does not have enough access to the machine to install drivers, the printer will not work. You can get round this by running the printer script at machine start-up though and pre loading the drivers. If in doubt, I suggest you run the printer script both at computer start-up and user login. Unless you're overly concerned about machine start-up times of course. I could be wrong here but I do not think that logon/startup scripts are run with the users credentials - I think they are run by the System account
  11. Printer scripts do not run as a Computer startup script. You need to assign the script to the USER startup script ie USER CONFIGURATION\WINDOWS SETTINGS\SCRIPTS (LOGON/LOGOFF)\LOGON You could edit your script so that it looks at the machine name and decide what printer map. Here's mine ' automated printer redirection setup for users as script fails for machine startup ' if the printer is OFF then the script will fail ' what if the printer is not in the list of installed printers?? Option Explicit DIM RegEntry, ComputerName RegEntry="HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName\ComputerName" ComputerName = ReadRegValue(RegEntry) 'if InStr(1,ucase(ComputerName),"Part or whole machine name",vbTextCompare) > 0 then call SetPrinter("\\Server\Printershare") if InStr(1,ucase(ComputerName),"Admin",vbTextCompare) > 0 then call setPrinter("\\Server\AdminPrinter") ' keep adding lines for each location – modify just the sections in quotes as needed wscript.quit ' *** This subroutine installs and sets the default printer Sub SetPrinter(ByVal PrinterPath) On Error Resume Next DIM WshNetwork Set WshNetwork = CreateObject("WScript.Network") WshNetwork.AddWindowsPrinterConnection(PrinterPath) WshNetwork.SetDefaultPrinter Printerpath end sub ' **** This function returns the data in the registry value Function ReadRegValue(ByVal RegValue) DIM WSHShell Set WSHShell = WScript.CreateObject("WScript.Shell") ReadRegValue="" On Error Resume Next ReadRegValue= WSHShell.RegRead(RegValue) End Function
×
×
  • Create New...