+ Post New Thread
Results 1 to 11 of 11
Windows 7 Thread, Registry editing has been disabled by your administrator! in Technical; Windows 7 Testing continues... I have a line of code in my XP login.bat that is: REM Allow Picturetoexe software ...
  1. #1
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,335
    Thank Post
    85
    Thanked 47 Times in 33 Posts
    Rep Power
    31

    Registry editing has been disabled by your administrator!

    Windows 7 Testing continues...

    I have a line of code in my XP login.bat that is:

    REM Allow Picturetoexe software to run
    regedit.exe /s "\\fp2\netlogon\Batch\pte.reg"

    works fine.

    When I add this line to the Win7 login.bat it returns the error:
    "Registry editing has been disabled by your administrator!"

    Which is good ! as I do not want the students to be able to run regedit...but how do I allow the login script to run the command?

    I guess I have locked down my win7 test machine more thoroughly than my XP one...

    Any ideas?

  2. #2
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    55
    Can you put this registry entry into Group Policy Preferences instead or run it as a startup script?

  3. #3
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,335
    Thank Post
    85
    Thanked 47 Times in 33 Posts
    Rep Power
    31
    OK.

    Created a new GPO called 7-startupscript

    Navigated to : User Configuration, Policies, Windows Settings, Scripts and Logon

    created a batch file called "7-startup.bat" which contained the code:
    @ECHO OFF
    REM Allow Picturetoexe software to run
    regedit.exe /s "\\fp2\netlogon\Batch\pte.reg"

    and applied this GPO to the users container...

    at logon again the message is:

    "Registry editing has been disabled by your administrator!"


  4. #4
    jsnetman's Avatar
    Join Date
    Oct 2007
    Posts
    887
    Thank Post
    23
    Thanked 134 Times in 126 Posts
    Rep Power
    40
    Try the same batch file in a computer startup script, not the user startup.

  5. #5

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    3,002
    Thank Post
    156
    Thanked 628 Times in 561 Posts
    Rep Power
    164
    Yeah, this wouldn't work on mine either, the security settings mean that it's trying to open regedit as the logged in user - blocked. You'll need to do this as a Computer Configuration setting, if possible.

  6. #6


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,613
    Thank Post
    250
    Thanked 2,900 Times in 2,133 Posts
    Rep Power
    828
    I think you need to use Reg.exe in your batch file instead of RegEdit.exe...

    Code:
    REG IMPORT "\\fp2\netlogon\Batch\pte.reg"

  7. #7
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,335
    Thank Post
    85
    Thanked 47 Times in 33 Posts
    Rep Power
    31
    Quote Originally Posted by jsnetman View Post
    Try the same batch file in a computer startup script, not the user startup.
    That did nt work I'm afraid.

  8. #8
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,335
    Thank Post
    85
    Thanked 47 Times in 33 Posts
    Rep Power
    31
    Quote Originally Posted by 3s-gtech View Post
    Yeah, this wouldn't work on mine either, the security settings mean that it's trying to open regedit as the logged in user - blocked. You'll need to do this as a Computer Configuration setting, if possible.
    But the registry key I am trying to edit is:
    [HKEY_CURRENT_USER\Software\PTE]
    &
    [HKEY_CURRENT_USER\Software\WnSoft\VideoBuilder]

    Can these be set at startup before someone logs on?

    Still a bit stuck on this one

  9. #9
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,335
    Thank Post
    85
    Thanked 47 Times in 33 Posts
    Rep Power
    31
    Quote Originally Posted by Arthur View Post
    I think you need to use Reg.exe in your batch file instead of RegEdit.exe...

    Code:
    REG IMPORT "\\fp2\netlogon\Batch\pte.reg"
    Thanks - will give this a try after lunch - cheers

  10. #10
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,335
    Thank Post
    85
    Thanked 47 Times in 33 Posts
    Rep Power
    31
    Sadly this did not work either as a user script or a machine startup script.



    Stuck - I have quite a few legacy programs that require registry tweaks.

    How easy is it to write my own GPO to pass the HKEY_CURRENT_USER\Software\PTE value out to the win7 pc's?

  11. #11
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,335
    Thank Post
    85
    Thanked 47 Times in 33 Posts
    Rep Power
    31
    thought I would try a new approach:

    Seems simple enough



    Sorted - happy man....
    Attached Images Attached Images
    Last edited by kennysarmy; 23rd February 2011 at 04:53 PM.



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 0
    Last Post: 13th January 2011, 01:18 PM
  2. Registry Editing
    By Neville in forum Windows
    Replies: 5
    Last Post: 7th May 2008, 03:46 PM
  3. User account disabled - who did it?
    By kennysarmy in forum Windows
    Replies: 10
    Last Post: 3rd March 2008, 06:25 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •