Announcement

Collapse
No announcement yet.

Block XP inbuilt games using GPO

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Block XP inbuilt games using GPO

    Hi All,

    How do I block games in client machines using GPO, while I have already block the path rule in software rectricted ploicy , but its not working.

    Thanks
    Sunil

  • #2
    Re: Block XP inbuilt games using GPO

    It should have been enough.
    Have you checked that the GPO does apply to the computers?

    Sorin Solomon


    In order to succeed, your desire for success should be greater than your fear of failure.
    -

    Comment


    • #3
      Re: Block XP inbuilt games using GPO

      i like deleting the games with a batch file. it guarantees that the games will never run again...

      the games suck anyways. i mean, wtf is minesweeper?
      its easier to beg forgiveness than ask permission.
      Give karma where karma is due...

      Comment


      • #4
        Re: Block XP inbuilt games using GPO

        Originally posted by James Haynes View Post
        i like deleting the games
        Of course you can customize your installation set with nLite so it won't contain the games from the first place.
        But nowadays, when there are so many web sites containing hundreds of Flash games, that don't need no installation, I think that this issue is from the very beginning a lost cause.
        Last edited by sorinso; 28th November 2007, 08:47.

        Sorin Solomon


        In order to succeed, your desire for success should be greater than your fear of failure.
        -

        Comment


        • #5
          Re: Block XP inbuilt games using GPO

          OK ,
          I think deleting of games is good idea , we can create batch file for this.

          Thanks everyone for reply.

          closing the Question.

          Thanks
          Sunil

          Comment


          • #6
            Re: Block XP inbuilt games using GPO

            I removed them on our client machines using this script.

            Whilst the script worked on my machines it MAY not work on yours.

            Code:
            Option Explicit
            
            Dim strComputer, f : strComputer = "."
            Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")
            Dim WshShell : Set WshShell = WScript.CreateObject("WScript.Shell")
            Dim sPrograms : sPrograms = WshShell.SpecialFolders("AllUsersPrograms")
            
            Set f = Fso.CreateTextFile("c:\windows\inf\wmdtocm.txt", True)
            f.WriteLine("[Components]" & VbCrLf & "freecell=off" & VbCrLf & "hearts=off" & VbCrLf & "minesweeper=off")
            f.WriteLine("msnexplr=off" & VbCrLf & "pinball=off" & VbCrLf & "solitaire=off" & VbCrLf & "spider=off" & VbCrLf & "zonegames=off")
            f.Close
            WshShell.Run "sysocmgr.exe /i:c:\windows\inf\sysoc.inf /u:""c:\windows\inf\wmdtocm.txt"" /q"
            If  Fso.FolderExists(sPrograms & "\Games") Then
            	Fso.DeleteFolder(sPrograms & "\Games"), True
            End If

            Comment


            • #7
              Re: Block XP inbuilt games using GPO

              Nice script i may have to borrow it. However to answer the initial poster of this topic . i am assuming you found out the actual names of the games such as heart etc etc and wrote a GPO to not allow to run / execute them?
              This is the way I ahve it in my enviroment and works like a champ. However if a user is crafty enoug he/she can rename that file name and the game would work.
              thus the delete script that is posted may really be helpful..
              tes test test

              Comment


              • #8
                Re: Block XP inbuilt games using GPO

                Originally posted by PLANZ View Post
                he/she can rename that file name and the game would work.
                Thats a problem that is easy to solve: I suggest you use a hash rule, and not a path rule.
                I suggest you take a look at this article: How To Use Software Restriction Policies in Windows Server 2003 to see the differences and how to implement it.

                Sorin Solomon


                In order to succeed, your desire for success should be greater than your fear of failure.
                -

                Comment

                Working...
                X