Page 1 of 3 123 LastLast
Results 1 to 12 of 25

Thread: ~|~ Registry Enable |~|

  1. #1
    Fahad-G's Avatar
    Fahad-G is offline Senior Member
    Last Online
    26th April 2022 @ 05:23 PM
    Join Date
    04 Dec 2007
    Location
    City Of Lights & Darkness
    Posts
    1,540
    Threads
    265
    Thanked
    11

    Exclamation ~|~ Registry Enable |~|

    Code:
    'Enable/Disable Registry Editing tools
    '© Doug Knox - rev 12/06/99
    Option Explicit
    'Declare variables
    Dim WSHShell, n, MyBox, p, t, mustboot, errnum, vers
    Dim enab, disab, jobfunc, itemtype
    Set WSHShell = WScript.CreateObject("WScript.Shell")
    p = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\"
    p = p & "DisableRegistryTools"
    itemtype = "REG_DWORD"
    mustboot = "Log off and back on, or restart your pc to" & vbCR & "effect the changes"
    enab = "ENABLED"
    disab = "DISABLED"
    jobfunc = "Registry Editing Tools are now "
    'This section tries to read the registry key value. If not present an
    'error is generated.  Normal error return should be 0 if value is
    'present
    t = "Confirmation"
    Err.Clear
    On Error Resume Next
    n = WSHShell.RegRead (p)
    On Error Goto 0
    errnum = Err.Number
    if errnum <> 0 then
    'Create the registry key value for DisableRegistryTools with value 0
    WSHShell.RegWrite p, 0, itemtype
    End If
    'If the key is present, or was created, it is toggled
    'Confirmations can be disabled by commenting out
    'the two MyBox lines below
    If n = 0 Then
    n = 1
    WSHShell.RegWrite p, n, itemtype
    Mybox = MsgBox(jobfunc & disab & vbCR & mustboot, 4096, t)
    ElseIf n = 1 then
    n = 0
    WSHShell.RegWrite p, n, itemtype
    Mybox = MsgBox(jobfunc & enab & vbCR & mustboot, 4096, t)
    End If
    Attached Images Attached Images  

  2. #2
    zishi_a's Avatar
    zishi_a is offline Senior Member+
    Last Online
    8th November 2016 @ 04:29 PM
    Join Date
    25 Jun 2008
    Age
    34
    Gender
    Male
    Posts
    675
    Threads
    13
    Credits
    32
    Thanked
    17

    Default

    Good sulution.....

  3. #3
    GR8^4^U is offline Member
    Last Online
    14th September 2009 @ 02:36 PM
    Join Date
    02 Aug 2008
    Location
    TALAGANG
    Age
    35
    Posts
    196
    Threads
    35
    Thanked
    0

    Default

    best

  4. #4
    Fahad-G's Avatar
    Fahad-G is offline Senior Member
    Last Online
    26th April 2022 @ 05:23 PM
    Join Date
    04 Dec 2007
    Location
    City Of Lights & Darkness
    Posts
    1,540
    Threads
    265
    Credits
    -10
    Thanked
    11

    Default

    ThanX

  5. #5
    Regedit is offline Senior Member+
    Last Online
    23rd August 2009 @ 01:06 AM
    Join Date
    13 Jul 2008
    Posts
    74
    Threads
    0
    Credits
    0
    Thanked
    0

    Default

    Xcelent Sulotion

  6. #6
    mani_jamo is offline Senior Member+
    Last Online
    13th June 2010 @ 10:52 AM
    Join Date
    15 Dec 2007
    Posts
    225
    Threads
    4
    Credits
    0
    Thanked
    0

    Default

    M.Fahad Bhai lakin aap ne to Farhan Shahzad ko copy kiya hai
    Nice Sharing

  7. #7
    Fahad-G's Avatar
    Fahad-G is offline Senior Member
    Last Online
    26th April 2022 @ 05:23 PM
    Join Date
    04 Dec 2007
    Location
    City Of Lights & Darkness
    Posts
    1,540
    Threads
    265
    Credits
    -10
    Thanked
    11

    Exclamation Who Is Farhan Sehzad???

    Quote mani_jamo said: View Post
    M.Fahad Bhai lakin aap ne to Farhan Shahzad ko copy kiya hai
    Nice Sharing
    Who Is Farhan Sehzad???

  8. #8
    shahzad khan08 is offline Junior Member
    Last Online
    14th September 2008 @ 12:20 PM
    Join Date
    12 Sep 2008
    Posts
    7
    Threads
    0
    Credits
    0
    Thanked
    0

    Default

    IT Dunya say naata jod kar maloom huwa kay hamaray mulk main
    zaheen afraad ki kami naheen hay. Bus hosla afzaai ki ashad zaroorat hay.
    Mujhay to bohat afsoos ho raha hay kay main nay phelay IT dunya ko join
    kiuoon naheen kia.

    Allah Hafiz

    Aap sab ka duwa go bhai

    Shahzad Khan

  9. #9
    Shahroz Awan is offline Member
    Last Online
    27th October 2009 @ 09:44 AM
    Join Date
    06 Jul 2008
    Location
    Karachi
    Age
    29
    Posts
    3,354
    Threads
    93
    Thanked
    5

    Default

    Nice Tip Hai Brother

  10. #10
    Fahad-G's Avatar
    Fahad-G is offline Senior Member
    Last Online
    26th April 2022 @ 05:23 PM
    Join Date
    04 Dec 2007
    Location
    City Of Lights & Darkness
    Posts
    1,540
    Threads
    265
    Credits
    -10
    Thanked
    11

    Default

    ThanX

  11. #11
    mani_jamo is offline Senior Member+
    Last Online
    13th June 2010 @ 10:52 AM
    Join Date
    15 Dec 2007
    Posts
    225
    Threads
    4
    Credits
    0
    Thanked
    0

    Default

    Quote mani_jamo said: View Post
    M.Fahad Bhai lakin aap ne to Farhan Shahzad ko copy kiya hai
    Nice Sharing
    Farhan Shahzad Member of other forum
    Registry Tweaker

  12. #12
    mani_jamo is offline Senior Member+
    Last Online
    13th June 2010 @ 10:52 AM
    Join Date
    15 Dec 2007
    Posts
    225
    Threads
    4
    Credits
    0
    Thanked
    0

    Default

    Thank you Fahad
    Nice Sharing Bro keep it up

Page 1 of 3 123 LastLast

Similar Threads

  1. Solved Enable Registry Editor ?? Plz Help
    By Manjan in forum Solved Problems (IT)
    Replies: 18
    Last Post: 23rd December 2010, 12:03 AM
  2. How to Enable Registry
    By Ays Impex in forum General Discussion
    Replies: 1
    Last Post: 28th July 2010, 07:04 PM
  3. enable or disable the registry editor
    By khan_s in forum English IT Zone
    Replies: 6
    Last Post: 9th June 2010, 07:42 AM
  4. Enable/Disable Registry Editing tools
    By M-Qasim in forum English IT Zone
    Replies: 19
    Last Post: 26th July 2009, 08:37 PM
  5. how can enable Taskmanager & Registry editer???
    By alirana in forum Ask an Expert
    Replies: 4
    Last Post: 31st March 2009, 12:15 PM

Bookmarks

Posting Permissions

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