Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - bob.omb

Pages: [1]
Tried to update earlier when server was down for a few minutes (502 error) and exact and secure failed because the connection was down.  Now I am getting the attached error, tried manually navigating to file and it doesn't exist.  Is something wrong with my builder or the server?

Code: [Select]
WebGet -  [] to directory: [%BaseDir%\Projects\Tools\Win10PESE\x86\AU3381.exe] HTTP/1.1 404 Not Found

* log_20171015_194500_blupdate.7z (18.97 kB - downloaded 0 times.)

Luckily I have a backup and this issue was worked around, but it is localized to my builder that couldn't connect to the server. Is that easy fix or should I just delete that builder?

For those who wish to have Administrator account auto-login (without the command window), replace your SwitchToAdmin.ini with the attached file.

It is a combination of exact(current as of 1709 -10/15/17),  SwitchToAdmin.ini, and SwitchToAdminPrepare.ini, and it bypasses SwitchToAdmin.cmd

Shortcut, Text-on-Top, and username,options will still function as usual, but countdown options will no longer work because it will automitaclly log in!  :wink:  I would love for this to be an option (checkbox) for LogonAsAdmin plugin but until then we can use this.  :great:

Shown in codebox and attached as 7z:
Code: [Select]
//   Switch to Administrator Auto  //

LOGS %WinDir%\System32\SwitchToAdmin.log

CALL PreShell
CALL workgroup
CALL RenameAdmin
CALL Registry
CALL Services
// KillExplorer only for Shortcuts, explorer is not loaded with Auto-Logon
//CALL KillExplorer
CALL OpenSystemMenucmd
CALL Disconnect


LOGO %WinDir%\web\wallpaper\Windows\img0.jpg
TEXT System configuration, Please Wait...#0xFFFFFF L59 T39 $20*
// TIPS  System configuration, Please Wait..,,1,#1

_SUB PreShell

// Mount media USB, ISO to drive Y: Hide Wait
EXEC !=%WinDir%\system32\MountPEmedia.exe

// Fix display screen problems and Show Desktop. Run it once before changing the screen resolution or load a graphic driver.
EXEC %SystemRoot%\system32\FixScreen.exe

//DEVI %WinDir%\inf\xxxxx.inf

// Install external drivers, load external program
LOAD Y:\PecmdExt.ini
INIT IU,3000

_SUB workgroup

// Join a workgroup WORKGROUP, use startnet.exe from PENetwork, to get some network support.
// We must first join the working group, otherwise Administrator can not log in
TIPS  Switch to administrator, set up workgroup......,,1,#1
EXEC != startnet.exe -wg WORKGROUP

_SUB RenameAdmin

// EXEC  = Wait, @background, ! Hide. ex: EXEC =WaitNoHide.cmd, EXEC @!=WaitHide.cmd, EXEC NoWaitNoHide.cmd, EXEC @!NoWaitHide.cmd
// Rename localized Administrator account to Admin
EXEC != secedit.exe /configure /db %WinDir%\security\database\unattend.sdb /cfg %WinDir%\security\templates\unattend.inf /log %WinDir%\security\logs\unattend.log

_SUB Registry

// Disable sihost.exe to speed up the logon. Already done at build time
//REGI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\EnableSIHostIntegration=#0

// Administrator user logs automatically
TIPS  Switch to an administrator, set up automatic login......,,1,#1
REGI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon=#1
REGI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultUserName=Administrator
REGI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword=""
REGI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultDomainName=WORKGROUP

// GUEST do not need to use the login screen
REGI HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList\Guest=#0

// Launch Pecmd SwitchToAdminLogon.ini after logon as As Admin
REGI HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\Init=PECMD.EXE Main %WinDir%\System32\SwitchToAdminLogon.ini

_SUB Services

TIPS  Start the service to switch to administrator, ......,,1,#1
EXEC !=sc start gpsvc
EXEC !=sc start ProfSvc
EXEC !=sc start seclogon
EXEC !=sc start ShellHWDetection

_SUB KillExplorer

//TIPS  Switch to Administrator, disconnect current user......,,1,#1

// Existing current users and automatically switch to Administrator with log enabled, it will automatically execute Pecmd admin.ini
// Kill explorer is not necessary for Auto-Logon but required for Switch to Admin shortcuts
KILL Explorer
KILL *Explorer

_SUB OpenSystemMenucmd

// Auto-Login
EXEC !=PECMD.EXE Main %WinDir%\System32\SwitchToAdminLogon.ini

_SUB Disconnect

EXEC !%WinDir%\System32\tsdiscon.exe


I see that this is explained in the comment section of the Direct X Plugin but the syntax of the current fix doesn't appear to be working.  Error still persists with 1709 source.  It can be ignored but maybe IfExist instead? I should've put this in the 1709 build thread, rather than a new thread, but cannot delete.

Line 343 in DirectX 11 plugin:
Code: [Select]

Code: [Select]

Win10PE SE HomePage / Common Components - Build Warnings in 1607 + 1703
« on: October 08, 2017, 07:11:14 PM »

In the common components plugin, the two files in the above pic (icrav03.rat -and- ticrf.rat) have been giving file doesn't exist errors for me consistently with 1607 and 1703 source.  I have been changing the hardcode to IF EXIST syntax for those files.

Anyone else notice this? Am I missing something?

Found this (Reply #3-ChrisR):

Says it was already updated?

Plugins / ShowKey Plus - Updated Plugin
« on: October 05, 2017, 06:03:42 PM »
**Updated Plugin Version

ShowKey Plus is an awesome application.  Author tests this on Win10PESE so felt appropriate for this section.  I will most likely start posting more new plugins in the plugin section from here on out instead of here unless otherwise instructed..


Plugins / Advanced IP Scanner - Plugin
« on: October 04, 2017, 04:14:23 PM »
Advanced IP Scanner


     Outside of PE this software already runs in a "portable mode".  In this mode it extracts itself into a temp folder,  the contents of that temp folder and 2 dependencies were needed to create this plugin.  Great network scanning tool with the ability to directly click item on list to browse to its web interface (i.e. routers, printers, gateways, shared folders, etc)

ClamWin is a perfect utility for Win10PESE - it is free and can be made portable easily. --> Is it possible some awesome person can help with a script that installs this from the setup executable?<-- lol  :cool:

Mine is over 200mb and is made the hardcoded way which works ok on this version of Win10PESE but possibly not in future builds.

** The %ProgramEXE% path needs to be changed to Bin\ClamWin.exe for the plugin to work in portable mode (instructions to get the rest of this program into this mode are on the site)


The refresh button has disappeared on my builder? Anyone seen this before?

Win10PE SE HomePage / Plugin Syntax - %ProgramFolder%
« on: September 24, 2017, 07:07:08 PM »
Is there any way to set this to the root of the drive? 

Code: [Select]
%ProgramTitle%=Malwarebytes Toolset
%ProgramFolder%=Malwarebytes Toolset_Prg
%SetupFilex86%=Malwarebytes Toolset.7z
%SetupFilex64%=Malwarebytes Toolset.7z

I tried the following but error occurred during build

Code: [Select]
%ProgramTitle%=Malwarebytes Toolset
%SetupFilex86%=Malwarebytes Toolset.7z
%SetupFilex64%=Malwarebytes Toolset.7z

Win10PE SE HomePage / TIPS not displaying on boot
« on: September 20, 2017, 10:35:28 AM »
TIPS messages are not displaying during bootup.  Just says "System configuration, Please wait..."  in top left corner, but no TIPS in bottom right corner telling me, switching to admin, joining workgroup, etc..  Then login screen appears but tips never show.

I know this is PECMD command.  I don't know why I can't get them to display, I have not made any changes to the messages.  Has anyone else had this issue? I'm sure its something stupid I'm missing.

****UPDATE - Problem Solved.

Switchtoadmin.ini were corrupt, garbage data mixed into ini file.  I can't believe the system booted with issues that bad but if anyone else has issues With this the correct syntax for TIPS is below.

TIPS <title>,<content message>,<delaytimer>,<iconstyleid - usually 1>, #1

ex: TIPS  NETWORK, Starting Services...,,1,#1

Win10PE SE HomePage / Network Icon in System Tray (Not the PENetwork Icon)
« on: September 17, 2017, 07:46:17 AM »
**** The icon has been solved by ChrisR below, but looking into the available network flyout currently before this topic is marked solved.

Why is this disabled by default? It looks like you are hiding the wireless tray icon on purpose in the "Network" script.

I already autostart PENetwork and start it to tray with no GUI - this is good for wired network connection and I maximize from tray for wireless.  Seamless enough.  But thinking it would look much cleaner if built in wired/wireless icon was in systray instead.  I would love to work on this but cannot find anything anyone else has done besides ChrisR as he made the notes about hiding the icon in the "Network" script

How do I unhide and re-add the wireless icon back to the systray?  There is a section in "Network" that says it hides the wireless icon for Win10 (line 1227 in "Network" script source) but when I // that line the network icon still does not appear in the tray. Is there something else that you already know of that I need to do to show it? Maybe something I need to add to "Pintool"?

The reason I'm asking is, if I CTRL-ALT-DEL (Win 8 Style Task Manager - With Network.script and PE Network script installed)I can get to a network icon and select a wireless network, and enter credentials or use wps to authenticate.  It works good.  Its not perfect but with PE network installed and not running in tray all these features seem to come to life and the only thing missing is the network tray icon...

Win10PE SE HomePage / Admin Account Registry Changes
« on: September 15, 2017, 12:41:53 PM »
I pulled registry keys from keys from HKCU from inside the running PE that I need to be permanent, then rebooted my PC booted normally without PE and loaded the builder, I used the .reg file I made from the keys inside PE and ran RegCPE to convert my HKCU keys, -> which it converted into the below RegCPE created keys.

The problem I'm having is when creating a plugin to import the below RegCPE created keys during the build process, they DO get imported to the users\.default user key, but they DO NOT get carried over to the HKCU (x:\users\Administrator\ntuser.dat) when the administrator account is created on boot.  From my digging it looks like the Administrator gets its ntuser.dat from system32\config\default (Which is the same as the Users\.Default registry key isn't it?) Then shouldn't any keys in .Default be copied into the Administrator ntuser.dat when it is created during LoginAsAdmin?

[RegCPE Created Keys -- Put under [Process] section in Plugin Script]  -- These Keys are supposed to create a right click context menu item while right clicking on, or in, a folder. It runs TreeSize
RegHiveLoad,Tmp_Default,%RegDefault%    //  <-------Should I be changing %RegDefault% to something else?????
RegWrite,HKLM,0x1,Tmp_Default\Software\Classes\Directory\Background\shell\Treesize,Icon,"Y:\Programs\TreeSize Pro_Prg\TreeSize.exe,0"
RegWrite,HKLM,0x1,Tmp_Default\Software\Classes\Directory\Background\shell\Treesize\command,,"#$qY:\Programs\TreeSize Pro_Prg\TreeSize.exe#$q #$q#$pV#$q"
RegWrite,HKLM,0x1,Tmp_Default\Software\Classes\Folder\shell\Treesize,Icon,"Y:\Programs\TreeSize Pro_Prg\TreeSize.exe,0"
RegWrite,HKLM,0x1,Tmp_Default\Software\Classes\Folder\shell\Treesize\command,,"#$qY:\Programs\TreeSize Pro_Prg\TreeSize.exe#$q #$q#$p1#$q"

[Regular Registry Keys Before Conversion]
Windows Registry Editor Version 5.00




"Icon"="Y:\\Programs\\TreeSize Pro_Prg\\TreeSize.exe,0"

@="\"Y:\\Programs\\TreeSize Pro_Prg\\TreeSize.exe\" \"%V\""



"Icon"="Y:\\Programs\\TreeSize Pro_Prg\\TreeSize.exe,0"

@="\"Y:\\Programs\\TreeSize Pro_Prg\\TreeSize.exe\" \"%1\""


I can always add the reg keys during boot with a batch file but was hoping I was just overlooking something and theres an easy way to include this in the build.  As a bonus fixing this issue I'm sure would correct another thread I started about admin login screen color, those keys are located in HKCU too, So figuring this out would probably make it easy to fix the ComponentsY\TweaksExplorer\Appearance BackgroundColor.script as well.

Copied builder folder I was using for 1607  and renamed new copy to 1703 - Cleared cache - attached a new 1703 source.  then ran BL Exact and Secure update - Everything seems to work perfectly but its like PECMD doesn't execute certain lines for some reason.  Happens during LoginAsAdmin - My issue is: shortcuts.exe -f x:\xxxx\xxxx\win10pe.cfg never loads even though it is included in the switchtoadminlogon.ini -and- start10_64.exe never starts, I have to start it manually by running it after pe loads.  Also another baker Ive talked to is having a similar issue with the entire shell not loading, the startup sound will play for him but no desktop...if he doesn't use LoginAsAdmin system loads fine..  It seems as if there is an issue with PECMD working correctly during LoginAsAdmin process but its buggy so it's hard to pinpoint.  Different symptoms on different builders but all coming from the same script on 1703

When using the Login As Admin script, where is the registry key that changes the color of the 'Login Screen'? I have looked everywhere its driving me nuts I'm trying to get rid of that default blue and make it a more neutral grey be a bit more universal.  I'm pretty sure the Login as Admin script uses the default users ntuser.dat and copies that into its own profile but have been unable to make the change happen so far..

**Note, I can get the blue flashing screens before load to change to grey with HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon + Key "Background" value "63 63 63"

At a loss on this one been looking for a couple days with no luck and it's not super important so I thought I'd give it a shot on here.

Win10PE SE HomePage / Start menu and taskbar bugs on Win10PESE
« on: August 04, 2017, 03:38:56 PM »
Start menu is cutoff at the bottom on the first click, after that it is corrected.  Also taskbar has an empty space on the right, after a window has been made full screen that gets corrected.

Are Symlinks or redirect of program data/appdata folders from wim to external during boot possible? redirect of config folder and ntuser.dat possible?  I am not attempting to build frankenstein but I am trying to understand the limits I can push...

Pages: [1]
Powered by EzPortal