Jump to content

Recommended Posts

Posted

this is my very first program, it unblocks some restrictions that are set by the system administrtor at a lot of companies and schools.

; Start menu & Taskbar
RegWrite ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" ,"NoSetFolders", "REG_DWORD", 0 );control panel and network enable
RegWrite ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" ,"NoSetTaskbar", "REG_DWORD", 0 );Taskbar Options enable

; Internet explorer
;Tabs
    RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"Accessibility", "REG_DWORD", 0 )
    RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"GeneralTab", "REG_DWORD", 0 )
    RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"SecurityTab", "REG_DWORD", 0 )
    RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"ContentTab", "REG_DWORD", 0 )
    RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"ConnectionsTab", "REG_DWORD", 0 )
    RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"ProgramsTab", "REG_DWORD", 0 )
    RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"PrivacyTab", "REG_DWORD", 0 )
    RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"AdvancedTab", "REG_DWORD", 0 )
;Other Options
    RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions" ,"NoBrowserOptions", "REG_DWORD", 0 );IE optios enable
    RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions" ,"NoFileOpen", "REG_DWORD", 0 );Open file enable
    RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions" ,"NoSelectDownloadDir", "REG_DWORD", 0 );ability to change download directory enable
    RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions" ,"NoBrowserSaveWebComplete", "REG_DWORD", 0 );Save As enable

;Windows settings
RegWrite ( "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer" ,"DisableMSI", "REG_DWORD", 0 );installer enable
RegWrite ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" ,"NoFind", "REG_DWORD", 0 );Searce enable

MsgBox ( "", "Complete!", "The changes have been made!" , 5 )
Posted

I haven't tried your code, but the first thing I notice is that you send a message telling the user that the changes were made successfully, but nowhere in your code do you actually confirm that the changes were made - you don't check the returns for the RegWrite() and you don't do a RegRead() to verify the new info.

Posted (edited)

Something more.

By my trial and error, a limited user( users group) cannot write to the "HKEY_LOCAL_MACHINE" keys at all. :think:

just a heads up...

Edited by Hello12345
Posted

But you do

;Windows settings
RegWrite ( "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer" ,"DisableMSI", "REG_DWORD", 0 );installer enable

I allso think you rlittle utillity should clean up and restore the settings when your done with the computer. Take a look at RunFromJumpDrive for ideas.

Posted (edited)

ok thanks... here is a new version btw:

$succeed = 0
; Start menu & Taskbar
$var =RegWrite ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" ,"NoSetFolders", "REG_DWORD", 0 );control panel and network enable
$succeed = $var + $succeed
$var =RegWrite ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" ,"NoSetTaskbar", "REG_DWORD", 0 );Taskbar Options enable
$succeed = $var + $succeed
; Internet explorer
;Tabs
    $var =RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"Accessibility", "REG_DWORD", 0)
    $succeed = $var + $succeed
    $var =RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"GeneralTab", "REG_DWORD", 0 )
    $succeed = $var + $succeed
    $var =RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"SecurityTab", "REG_DWORD", 0 )
    $succeed = $var + $succeed
    $var =RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"ContentTab", "REG_DWORD", 0 )
    $succeed = $var + $succeed  
    $var =RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"ConnectionsTab", "REG_DWORD", 0 )
    $succeed = $var + $succeed
    $var =RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"ProgramsTab", "REG_DWORD", 0 )
    $succeed = $var + $succeed
    $var =RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"PrivacyTab", "REG_DWORD", 0 )
    $succeed = $var + $succeed
    $var =RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" ,"AdvancedTab", "REG_DWORD", 0 )
    $succeed = $var + $succeed
;Other Options
$var =RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions" ,"NoBrowserOptions", "REG_DWORD", 0 );IE optios enable
$succeed = $var + $succeed
$var =RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions" ,"NoFileOpen", "REG_DWORD", 0 );Open file enable
$succeed = $var + $succeed
$var =RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions" ,"NoSelectDownloadDir", "REG_DWORD", 0 );ability to change download directory enable
$succeed = $var + $succeed
$var =RegWrite ( "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions" ,"NoBrowserSaveWebComplete", "REG_DWORD", 0 );Save As enable
$succeed = $var + $succeed
;Windows settings
$var =RegWrite ( "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer" ,"DisableMSI", "REG_DWORD", 0 );installer enable
$succeed = $var + $succeed
$var =RegWrite ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" ,"NoFind", "REG_DWORD", 0 );Searce enable
$succeed = $var + $succeed


MsgBox ( "", "Complete!", $succeed & " out of the 16 changes are succesfully completed!" , 5 )
Edited by frontmill
Posted (edited)

i could do that... but there is no use in it for... the settings get automatically restored on reboot...

How do you know that? I mean it does on your computer but will it on mine? Edited by Uten
Posted

if my school.. catches you doing any modifications, looking at porn, or adding games or virus they will ban you from computer .. i don't think they log reg changes, like they log for pornography.. but if they were reset.. no one would no. :think:

Posted

pretty nice deal you got going here to bad when i install something the days go up and not down so basicaly i have unlimited day trial :think: i have a few macromedia stuff thats like at 70 somethin days instead of 30

Posted

WARNING: THREAD HIJACK BELOW

I would if I knew how, but my bro made the perfect windows, made an ISO out of it with Ghost and so he can install in on all the comps and not have to really do anything so idk sry :-/

thatsgreat2345: In your signature, $* = "u" However, you write, "Don't worry no one dies a virgin because life f$ucks us all." Shouldn't it be "Don't worry no one dies a virgin because life f" & $* & "cks us all."?

END HIJACK

Posted

WARNING: THREAD HIJACK BELOW

thatsgreat2345: In your signature, $* = "u" However, you write, "Don't worry no one dies a virgin because life f$ucks us all." Shouldn't it be "Don't worry no one dies a virgin because life f" & $* & "cks us all."?

END HIJACK

lol, I was just thinking that same thing?
Check out ConsultingJoe.com
Posted

WARNING: THREAD HIJACK BELOW

thatsgreat2345: In your signature, $* = "u" However, you write, "Don't worry no one dies a virgin because life f$ucks us all." Shouldn't it be "Don't worry no one dies a virgin because life f" & $* & "cks us all."?

END HIJACK

Wouldn't it be:

"Don't worry no one dies a virgin beca" & $* & "se life f" & $* & "cks " & $* & "s all."

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...